2644 Commits

Author SHA1 Message Date
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
Roman Kennke
6a746de90e 8228364: Shenandoah: Remove unused code from ShenandoahBarrierSetC1
Reviewed-by: shade
2019-07-18 13:16:10 +02:00
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00
Thomas Schatzl
1ddf09fb12 8227090: G1 does not account the OptMergeRS in cost per card calculation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
b4d014896a 8227089: Add timing information for merging humongous remembered sets
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
ffe79a37c3 8227084: Add timing information for merge heap root preparation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
5a0525a560 8227671: G1: assert_used_and_recalculate_used_equal performs work in product builds
Reviewed-by: kbarrett, sangheki
2019-07-17 16:33:19 +02:00
Thomas Schatzl
bb7bf64fd7 8226232: Move merge heap roots code out from G1RemSetScanState
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Yasumasa Suenaga
20053ae242 8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit code is 134"
Reviewed-by: sspitsyn, cjplummer
2019-07-17 23:22:48 +09:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Roman Kennke
ec7f1c13d9 8227677: Shenandoah: C2: Make in-native LRB special case of normal LRB
Reviewed-by: roland
2019-07-17 11:43:38 +02: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
Calvin Cheung
530176f933 8227496: Update NUM_CDS_REGIONS and CURRENT_CDS_ARCHIVE_VERSION in cds.h
Reviewed-by: jiangli
2019-07-15 09:53:23 -07:00
Yasumasa Suenaga
2870c9d55e 8225690: Multiple AttachListener threads can be created
Reviewed-by: sspitsyn, cjplummer
2019-07-16 07:29:12 +09:00
Zhengyu Gu
5b05ea5a02 8225483: Shenandoah: Enhance native access barrier
Reviewed-by: rkennke
2019-07-15 11:23:05 -04:00
Roman Kennke
159a99ee41 8227676: Shenandoah: More consistent naming of LRB entry points
Reviewed-by: shade
2019-07-15 15:27:06 +02:00
Roman Kennke
02a90281ec 8227637: Adjust Shenandoah C2 verifier to recognize IN_NATIVE barriers
Reviewed-by: roland
2019-07-15 12:31:35 +02:00
Jamsheed Mohammed C M
da3672a299 8227068: [Graal] MappedByteBuffer bulk access memory failures are not handled gracefully
Unsafe.copyMemory access failures are handled gracefully.

Reviewed-by: dnsimon, kvn
2019-07-12 11:51:07 -07:00
Claes Redestad
987fad27b7 8227527: LogDecorations should lazily resolve host name
Reviewed-by: gziemski, lfoltan, stuefe
2019-07-11 15:38:09 +02: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
Roman Kennke
5cb091693d 8226695: Shenandoah: Wire C1 and C2 IN_NATIVE barrier
Reviewed-by: roland
2019-07-04 17:31:03 +02:00
Thomas Stuefe
ac0e72332e 8227275: Within native OOM error handling, assertions may hang the process
Reviewed-by: mdoerr, coleenp
2019-07-11 06:56:51 +02:00
Thomas Stuefe
4b5b4f479c 8227031: Print NMT statistics on fatal errors
Reviewed-by: mbaesken, mdoerr
2019-07-11 06:49:49 +02:00
Calvin Cheung
a6b4e5c3d1 8226406: JVM fails to detect mismatched or corrupt CDS archive
Check important archive header fields such as _jvm_ident before processing other fields.

Reviewed-by: iklam, jiangli
2019-07-12 08:40:37 -07:00