418 Commits

Author SHA1 Message Date
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
Erik Österlund
855f16ef50 8229278: Improve hs_err location printing to assume less about GC internals
Reviewed-by: stefank, kbarrett
2019-08-28 11:19:09 +02:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Coleen Phillimore
05322fdd98 8230116: Test workaround to Klass::_class_loader_data sometimes NULL problem
This is a low frequency problem that we are seeing internally, this patch is mostly to rule out one theory.

Reviewed-by: dcubed
2019-08-23 23:27:19 +00:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Harold Seigel
9ccb4dc212 8229930: internal_name() in annotations.hpp returns "{constant pool}"
Fix typo and change text to "{annotations}"

Reviewed-by: mdoerr, dcubed
2019-08-21 11:29:40 -04:00
Stefan Karlsson
ebf98ac78c 8229839: Break circular dependency between oop.inline.hpp and markWord.inline.hpp
Reviewed-by: pliden, tonyp
2019-08-19 12:40:27 +02:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Coleen Phillimore
d1ca6221a4 5103339: Strengthen NoSafepointVerifier
Add NSV check at possible safepoint transition or places that could take out locks.  Consolidate with clearing unhandled oops.

Reviewed-by: dholmes, rehn
2019-08-14 10:07:00 -04:00
Martin Doerr
50baeb8180 8229236: CriticalJNINatives: dll handling should be done in native thread state
Temporarily switch thread state from _thread_in_vm to _thread_in_native to execute I/O.

Reviewed-by: dlong, dholmes
2019-08-12 10:02:25 +02:00
Coleen Phillimore
221da20713 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
Add case for JVM_CONSTANT_Dynamic in error_message function.

Reviewed-by: dholmes, shade
2019-07-24 10:22:11 -04:00
Vladimir Ivanov
242bd67c6c 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr, dpochepk
2019-07-19 16:25:04 +03:00
Boris Ulasevich
587ce2f4c1 8227632: Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4
Fixing the message to print actual comp_level

Reviewed-by: dlong, kvn
2019-07-16 18:05:42 +03:00
Harold Seigel
5e24afc868 8226798: JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
When calculating vtable size at class load time, do not look for miranda method if matching package private method is found in a super class.

Reviewed-by: acorn, lfoltan
2019-07-11 09:26:04 -04:00
Coleen Phillimore
04b98fd1df 8222446: assert(C->env()->system_dictionary_modification_counter_changed()) failed: Must invalidate if TypeFuncs differ
Remove SystemDictionary::modification_counter optimization

Reviewed-by: dlong, eosterlund
2019-07-10 07:58:24 -04:00
Mikael Vidstedt
ff3eeb4773 Merge 2019-07-09 16:37:30 -07:00
Erik Österlund
f111dd0cbb 8224531: SEGV while collecting Klass statistics
Reviewed-by: coleenp, kbarrett, tschatzl
2019-07-09 16:39:41 +02:00
Vladimir Ivanov
eb2818421a 8226409: Enable argument profiling for sun.misc.Unsafe.put*/get*
Reviewed-by: kvn
2019-07-05 12:55:54 +03:00
Daniel D. Daugherty
b0933034e0 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Daniel D. Daugherty
d6be015b16 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Vladimir Ivanov
829c81bbf9 8225141: Better handling of classes in error state in fast class initialization checks
Reviewed-by: dlong, dholmes
2019-06-06 13:46:03 +03:00
Jie Fu
d738e209f3 8224162: assert(profile.count() == 0) failed: sanity in InlineTree::is_not_reached
Reviewed-by: vlivanov, kvn
2019-06-06 13:45:59 +03:00
Vladimir Kozlov
7356905a83 8225019: Update JVMCI
Reviewed-by: never, dlong
2019-06-04 12:44:53 -07:00
Vladimir Ivanov
e72bfe15ad 8223213: Implement fast class initialization checks on x86-64
Reviewed-by: kvn, redestad, dholmes, mdoerr, coleenp
2019-05-30 13:39:13 +03:00
Robbin Ehn
9baafa55a6 8221734: Deoptimize with handshakes
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02:00
Stefan Karlsson
c9846fce19 8224201: Simplify JVM flag macro expansions
Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
2019-05-22 13:05:37 +02:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00