2617 Commits

Author SHA1 Message Date
Coleen Phillimore
7c0a5865fb 8228753: Deprecate -XX:FieldsAllocationStyle product option
8228749: Deprecate product flag -XX:CompactFields

Reviewed-by: kvn, shade
2019-08-06 07:43:18 -04:00
Aleksey Shipilev
705b9c9496 8229176: Shenandoah should acquire CodeCache_lock without safepoint check
Reviewed-by: rkennke
2019-08-06 11:57:42 +02:00
Mikael Vidstedt
2e6e33eba1 Merge 2019-08-05 16:27:30 -07:00
Man Cao
1b1f8d48db 8225776: Optimize branch frequency of G1's write post-barrier in C2
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: tschatzl, dlong
2019-08-05 13:18:31 -07:00
Coleen Phillimore
8426db3d74 8229000: Fix lock and reenable assert in Monitor::check_safepoint_state
Reviewed-by: dholmes, kbarrett
2019-08-05 11:16:48 -04:00
Jie Fu
e33ff344e8 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
Reviewed-by: tschatzl, kbarrett
2019-08-03 09:04:04 +08:00
Christian Hagedorn
a3c85f810c 6394013: C2: Remove VerifyOpto
Removed the VerifyOpto flag.

Reviewed-by: kvn, thartmann
2019-08-05 08:03:25 +02:00
Roman Kennke
afdd397471 8229002: Shenandoah: Missing node types in ShenandoahLoadReferenceBarrier::needs_barrier_impl()
Reviewed-by: shade
2019-08-02 11:21:41 +02:00
Mikael Vidstedt
ce4c42b376 Merge 2019-08-01 09:23:21 -07:00
Matthias Baesken
2ddc670661 8228764: New library dependencies due to JDK-8222720
Reviewed-by: goetz, dholmes
2019-08-01 09:37:24 +02:00
Kim Barrett
6d65b4fd25 8048556: Unnecessary GCLocker-initiated young GCs
Fixed recognition of unnecessary GCLocker collections.

Reviewed-by: pliden, tschatzl
2019-07-31 14:28:51 -04:00
Coleen Phillimore
caf7ee9bb5 8228855: Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails after JDK-8227123
Give SurvivorAlignmentInBytes a range same as ObjectAlignmentInBytes

Reviewed-by: shade
2019-07-31 13:40:59 -04:00
Coleen Phillimore
ab9aab646b 8228630: Remove always true parameter to NoSafepointVerifier
Also remove NoGCVerifier since NoSafepointVerifier covers GC checking when not already at a safepoint and is a stronger check.

Reviewed-by: kbarrett, dholmes
2019-07-31 06:54:50 -04:00
Coleen Phillimore
9ad5641ce5 8228673: Remove develop flag StrictSafepointChecks
Reviewed-by: shade, dholmes
2019-07-31 06:37:13 -04:00
Roman Kennke
8996d4782d 8228775: Shenandoah: Remove useless null-input-verification in Shenandoah/C2 verifier
Reviewed-by: shade
2019-07-31 10:03:44 +02:00
Christian Hagedorn
ade0b9d914 8193042: NativeLookup::lookup_critical_entry() should only load shared library once
Avoids repeated loads/unloads of the same shared library.

Reviewed-by: dholmes, dlong, thartmann
2019-07-31 08:05:14 +02:00
Coleen Phillimore
1186d8203b 8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
Increase max size for SymbolTable and fix experimental option range.  Fix option range test to include experimental options.

Reviewed-by: jiangli, dholmes, hseigel, gziemski
2019-07-30 09:56:18 -04:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Martin Doerr
70fb85adc5 8227680: FastJNIAccessors: Check for JVMTI field access event requests at runtime
Check JvmtiExport::_field_access_count != 0 at runtime

Reviewed-by: dholmes, eosterlund, bulasevich
2019-07-29 18:22:55 +02:00
Harold Seigel
3d6ba9735f 8228596: Class redefinition fails when condy instructions are removed
Make sure has_dynamic_constant flag value gets copied to merged constant pool, when it is set to TRUE

Reviewed-by: coleenp, dcubed, sspitsyn
2019-07-29 09:57:37 -04:00
Erik Österlund
a42636d34b 8227407: ZGC: C2 loads and load barriers can get separated by safepoints
Reviewed-by: neliasso, smonteith, roland
2019-07-29 13:57:54 +02:00
Christian Hagedorn
3135a96dc0 8156207: Resource allocated BitMaps are often cleared unnecessarily
Removed unnecessary clearing of BitMap.

Reviewed-by: kbarrett, kvn, thartmann
2019-07-29 09:40:02 +02:00
Christian Hagedorn
b2a9f90a94 8223769: Assert triggers with -XX:+StressReflectiveCode
Fixed too strong assert.

Reviewed-by: kvn, thartmann
2019-07-29 09:34:07 +02:00
David Holmes
3e45ca1ad7 8221205: Obsolete AllowJNIEnvProxy
Reviewed-by: hseigel, dcubed
2019-07-28 23:14:07 -04:00
Kim Barrett
80ebfe9bba 8226796: Reduce debug level logging for oopstorage+blocks
Adjust logging levels based on expected volume of output.

Reviewed-by: tschatzl, pliden
2019-07-26 23:37:51 -04:00
Kim Barrett
b729cda18e 8228631: Fix inconsistent OopStorage::Block owner usage
Only use Block's owner member for address validation.

Reviewed-by: tschatzl, pliden
2019-07-26 20:15:13 -04:00
Calvin Cheung
fc7aa2306c 8228407: JVM crashes with shared archive file mismatch
Stop processing other header fields if initial header check has failed.

Reviewed-by: dholmes, jiangli
2019-07-25 10:25:52 -07:00
Markus Grönlund
946d2b3197 8228834: Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
Reviewed-by: egahlin
2019-08-02 10:43:30 +02:00
Vladimir Ivanov
32eb2e45b6 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr
2019-07-24 10:50:40 +03:00
Zhengyu Gu
6a94be7047 8228490: Shenandoah: Shenandoah concurrent root evacuation may race against OopStorage::release()
Reviewed-by: rkennke
2019-07-22 16:32:58 -04:00
Christian Hagedorn
ce70e6c481 8071275: remove AbstractAssembler::update_delayed_values dead code
Removed dead code.

Reviewed-by: thartmann, mdoerr
2019-07-25 08:04:33 +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
Zhengyu Gu
f2e1bfa38a 8227927: Move ParallelCleaningTask back to G1
Reviewed-by: tschatzl, kbarrett
2019-07-24 08:34:06 -04:00
Thomas Schatzl
5e48c76e81 8228388: Add information about dirty/skipped card for Merge HCC in G1 log
Collect and print informatio about the number of processed cards during the Merge HCC phase to improve log output.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Thomas Schatzl
b3c21d9a9b 8227719: G1 Pending cards estimation too conservative in cost prediction
Instead of using a coarse prediction for the log buffers, accumulate the actual number directly.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Thomas Schatzl
550408d240 8226913: Scale cards per chunk used during heap root scanning with region size
Scale cards per chunk based on heap size to decrease constant overhead with heap root scanning data structure initialization

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Mandy Chung
203db2596f 8219774: Reexamine the initialization of LangReflectAccess shared secret at AccessibleObject::<clinit>
Reviewed-by: alanb
2019-07-23 20:03:03 -07:00
Coleen Phillimore
d9c3c6f9bf 8228484: Remove NoAllocVerifier because nothing uses it
Reviewed-by: hseigel, kbarrett
2019-07-23 13:56:41 -04:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
David Holmes
3e9d9e5e2e 8225782: Remove expired flags in JDK 14
Reviewed-by: hseigel
2019-07-23 00:29:31 -04:00
Zhengyu Gu
3f470a2466 8227866: Shenandoah: Split weak root processing and class unloading in parallel cleaning task
Reviewed-by: rkennke
2019-07-13 12:15:17 -04:00
Kim Barrett
4b3c528140 8162929: Enqueuing dirty cards into a single DCQS during GC does not scale
Refactor into G1RedirtyCardsQueue[Set] and G1DirtyCardQueueSet

Reviewed-by: tschatzl, sangheki
2019-07-19 16:47: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
Kim Barrett
4d471e7845 8228340: JVMCI deleteGlobalHandle doesn't delete the handle
Add missing call to OopStorage::release() when deleting global handles in JVMCI to prevent handles leak.

Reviewed-by: kvn, dlong
2019-07-18 09:15:26 -07:00
Matthias Baesken
9fb552745f 8228420: compile error in shenandoahSupport.cpp with clang 9
Reviewed-by: shade
2019-07-19 12:35:33 +02:00
Martin Doerr
d2611c4e2c 8227692: Remove develop feature PrintMallocStatistics
Reviewed-by: coleenp, dcubed
2019-07-19 10:18:48 +02:00
Matthias Baesken
39b7b5bbf9 8227633: avoid comparing this pointers to NULL
Reviewed-by: coleenp, mdoerr
2019-07-16 14:42:36 +02:00
Kim Barrett
e396e38bb3 8227653: Add VM Global OopStorage
Replaced conditional JVMCI global storage with VM global storage.

Reviewed-by: tschatzl, lfoltan, kvn
2019-07-18 14:57:32 -04:00
Zhengyu Gu
1a115f9763 8227755: Need more than 2 distinct CodeCache unloading cycles
Reviewed-by: eosterlund, rkennke
2019-07-17 08:33:38 -04:00
Yasumasa Suenaga
fc0b8141d3 8227815: Minimal VM: set_state is not a member of AttachListener
Reviewed-by: cjplummer
2019-07-18 21:25:41 +09:00