Christian Hagedorn
49048adcf2
8231501: VM crash in MethodData::clean_extra_data(CleanExtraDataClosure*): fatal error: unexpected tag 99
...
Snapshot MDO extra trap and argument data only after it is prepared.
Reviewed-by: roland, thartmann
2019-12-16 09:19:52 +01:00
Ioi Lam
cb75b6ee22
8235629: Remove unnecessary calls to Thread::current
...
Reviewed-by: coleenp, ccheung, hseigel
2019-12-11 15:25:38 -08:00
Vladimir Ivanov
eabb5cc21f
8226411: C2: Avoid memory barriers around off-heap unsafe accesses
...
Reviewed-by: kvn, thartmann, eosterlund, jrose, rkennke
2019-12-09 19:29:35 +03:00
Claes Redestad
3cccc62e56
8234735: InstanceKlass:find_method_index regression after JDK-8231610
...
Reviewed-by: iklam, coleenp
2019-12-09 16:46:29 +01:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Kim Barrett
577e87e5b2
8234779: Provide idiom for declaring classes noncopyable
...
Add NONCOPYABLE macro and uses.
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Coleen Phillimore
b1d915ef80
8173361: various crashes in JvmtiExport::post_compiled_method_load
...
Don't post information that uses metadata from unloaded nmethods
Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-02 08:40:52 -05:00
Stefan Karlsson
53263049c9
8234897: 8234748: Clean up atomic and orderAccess includes - part 2
...
Reviewed-by: tschatzl, dholmes
2019-11-27 11:31:46 +01:00
Stefan Karlsson
161333eeba
8234748: Clean up atomic and orderAccess includes
...
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Stefan Karlsson
0ad50c2b5c
8234740: Harmonize parameter order in Atomic - cmpxchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
3d426623bf
8234739: Harmonize parameter order in Atomic - xchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
d45ec50076
8234737: Harmonize parameter order in Atomic - add
...
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
8db2c1158e
8234736: Harmonize parameter order in Atomic - store
...
Reviewed-by: rehn, dholmes
2019-11-25 12:30:24 +01:00
Stefan Karlsson
e527ce4b57
8234562: Move OrderAccess::release_store*/load_acquire to Atomic
...
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Ioi Lam
5678f98a9e
8231610: Relocate the CDS archive if it cannot be mapped to the requested address
...
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Coleen Phillimore
ed21b56269
8233913: Remove implicit conversion from Method* to methodHandle
...
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.
Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Leo Korinth
1fc67ab002
8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
...
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Coleen Phillimore
b4d28f36fc
8232735: Convert PrintJNIResolving to Unified Logging
...
Converted the existing output at debug level because it is noisy
Reviewed-by: iklam, dholmes
2019-11-11 12:11:34 -05:00
David Holmes
1d50b2761c
8229516: Thread.isInterrupted() always returns false after thread termination
...
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Calvin Cheung
9c7e4bcf59
8233363: Clarify the DumpSharedSpaces condition in InstanceKlass::verify_on
...
Change DumpSharedSpaces to Arguments::is_dumping_archive().
Reviewed-by: iklam, coleenp
2019-11-01 11:31:37 -07:00
Coleen Phillimore
2c77ae1ca5
8233266: Remove unnecessary fence in restore_unshareable_info
...
Reviewed-by: jiangli, dholmes
2019-10-30 22:32:00 -04:00
Claes Redestad
061b0a6637
8233159: Method::result_type should use calculated value in constMethod
...
Reviewed-by: lfoltan, iklam, coleenp
2019-10-30 16:14:56 +01:00
Coleen Phillimore
9308d18580
8232788: Move biased locking initalization
...
Reviewed-by: pchilanomate, dholmes
2019-10-24 08:52:33 -04:00
Christoph Goettschkes
31ab60e211
8231953: Wrong assumption in assertion in oop::register_oop
...
On ARM32 thumb mode, the pc of the current frame is always zero
Reviewed-by: coleenp, dcubed
2019-10-24 08:49:21 -04:00
Claes Redestad
574263a884
8232613: Move Object.registerNatives into HotSpot
...
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Magnus Ihse Bursie
41bd7c5e76
8223400: Replace some enums with static const members in hotspot/runtime
...
Reviewed-by: iklam, coleenp
2019-10-22 08:57:41 +02:00
Lois Foltan
fce4320369
8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
...
Increase the use of type signature constants instead of hard coded characters within the JVM.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain
2019-10-21 13:13:16 -04:00
Coleen Phillimore
86fdbc0f85
8232112: MDO extra_data_lock leaks during class unloading
...
Call the MDO destructor during class unloading.
Reviewed-by: dholmes, eosterlund
2019-10-17 07:35:22 -04:00
Kim Barrett
b8c7a95859
8232147: Remove notproduct option IgnoreLockingAssertions
...
Removed option.
Reviewed-by: coleenp, dholmes
2019-10-12 00:22:53 -04:00
Xin Liu
1ad5c5bfb7
8165056: move JIT Compiler related files from runtime/ to compiler/ directory
...
Reviewed-by: kvn, coleenp, dholmes
2019-10-09 12:43:32 -07:00
Claes Redestad
88d28a2bf9
8232050: Improve inlining of Klass accessors
...
Reviewed-by: lfoltan, tschatzl, coleenp, dholmes, jiangli
2019-10-10 13:26:22 +02:00
Claes Redestad
8edf64d236
8232006: Remove dead code from klassVtable
...
Reviewed-by: coleenp, jiangli, lfoltan
2019-10-08 20:47:46 +02:00
Calvin Cheung
b08a8c5cc3
8231606: _method_ordering is not set during CDS dynamic dump time
...
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.
Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Coleen Phillimore
98f454c9ca
8184732: Deadlock detection improvements for 'special' locks
...
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier.
Reviewed-by: dholmes, eosterlund
2019-09-30 13:10:11 -04:00
Coleen Phillimore
59dcb50e96
8231472: Clean up Monitor::_safepoint_check usage to Mutex::_safepoint_check
...
Change Monitor:: to Mutex:: when allocating a Mutex, and in mutexLocker.
Reviewed-by: rehn, dholmes
2019-09-27 07:56:02 -04:00
Coleen Phillimore
e49e9292d3
8213150: Add verification for locking by VMThread
...
Extend verification for all locking not just VMOperations, and fix CLDG lock to not be taken by VM thread.
Reviewed-by: rehn, dholmes
2019-09-24 10:12:56 -04:00
Lois Foltan
0c507f3180
8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
...
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Ioi Lam
9c92ecba04
8231125: Improve testing of parallel loading of shared classes by the boot class loader
...
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Per Lidén
b053f09769
8231113: Remove CollectedHeap::check_oop_location()
...
Reviewed-by: stefank, eosterlund, tschatzl
2019-09-19 16:05:47 +02:00
Robbin Ehn
35a9f6864a
8226705: [REDO] Deoptimize with handshakes
...
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00
Per Lidén
89b0250e4a
8231051: Remove check_obj_alignment() and replace with is_object_aligned()
...
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
2d6874b861
8230841: Remove oopDesc::equals()
...
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Per Lidén
cb50d3b4f3
8230808: Remove Access::equals()
...
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
0848c76a66
8230796: Remove BarrierSet::oop_equals_operator_allowed()
...
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Leo Korinth
4b6f9ed07f
8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
...
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Evgeny Mandrikov
51b0eab330
8207800: always_do_update_barrier is unused
...
Reviewed-by: shade, tschatzl
2019-09-10 07:42:04 +02:00
Zhengyu Gu
ecf83c94b8
8230730: UseCompressedOops test crash with assertion failure
...
Reviewed-by: stefank, eosterlund
2019-09-07 10:04:07 -04:00
Erik Österlund
f869706f5f
8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
...
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Stefan Karlsson
3149ed4993
8230203: Replace markWord enums with typed constants
...
Reviewed-by: kbarrett, dholmes
2019-08-30 09:06:46 +02:00
Daniel D. Daugherty
9b992ead1e
8230184: rename, whitespace, indent and comments changes in preparation for lock free Monitor lists
...
Reviewed-by: kbarrett, dholmes
2019-08-28 10:56:50 -04:00