Claes Redestad
58a5910393
8239347: Refactor Symbol to make _length a standalone field again
...
Reviewed-by: iklam, coleenp
2020-02-20 13:18:30 +01:00
Stefan Karlsson
e4b27a48a0
8183574: Unify the is_power_of_2 functions
...
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01:00
Nils Eliasson
18c01206d0
8203883: Remove State from InvocationCounters
...
Reviewed-by: redestad, thartmann
2020-02-12 20:53:48 +01:00
Harold Seigel
d298a05d02
8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
...
Replace the assert with a logging message saying that the class is not a subclass of java.lang.Throwable
Reviewed-by: dholmes, coleenp
2020-02-13 15:43:59 +00:00
Kim Barrett
25c5a23695
8238272: Eliminate cast_from_oop to narrowOop*
...
Improved low address computation in ObjArrayKlass::oop_oop_iterate_range.
Reviewed-by: tschatzl, sjohanss
2020-02-12 15:38:48 -05:00
Frederic Parain
9886cb401c
8237767: Field layout computation overhaul
...
Reviewed-by: dholmes, coleenp, lfoltan, shade
2020-02-10 09:49:12 -05:00
Lois Foltan
d19a396e96
8230199: consolidate signature parsing code in HotSpot sources
...
Add a new Signature class to support basic signature queries and enhance SignatureStream class to parse field signatures in addition to methods.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain, hseigel
2020-02-06 14:29:57 +00:00
David Leopoldseder
135f209852
8238190: [JVMCI] Fix single implementor speculation for diamond shapes
...
Reviewed-by: kvn
2020-02-04 09:33:09 +01:00
Stefan Karlsson
46423b0f70
8237637: Remove dubious type conversions from oop
...
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Jesper Wilhelmsson
b936939454
Merge
2020-01-20 18:05:07 +01:00
Sangheon Kim
c26aa638a1
8234173: assert(loader != __null && oopDesc::is_oop(loader)) failed: loader must be oop
...
Reviewed-by: kbarrett, egahlin, tschatzl
2020-01-16 13:19:55 -08:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Jesper Wilhelmsson
51d5164ca2
Merge
2020-01-16 04:09:50 +01:00
Coleen Phillimore
016b0f0caa
8232759: Remove GC.class_stats
...
Make the GC.class_stats option obsolete
Reviewed-by: dholmes, iklam
2020-01-09 17:38:41 -05:00
Lois Foltan
40429eea41
8225261: Better method resolutions
...
Correct the class used to perform the overriding check in klassVtable::find_transitive_override
Reviewed-by: ahgross, dholmes, hseigel, jwilhelm, rhalade
2019-09-12 11:46:05 -04:00
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