Commit Graph

356 Commits

Author SHA1 Message Date
Kim Barrett
66943fefa7 8256517: (ref) Reference.clear during reference processing may lose notification
8240696: (ref) Reference.clear may extend the lifetime of the referent

Use private native helper to implement Reference.clear.

Reviewed-by: pliden, rkennke, mchung
2020-11-25 03:34:50 +00:00
Per Liden
372595cca3 8256390: ZGC: Relocate in-place instead of having a heap reserve
Reviewed-by: stefank, eosterlund
2020-11-23 23:30:38 +00:00
Aleksey Shipilev
d9ae0db699 8256746: gc/CriticalNativeArgs.java fails without -XX:-CriticalJNINatives
Reviewed-by: kbarrett, coleenp, rkennke
2020-11-23 19:12:13 +00:00
Aleksey Shipilev
86f36027e4 8256806: Shenandoah: optimize shenandoah/jni/TestPinnedGarbage.java test
Reviewed-by: rkennke
2020-11-20 21:45:13 +00:00
Stefan Johansson
b8244b606e 8236926: Concurrently uncommit memory in G1
Reviewed-by: ayang, tschatzl
2020-11-19 17:55:33 +00:00
Roland Westrelin
655bb619a3 8255936: "parsing found no loops but there are some" assertion failure with Shenandoah
Reviewed-by: thartmann, rkennke
2020-11-18 09:24:17 +00:00
Thomas Schatzl
bd8693a084 8256181: Remove Allocation of old generation on alternate memory devices functionality
Reviewed-by: ayang, iignatyev, iklam
2020-11-12 14:05:50 +00:00
Kim Barrett
6023f6b1bf 8188055: (ref) Add Reference::refersTo predicate
Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
2020-11-04 09:18:23 +00:00
Roman Kennke
f64a15d62e 8254315: Shenandoah: Concurrent weak reference processing
Reviewed-by: zgu, shade
2020-11-03 18:58:46 +00:00
Roland Westrelin
a3aad11918 8255400: Shenandoah: C2 failures after JDK-8255000
Reviewed-by: rkennke
2020-11-02 15:48:14 +00:00
Thomas Schatzl
38574d5169 8255298: Remove SurvivorAlignmentInBytes functionality
Reviewed-by: shade, ayang, kbarrett
2020-10-29 08:49:15 +00:00
Coleen Phillimore
56ea490f1e 8233343: Deprecate -XX:+CriticalJNINatives flag which implements JavaCritical native functions
Reviewed-by: rehn, mdoerr, zgu
2020-10-21 20:33:24 +00:00
Thomas Stuefe
7ba6a6bf00 8251158: Implementation of JEP 387: Elastic Metaspace
Reviewed-by: lkorinth, coleenp, iklam, rrich
2020-10-20 06:48:09 +00:00
Thomas Schatzl
cd66e0f25f 8253877: gc/g1/TestGCLogMessages.java fails - missing "Evacuation failure" message
Reviewed-by: sjohanss
2020-10-19 11:40:58 +00:00
Thomas Schatzl
07ec35e2e5 8254623: gc/g1/TestHumongousConcurrentStartUndo.java still fails sometimes
Reviewed-by: kbarrett, sjohanss
2020-10-16 15:21:37 +00:00
Roberto Castañeda Lozano
05459df0c7 8253765: C2: Control randomization in StressLCM and StressGCM
Use the compilation-local seed in 'StressLCM' and 'StressGCM' rather than the
global one. As a consequence, these options use by default a fresh seed in every
compilation, unless 'StressSeed=N' is specified, in which case they behave
deterministically. Annotate tests that use 'StressLCM' and 'StressGCM' with the
'stress' and 'randomness' keys to reflect this change in default behavior.

Reviewed-by: kvn, thartmann
2020-10-12 11:40:50 +00:00
Thomas Schatzl
894ec76c11 8254027: gc/g1/TestHumongousConcurrentStartUndo.java failed with "'Concurrent Mark Cycle' missing from stdout/stderr"
Reviewed-by: sjohanss, kbarrett
2020-10-08 07:43:32 +00:00
Zhengyu Gu
51fdb4c039 8254075: Shenandoah: Remove ShenandoahCodeRootsStyle diagnostic flag and related test
Reviewed-by: shade
2020-10-06 15:28:44 +00:00
Thomas Schatzl
37b70282b5 8240556: Abort concurrent mark after effective eager reclamation of humongous objects
Reviewed-by: sjohanss, ayang
2020-09-25 07:11:55 +00:00
Alex Menkov
3320fc0f52 8253372: [TESTBUG] update tests which require jvmti - hotspot
Reviewed-by: sspitsyn, iklam
2020-09-23 21:11:31 +00:00
Daniel D. Daugherty
d8921ed573 8247281: migrate ObjectMonitor::_object to OopStorage
Co-authored-by: Erik Österlund <erik.osterlund@oracle.com>
Co-authored-by: Daniel Daugherty <daniel.daugherty@oracle.com>
Reviewed-by: eosterlund, coleenp, dholmes, stefank, kbarrett, rkennke, sspitsyn
2020-09-21 22:12:07 +00:00
Per Lidén
f972155d63 8252196: ZGC: TestUncommit.java fails due to "Exception: Uncommitted too fast" again(2)
Reviewed-by: stefank, eosterlund
2020-09-17 10:05:43 +00:00
Aleksey Shipilev
91a20ca7e5 8252695: Shenandoah: clean up Graal enabled/disabled filter in tests
Reviewed-by: zgu
2020-09-08 17:42:38 +00:00
Nick Gasson
4fb1980fd0 8252853: AArch64: gc/shenandoah/TestVerifyJCStress.java fails intermittently with C1
Reviewed-by: shade
2020-09-08 10:17:25 +00:00
Christoph Langer
cc5039e19e 8252837: Cleanup SAP Copyright file headers
Reviewed-by: dholmes
2020-09-07 07:30:10 +00:00
Aleksey Shipilev
c61204b3f3 8252660: Shenandoah: support manageable SoftMaxHeapSize option
Reviewed-by: zgu
2020-09-02 18:37:31 +02:00
Roland Westrelin
84d2c2678a 8252296: Shenandoah: crash in CallNode::extract_projections
Reviewed-by: chagedorn
2020-08-25 14:25:53 +02:00
Roland Westrelin
fcd005c417 8251527: CTW: C2 (Shenandoah) compilation fails with SEGV due to unhandled catchproj == NULL
Reviewed-by: chagedorn, kvn
2020-08-19 10:56:08 +02:00
Per Lidén
e8d284faac 8248266: ZGC: TestUncommit.java fails due to "Exception: Uncommitted too fast" again
Reviewed-by: shade, eosterlund
2020-08-18 16:37:09 +02:00
Patricio Chilano Mateo
12ae68b197 8251118: BiasedLocking::preserve_marks should not have a HandleMark
Removed HandleMark from BiasedLocking::preserve_marks() method

Reviewed-by: hseigel, coleenp, dcubed, tschatzl, dholmes
2020-08-13 15:42:41 +00:00
Nikola Grcevski
032a4d6b9f 8241007: Shenandoah: remove ShenandoahCriticalControlThreadPriority support
Reviewed-by: adityam, shade
2020-08-10 08:36:56 +02:00
Coleen Phillimore
0c9e0c2e7f 8244997: Convert the JavaThread::_threadObj oop to use OopStorage
Move the oop and handle releasing it in the service thread.  Remove Universe::oops_do from callers.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: dholmes, zgu, eosterlund, cjplummer
2020-08-07 07:53:26 -04:00
Mikael Vidstedt
e7289aa4d4 Merge 2020-07-27 22:26:00 -07:00
Roger Riggs
a0149f53f1 8249217: Unexpected StackOverflowError in "process reaper" thread still happens
Reviewed-by: martin, plevart, dholmes
2020-07-24 11:00:50 -04:00
Roman Kennke
a28f4100ce 8249787: Make TestGCLocker more resilient with concurrent GCs
Reviewed-by: eosterlund, tschatzl
2020-07-23 14:44:13 +02:00
Aleksey Shipilev
dc80e63811 8249953: Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
Reviewed-by: rkennke
2020-07-23 12:46:24 +02:00
Igor Ignatyev
ac38b399de 8249681: gc/stress/TestJNIBlockFullGC/TestJNIBlockFullGC.java fails w/ UnsatisfiedLinkError
Reviewed-by: tschatzl
2020-07-17 15:01:10 -07:00
Coleen Phillimore
99eccaf6ec 8247878: Move Management strong oops to OopStorage
Use OopStorage for strong oops stored with memory and thread sampling and dumping, and remove oops_do and GC calls.

Reviewed-by: dholmes, kbarrett
2020-07-20 07:50:27 -04:00
Mikael Vidstedt
ec074011a4 Merge 2020-07-19 21:34:28 -07:00
Coleen Phillimore
749be7e761 8247808: Move JVMTI strong oops to OopStorage
Remove JVMTI oops_do calls from JVMTI and GCs

Reviewed-by: sspitsyn, stefank, zgu, dholmes, iklam
2020-07-16 08:29:11 -04:00
Igor Ignatyev
04280a0d05 8249000: vm.gc.X should take selected JIT into account
Reviewed-by: kvn
2020-07-10 11:52:35 -07:00
Thomas Schatzl
6c89a9653e 8248306: gc/stress/gclocker/TestExcessGCLockerCollections.java does not compile
Update the test to use the method suggested in JDK-8244010.

Reviewed-by: kbarrett
2020-07-03 16:32:33 +02:00
Roland Westrelin
05dc2af21f 8247824: CTW: C2 (Shenandoah) compilation fails with SEGV in SBC2Support::pin_and_expand
Reviewed-by: rkennke, thartmann
2020-06-18 13:51:40 +02:00
Aleksey Shipilev
cfab7f4c68 8247778: ZGC: More parallel gc/z/TestUncommit.java test configuration
Reviewed-by: iignatyev, stefank
2020-06-18 11:23:19 +02:00
Per Lidén
9d0ba7ae7f 8246220: ZGC: Introduce ZUnmapper to asynchronous unmap pages
Reviewed-by: eosterlund, stefank
2020-06-09 11:01:09 +02:00
Per Lidén
d7e68f375c 8245208: ZGC: Don't hold the ZPageAllocator lock while committing/uncommitting memory
Reviewed-by: eosterlund, stefank
2020-06-09 11:01:09 +02:00
Igor Ignatyev
dc91b06661 8244614: cleanup keywords used/available in hotspot testbase
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Coleen Phillimore
498b0e61ed 8246340: Move SystemDictionary GC roots into OopStorage
Use vm_global() OopStorage for system dictionary roots

Reviewed-by: eosterlund, lfoltan
2020-06-05 09:55:31 -04:00
Aleksey Shipilev
f613d43f26 8249230: Shenandoah: assertion failure with -XX:-ResizeTLAB
Reviewed-by: rkennke
2020-07-13 11:55:26 +02:00
Mikael Vidstedt
09510a15a1 Merge 2020-07-10 23:12:29 -07:00
Thomas Schatzl
6b911624f2 8210462: Fix remaining mentions of initial mark
Reviewed-by: lkorinth, kbarrett
2020-07-09 16:22:23 +02:00
Thomas Schatzl
83fff05498 8248306: gc/stress/gclocker/TestExcessGCLockerCollections.java does not compile
Update the test to use the method suggested in JDK-8244010.

Reviewed-by: kbarrett
2020-07-03 16:32:33 +02:00
Jesper Wilhelmsson
7c3d72fd3a Merge 2020-06-30 20:09:03 +02:00
Thomas Schatzl
18cddad5a2 8247819: G1: Process strong OopStorage entries in parallel
Implement parallel processing of strong OopStorage entries for G1.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: kbarrett, stefank
2020-06-26 14:43:09 +02:00
Daniel D. Daugherty
ac37a29914 8248049: minor cleanups in gc/whitebox/TestWBGC.java
Reviewed-by: hseigel
2020-06-24 17:49:10 -04:00
Daniel D. Daugherty
3e4ad5d8d1 8246477: add whitebox support for deflating idle monitors
Reviewed-by: dholmes, eosterlund
2020-06-24 17:48:53 -04:00
Jesper Wilhelmsson
a16994ff7b Merge 2020-06-19 00:30:46 +02:00
Aleksey Shipilev
44d4e37ccb 8247757: Shenandoah: split heavy tests by heuristics to improve parallelism
Reviewed-by: rkennke
2020-06-17 17:22:09 +02:00
Aleksey Shipilev
00dc525e5f 8247754: Shenandoah: mxbeans tests can be shorter
Reviewed-by: rkennke
2020-06-17 17:21:56 +02:00
Aleksey Shipilev
d2c1027edc 8247751: Shenandoah: options tests should run with smaller heaps
Reviewed-by: zgu, rkennke
2020-06-17 17:21:47 +02:00
Per Lidén
116aee4950 8242527: ZGC: TestUncommit.java fails due to "Exception: Uncommitted too fast"
Reviewed-by: eosterlund
2020-05-31 23:15:05 +02:00
Aleksey Shipilev
b189d0b918 8245478: Implementation: JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector (Production)
Reviewed-by: rkennke, smonteith, zgu
2020-05-28 18:50:58 +02:00
Stefan Johansson
6e1403480a 8245724: Move g1 periodic gc logging to G1InitLogger
Reviewed-by: kbarrett, tschatzl
2020-05-27 11:48:33 +02:00
Thomas Stuefe
04e6b743db 8243392: Remodel CDS/Metaspace storage reservation
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Per Lidén
58a34f7c32 8244291: Test: gc/z/TestGarbageCollectorMXBean.java failed: "unexpected cycles"
Reviewed-by: eosterlund, tschatzl
2020-05-20 10:54:11 +02:00
Roland Westrelin
6d98502550 8244663: Shenandoah: C2 assertion fails in Matcher::collect_null_checks
Reviewed-by: shade
2020-05-15 21:54:28 +02:00
Roland Westrelin
35a7eff951 8244721: CTW: C2 (Shenandoah) compilation fails with "unexpected infinite loop graph shape"
Reviewed-by: shade
2020-05-15 10:24:38 +02:00
Erik Österlund
382e5dc334 8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00:00
Aleksey Shipilev
d5414d7929 8244740: Shenandoah: rename ShenandoahNormalMode to ShenandoahSATBMode
Reviewed-by: rkennke
2020-05-11 18:33:50 +02:00
Aleksey Shipilev
68e55bdf72 8244730: Shenandoah: gc/shenandoah/options/TestHeuristicsUnlock.java should only verify the heuristics
Reviewed-by: rkennke
2020-05-11 18:33:18 +02:00
Igor Ignatyev
a899004d4e 8244384: @requires-related clean up in gc/metaspace/ tests
Reviewed-by: kbarrett, stefank
2020-05-05 09:27:24 -07:00
Stefan Karlsson
81597d9f8f 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Zhengyu Gu
227868034a 8241793: Shenandoah: Enable concurrent class unloading for aarch64
Reviewed-by: smonteith, rkennke
2020-04-30 14:00:50 -04:00
Per Lidén
68e53065e0 8240679: ZGC GarbageCollectorMXBean reports inaccurate post GC heap size for ZHeap pool
Reviewed-by: eosterlund
2020-04-30 10:59:23 +02:00
Igor Ignatyev
e7aafcd61d 8243933: use driver mode in gc tests
Reviewed-by: kbarrett
2020-04-29 07:08:31 -07:00
Stefan Karlsson
35af52dd4f 8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Stuart Monteith
739e8e322d 8216557: Aarch64: Add support for Concurrent Class Unloading
Co-authored-by: Andrew Haley <aph@redhat.com>
Reviewed-by: aph, eosterlund, pliden, njian
2020-04-29 14:53:48 +08:00
Igor Ignatyev
70e632d5ec 8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Igor Ignatyev
9921097bd9 8243942: use SkippedException in gc/arguments/TestSmallInitialHeapWithLargePageAndNUMA.java test
Reviewed-by: kbarrett
2020-04-28 11:32:45 -07:00
Igor Ignatyev
a740f83da3 8243930: update copyright years
Reviewed-by: dholmes
2020-04-27 17:58:27 -07:00
Igor Ignatyev
d84e4f1fd6 8243565: some gc tests use 'test.java.opts' and not 'test.vm.opts'
Reviewed-by: stefank
2020-04-27 10:25:29 -07:00
Igor Ignatyev
5efa545d48 8242312: use reproducible random in hotspot gc tests
Reviewed-by: kbarrett, tschatzl
2020-04-14 12:50:09 -07:00
Kim Barrett
4d487927ad 8228991: Obsolete -XX:UseAdaptiveGCBoundary
Make option obsolete and removed supporting code.

Reviewed-by: tschatzl, stefank
2020-04-17 23:22:34 -04:00
Kim Barrett
4694da31f8 8242078: G1: Improve concurrent refinement analytics and logging
Unify data collection and reporting.

Reviewed-by: tschatzl, sjohanss
2020-04-14 17:31:53 -04:00
Aleksey Shipilev
951cda8d1f 8242273: Shenandoah: accept either SATB or IU barriers, but not both
Reviewed-by: rkennke
2020-04-07 13:18:47 +02:00
Aleksey Shipilev
5fff119dde 8242271: Shenandoah: add test to verify GC mode unlock
Reviewed-by: rkennke
2020-04-07 13:18:46 +02:00
Roman Kennke
c4d01f8c8b 8242054: Shenandoah: New incremental-update mode
Reviewed-by: shade
2020-04-06 17:08:46 +02:00
Per Lidén
2e4783411e 8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Roman Kennke
553ea1e891 8242082: Shenandoah: Purge Traversal mode
Reviewed-by: shade
2020-04-03 15:06:08 +02:00
Aleksey Shipilev
cd76575df1 8242075: Shenandoah: rename ShenandoahHeapRegionSize flag
Reviewed-by: rkennke
2020-04-03 11:33:31 +02:00
Stefan Johansson
80b8644499 8241670: Enhance heap region size ergonomics to improve OOTB performance
Reviewed-by: redestad, tschatzl
2020-04-02 21:33:57 +02:00
Stefan Johansson
6a4e93bbc9 8241666: Enhance log messages in ReferenceProcessor
Reviewed-by: tschatzl, sangheki
2020-03-31 11:45:29 +02:00
Roman Kennke
bb7a8f643f 8241700: Shenandoah: Fold ShenandoahKeepAliveBarrier flag into ShenandoahSATBBarrier
Reviewed-by: shade
2020-03-27 12:47:36 +01:00
Thomas Schatzl
7048684ca7 8238855: Move G1ConcurrentMark flag sanity checks to g1Arguments
Reviewed-by: sjohanss, kbarrett
2020-03-27 09:44:53 +01:00
Per Lidén
e11ab6a46c 8241596: ZGC: Shorten runtime of gc/z/TestUncommit.java
Reviewed-by: tschatzl, sjohanss
2020-03-26 16:56:42 +01:00
Chris Plummer
a147636157 8238268: Many SA tests are not running on OSX because they do not attempt to use sudo when available
Reviewed-by: sspitsyn, iignatyev
2020-03-17 18:04:59 -07:00
Per Lidén
9e94572078 8240714: ZGC: TestSmallHeap.java failed due to OutOfMemoryError
Reviewed-by: eosterlund
2020-03-13 14:26:38 +01:00
Aditya Mandaleeka
5ed80778bc 8231668: Remove ForceDynamicNumberOfGCThreads
Reviewed-by: shade, tschatzl
2020-03-13 13:22:39 +01:00
Kelvin Nilsen
19e02810db 8225216: gc/logging/TestMetaSpaceLog.java doesn't work for Shenandoah
Reviewed-by: shade
2020-03-12 06:47:17 +01:00