Commit Graph

577 Commits

Author SHA1 Message Date
Per Lidén
a6aa1030b4 8222145: Add -XX:SoftMaxHeapSize flag
Reviewed-by: eosterlund, tschatzl
2019-06-07 11:19:34 +02:00
Per Lidén
0b647d15bf 8225084: gc/z/TestHighUsage.java fails with unexpected allocation stall
Reviewed-by: eosterlund
2019-06-05 10:43:45 +02:00
Aleksey Shipilev
bb4d8b504a 8225229: Shenandoah: trim down default number of GC threads
Reviewed-by: rkennke
2019-06-05 09:23:09 +02:00
Kim Barrett
9965ded5dd 8212630: jtreg/gc/logging/TestMetaSpaceLog.java failed with Agent timed out
Use driver with framework test options passed through to subtask.

Reviewed-by: tschatzl, lmesnik
2019-06-04 13:26:20 -04:00
Aleksey Shipilev
d4dca25c8f 8225111: Make Shenandoah tests work with 32-bit VMs
Reviewed-by: rkennke
2019-06-02 10:08:38 +02:00
Zhengyu Gu
1a3d4e638c 8225014: Separate ShenandoahRootScanner method for object_iterate
Reviewed-by: shade
2019-05-30 21:12:26 -04:00
Aleksey Shipilev
fbed983c90 8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long
Reviewed-by: rkennke
2019-05-30 10:21:51 +02:00
Per Lidén
868ab3044f 8224185: ZGC: Introduce "High Usage" rule
Reviewed-by: eosterlund
2019-05-23 08:09:29 +02:00
Ekaterina Pavlova
ca569937da 8224017: [Graal] gc/z/TestUncommit.java fails with Graal
Reviewed-by: kvn
2019-05-16 12:33:44 -07:00
Thomas Schatzl
3d149df158 8200545: Improve filter for enqueued deferred cards
Reviewed-by: kbarrett, sangheki
2019-05-14 15:36:26 +02:00
Per Lidén
44e7959bb8 8222480: Implementation: JEP 351: ZGC: Uncommit Unused Memory
Reviewed-by: stefank, eosterlund
2019-05-14 09:55:02 +02:00
Aleksey Shipilev
92d97ce512 8223759: Shenandoah should allow arbitrarily low initial heap size
Reviewed-by: rkennke
2019-05-14 09:12:00 +02:00
Pengfei Li
d2472e6dcd 8223427: [TESTBUG] Disable JTReg Shenandoah tests when Graal is enabled
Reviewed-by: shade
2019-05-08 09:50:23 +00:00
Aleksey Shipilev
0284208ab3 8223447: Stabilize gc/shenandoah/TestStringDedupStress test
Reviewed-by: rkennke
2019-05-07 21:53:46 +02:00
Aleksey Shipilev
c222e1aad0 8223446: Shenandoah breaks alignment with some HumongousThreshold values
Reviewed-by: rkennke
2019-05-07 21:53:38 +02:00
Kim Barrett
a8e13a5839 8221359: Eliminate SATBMarkQueueSet::filter_thread_buffers
Removed filter_thread_buffers

Reviewed-by: tschatzl, sangheki
2019-05-03 23:35:12 -04:00
Ao Qi
e6ace7be6f 8220813: update hotspot tier1_gc tests depending on GC to use @requires vm.gc.X
Reviewed-by: pliden, lmesnik
2019-04-26 11:33:32 -07:00
Aleksey Shipilev
321615029c 8222186: Shenandoah should not uncommit below minimum heap size
Reviewed-by: zgu, rkennke
2019-04-09 21:20:16 +02:00
Sangheon Kim
bb31c7d085 8218049: Survivor MemoryMXBean used() size granularity is region based
Reviewed-by: tschatzl, kbarrett
2019-04-08 12:15:40 -07:00
Roman Kennke
d2ac25420e 8222125: Shenandoah: Crash when running with ShenandoahParallelSafepointThreads=1
Reviewed-by: shade
2019-04-08 18:42:27 +02:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Sangheon Kim
4494be3b5f 8221517: G1: Reserved page size for heap can be wrong
Reviewed-by: tschatzl, kbarrett
2019-04-01 14:54:48 -07:00
Thomas Schatzl
efe03d5a90 8219100: Improve do_collection_pause_at_safepoint
Reviewed-by: kbarrett, sangheki
2019-03-25 14:11:09 +01:00
Roman Kennke
59a025d90b 8220714: C2 Compilation failure when accessing off-heap memory using Unsafe
Reviewed-by: vlivanov, roland
2019-03-15 09:57:42 +01:00
Ao Qi
f6e688c7c8 8220812: gc/shenandoah/options/TestLoopMiningArguments.java fails if default GC is serial/parallel/cms
Reviewed-by: shade
2019-03-19 17:03:18 +08:00
Jesper Wilhelmsson
f0b707b94b 8220704: ZGC: gc tests complain Java heap too small
Reviewed-by: iignatyev, tschatzl
2019-03-15 18:59:21 +01:00
Aleksey Shipilev
977992a07e 8220712: [TESTBUG] gc/shenandoah/compiler/TestMaybeNullUnsafeAccess should run with Shenandoah enabled
Reviewed-by: rkennke, roland
2019-03-15 13:01:30 +01:00
Igor Ignatyev
8fb834a4bf 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
Thomas Schatzl
e68d585a8d 8218880: G1 crashes when issuing a periodic GC while the GCLocker is held
Do not wait for the GC locker in the periodic GC thread as the GC locker being held is an indication for being busy anyway.

Reviewed-by: kbarrett, shade
2019-03-04 11:49:16 +01:00
Aleksey Shipilev
ace0b7a803 8219524: Shenandoah misreports "committed" size in MemoryMXBean
Reviewed-by: rkennke, zgu
2019-02-21 15:52:42 +01:00
Thomas Schatzl
eaab45a8b8 8219096: Merge print_termination_stats code with current logging
Reviewed-by: lkorinth, kbarrett
2019-02-20 14:30:33 +01:00
Thomas Schatzl
8b5d08be9f 8218920: Scan HCC should be on the same level as Update RS etc. in the log
Reviewed-by: lkorinth, kbarrett
2019-02-19 12:56:02 +01:00
Leo Korinth
b09dfdbc01 8217389: JTREG: Clean up, remove unused variable warnings
Reviewed-by: lmesnik, tschatzl
2019-02-18 12:08:08 +01:00
Leo Korinth
3d13ab6882 8217385: JTREG: Clean up, make sure to close resources
Reviewed-by: tschatzl, sangheki
2019-02-18 10:48:48 +01:00
Leo Korinth
f3cb008ce2 8217332: JTREG: Clean up, use generics instead of raw types
Reviewed-by: tschatzl, sangheki
2019-02-08 12:09:41 +01:00
Leo Korinth
2aa7590846 8217329: JTREG: Clean up, remove unused imports in gc folder
Reviewed-by: lmesnik, tschatzl
2019-02-08 11:52:33 +01:00
Kim Barrett
1fcbd0cd0d 8217474: Remove WhiteBox.getConcurrentGCPhases()
Remove function and supporting infrastructure.

Reviewed-by: shade, tschatzl
2019-02-05 16:46:49 -05:00
Jesper Wilhelmsson
d3867602ab Merge 2019-01-30 21:12:56 +01:00
Sangheon Kim
b2f2e669c9 8217666: gc/nvdimm/* should not be included any tiers
Reviewed-by: iignatyev, lkorinth
2019-01-29 11:21:43 -08:00
Thomas Schatzl
d800361151 8213229: Investigate treating StringTable as weak in young collections
Reviewed-by: zgu, kbarrett
2019-01-29 11:30:17 +01:00
Leo Korinth
4d4b205e70 8214799: Add package declaration to each JTREG test case in the gc folder
Reviewed-by: lmesnik, tschatzl
2019-01-28 15:53:56 +01:00
Aleksey Shipilev
76c55b5508 8217471: [TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace
Reviewed-by: dholmes, tschatzl
2019-01-25 16:57:50 +01:00
Paul Hohensee
ddfcf1f021 8217520: Remove vm.opt.MaxGCPauseMillis == "null" from TestOldGenCollectionUsage.java
Remove the corresponding @requires line

Reviewed-by: tschatzl
2019-01-24 10:57:31 -08:00
Jesper Wilhelmsson
c6e45ea87c Merge 2019-01-23 19:56:28 +01:00
Kishor Kharbas
755d163e91 8213695: gc/TestAllocateHeapAtMultiple.java is slow in some configs
Reviewed-by: sangheki, kbarrett
2019-01-22 11:42:13 -08:00
Thomas Schatzl
39d17b706b 8216490: Spammy periodic GC log message contains random time stamp with periodic gc disabled
Print periodic gc status at startup and only print regular messages if enabled.

Reviewed-by: sangheki, kbarrett
2019-01-16 11:43:51 +01:00
Aleksey Shipilev
2858e8f4e2 8217343: Shenandoah control thread should be able to run at critical priority
Reviewed-by: rkennke
2019-01-19 11:20:01 +01:00
Aleksey Shipilev
028cf5ae00 8217378: UseCriticalCMSThreadPriority is broken
Reviewed-by: rkennke, dcubed
2019-01-19 11:19:55 +01:00
Aleksey Shipilev
3be22e5884 8217014: Epsilon should not ignore Metadata GC causes
Reviewed-by: stuefe, zgu
2019-01-18 16:40:24 +01:00
Aleksey Shipilev
0cd1573f08 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: eosterlund, lkorinth
2019-01-09 15:53:56 +01:00
Goetz Lindenmaier
bd692b8d6d 8216271: Make AllocateOldGenAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
2019-01-08 09:29:36 +01:00
Kishor Kharbas
28f71c2c72 8211424: Allocation of old generation of java heap on alternate memory devices - Parallel GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of Parallel GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:23:55 -08:00
Kishor Kharbas
d580e2eed2 8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:18:59 -08:00
Thomas Schatzl
7223ed2205 8152724: Sum of eden before GC and current survivor capacity may be larger than heap size
Limit the maximum survivor size for a given GC to the remaining number of free regions.

Reviewed-by: sjohanss, sangheki
2018-12-12 12:00:02 +01:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Thomas Schatzl
49efeb69ff 8212657: Implementation of JDK-8204089 Promptly Return Unused Committed Memory from G1
Issue optional, default enabled, concurrent cycles when the VM is idle to reclaim unused internal and Java heap memory.

Co-authored-by: Rodrigo Bruno <rbruno@gsd.inesc-id.pt>
Co-authored-by: Ruslan Synytsky <rs@jelastic.com>
Reviewed-by: sjohanss, sangheki
2018-12-10 10:25:27 +01:00
Boris Ulasevich
28f45defae 8213410: UseCompressedOops requirement check fails fails on 32-bit system
Reviewed-by: dholmes
2018-11-16 19:29:20 +03:00
Daniel D. Daugherty
6a9e3b9d29 8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out
Increase default timeout to 360 seconds.

Reviewed-by: erikj, dholmes
2018-11-08 20:54:30 -05:00
Thomas Schatzl
0d19f0bb51 6490394: G1: Allow heap shrinking / memory unmapping after reclaiming regions during Remark
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
Tobias Hartmann
18d4a423f9 8150552: Remove -XX:+AggressiveOpts
Removed the -XX:+AggressiveOpts flags and its usages.

Reviewed-by: ecaspole, sjohanss
2018-10-24 12:39:37 +02:00
Aleksey Shipilev
b6e77e4285 8212177: Epsilon alignment adjustments can overflow max TLAB size
Reviewed-by: pliden, tschatzl
2018-10-16 17:43:30 +02:00
Aleksey Shipilev
2b21c73b2d 8212005: Epsilon elastic TLAB sizing may cause misalignment
Reviewed-by: rkennke, tschatzl
2018-10-11 10:42:17 +02:00
Jean Christophe Beyler
a87e8e52ea 8211123: GC Metaspace printing after full gc
Move GC printing to after usage is calculated

Co-authored-by: Jiapeng Li <nijiaben@perfma.com>
Reviewed-by: tschatzl, stuefe
2018-10-05 13:38:03 -07:00
Matthias Baesken
5d3b3156e8 8211208: make AllocateHeapAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
2018-09-27 17:13:07 +02:00
Jiangli Zhou
b6180e668e 8210237: [TESTBUG]gc/stress/TestStressIHOPMultiThread.java fails with 'Unexpected exit from test [exit code: 1]' in CDS mode
Fix TestStressIHOPMultiThread to handle possible OutOfMemoryError.

Reviewed-by: ccheung, gziemski
2018-09-18 11:55:33 -04:00
Jiangli Zhou
989d55d3ed 8210193: [TESTBUG]gc/g1/mixedgc/TestOldGenCollectionUsage.java fails intermittently with OutOfMemoryError in CDS mode
Increase java heap size in TestOldGenCollectionUsage. Catch OOM in tests.

Reviewed-by: phh, iklam
2018-09-13 13:30:07 -04:00
Man Cao
b116f2cf13 8210192: Hsperf counter ParNew::CMS should be ParNew:CMS
Rename the counter back to ParNew:CMS and added a test

Reviewed-by: sjohanss, tschatzl
2018-09-04 14:17:45 -07:00
Thomas Schatzl
a7d4df53fa 8210265: Crash in HSpaceCounters::update_used()
Guard call to update HSpaceCounters with flag

Reviewed-by: shade, sjohanss, kbarrett
2018-09-04 12:17:23 +02:00
Aleksey Shipilev
6ccb60937c 8209573: [TESTBUG] gc/epsilon/TestMemoryMXBeans should retry on failure
Reviewed-by: kvn, pliden
2018-08-20 10:04:00 +02:00
Gerard Ziemski
b75805c1a5 8195100: Use a low latency hashtable for SymbolTable
Used concurrentHashTable, similar to stringTable

Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Jean Christophe Beyler
5fc4ca5c45 8061467: Add UseLargePages to TestNUMAPageSize
Add flag to test for all architectures to be tested

Reviewed-by: phh, pliden, tschatzl
2018-08-13 09:19:21 -07:00
Ekaterina Pavlova
582c0dafb8 8199486: [Graal] gc/g1/ihop/TestIHOPStatic.java fails by timeout with -Xcomp
Reviewed-by: kvn
2018-08-13 04:02:51 -07:00
Igor Ignatyev
17891770c1 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Jean Christophe Beyler
fc9941ae72 8169004: Fix redundant @requires tags in tests
Reviewed-by: tschatzl, iignatyev
2018-07-31 12:24:47 -07:00
Jean Christophe Beyler
ec76c2046c 8069343: Improve gc/g1/TestHumongousCodeCacheRoots.java to use jtreg @requires
Remove client test entirely and clean up test

Reviewed-by: tschatzl, iignatyev
2018-08-01 09:23:24 -07:00
Daniel D. Daugherty
e7114f64f3 8208605: Fix for 8199868 breaks tier1 build
Move variable declarations to make studio compiler happy.

Reviewed-by: kbarrett
2018-07-31 17:07:43 -04:00
Zhengyu Gu
b71f3e7104 8199868: Support JNI critical functions in object pinning API
Pin/unpin incoming array arguments of critical native JNI call

Reviewed-by: shade, adinn
2018-07-31 13:12:06 -04:00
Thomas Schatzl
cb9a168f8b 8205426: Humongous continues remembered set does not match humongous start region one after Remark
Remembered set states for humongous objects crossing an internal per-thread processing threshold could synchronized if the humongous continues regions were processed first.

Reviewed-by: ehelin, kbarrett
2018-07-09 10:19:51 +02:00
Goetz Lindenmaier
991f2f8c0b 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
Reviewed-by: jgeorge, cjplummer
2018-06-25 23:04:21 +02:00
Thomas Schatzl
19f5116cd9 8204082: Make names of Young GCs more uniform in logs
All G1 young gcs now start with "Pause Young" plus a more detailed description

Reviewed-by: sjohanss
2018-06-26 11:09:42 +02:00
Paul Hohensee
ebe240f3f4 8195115: G1 Old Gen MemoryPool CollectionUsage.used values don't reflect mixed GC results
Memory pools can now be optional collection participants, e.g., G1 Old Gen in an incremental collection.

Reviewed-by: ehelin, mchung
2018-06-19 05:18:49 -07:00
Thomas Schatzl
9ae0be2289 8205043: Make parallel reference processing default for G1
Reviewed-by: kbarrett, sjohanss
2018-06-19 09:34:39 +02:00
Thomas Schatzl
7f9bbfa767 8043575: Dynamically parallelize reference processing work
In G1 automatically set the number of parallel Reference processing threads

Co-authored-by: Sangheon Kim <sangheon.kim@oracle.com>
Reviewed-by: sangheki, kbarrett
2018-06-18 12:11:59 +02:00
Thomas Schatzl
1a0553e4eb 8202845: Refactor reference processing for improved parallelism
Fold reference processing's nine phases into four to decrease startup and termination time of this phase.

Reviewed-by: kbarrett, sjohanss
2018-05-29 09:26:00 +02:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Ekaterina Pavlova
467da554a2 8204978: [Graal] Disable Epsilon GC tests from running with Graal
Reviewed-by: kvn
2018-06-14 00:07:10 -07:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Vladimir Kozlov
42e75b8c79 8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Stefan Karlsson
ad35b3d424 8204168: Increase small heap sizes in tests to accommodate ZGC
Reviewed-by: pliden, ehelin
2018-06-05 15:56:21 +02:00
Stefan Karlsson
a0b2b211cb 8204167: Filter out tests requiring compressed oops when CompressedOops is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:17 +02:00
Sangheon Kim
4a7d797fda 8204095: [TESTBUG] TestPrintReferences.java fails if multiple concurrent mark happens
Reviewed-by: kbarrett, tschatzl
2018-06-04 21:19:15 -07:00
Stefan Johansson
f21c201f80 8183910: gc/arguments/TestAggressiveHeap.java fails intermittently
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:44:59 +02:00
Thomas Schatzl
ec2d9845e0 8201491: G1 support for java.lang.ref.Reference precleaning
Implement single-threaded concurrent reference precleaning for G1.

Reviewed-by: sangheki, kbarrett
2018-05-14 11:47:03 +02:00
Thomas Schatzl
035d0190a3 8202017: Merge Reference Enqueuing phase with phase 3 of Reference processing
Do reference enqueuing work directly in phase 3 after every Reference.

Reviewed-by: kbarrett, sangheki
2018-05-08 10:01:29 +02:00
Thomas Schatzl
945701e945 8201492: Properly implement non-contiguous generations for Reference discovery
Collectors like G1 implementing non-contiguous generations previously used an inexact but conservative area for discovery. Concurrent and STW reference processing could discover the same reference multiple times, potentially missing referents during evacuation. So these collectors had to take extra measures while concurrent marking/reference discovery has been running. This change makes discovery exact for G1 (and any collector using non-contiguous generations) so that concurrent discovery and STW discovery discover on strictly disjoint memory areas. This means that the mentioned situation can not occur any more, and extra work is not required any more too.

Reviewed-by: kbarrett, sjohanss
2018-05-03 14:09:00 +02:00
Thomas Schatzl
ebbd7cf90b 8201596: java.lang.ref.Reference processing total time logging broken
Fix "Reference Processing" and add "Weak Processing" time

Reviewed-by: kbarrett, sangheki
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9b31b8f365 8201487: Do not rebalance reference processing queues if not doing parallel reference processing
Reviewed-by: sangheki, kbarrett
2018-04-18 11:36:48 +02:00
Thomas Schatzl
83d7c657c4 8197573: Remove concurrent cleanup and secondary free list handling
Remove secondary free list and all associated functionality, moving the cleanup work into the Cleanup pause instead.

Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Thomas Schatzl
945342f1ef 8193067: gc/g1/TestVerifyGCType.java still unstable
Fix number of gc threads and heap waste percentage to trigger mixed gcs reproducibly

Reviewed-by: sjohanss, pliden
2018-03-27 11:05:01 +02:00
Thomas Schatzl
cd9bd4ecc7 8196485: FromCardCache default card index can cause crashes
The default value of -1 for 32 bit card indices is a regular card value at the border of 2TB heap addresses in the from card cache, so G1 may loose remembered set entries. Extend from card cache entries to 64 bits.

Co-authored-by: Jarkko Miettinen <jarkko.miettinen@relex.fi>
Reviewed-by: shade, sjohanss
2018-03-26 16:51:43 +02:00
Thomas Schatzl
c30aef79df 8180415: Rebuild remembered sets during the concurrent cycle
In general maintain remembered sets of old regions only from the start of the concurrent cycle to the mixed gc they are used, at most until the end of the mixed phase.

Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Per Lidén
7b568da79b 8199850: Move parsing of VerifyGCType to G1
Reviewed-by: sjohanss, tschatzl
2018-03-26 12:44:39 +02:00
Vladimir Kozlov
6b886727ca 8199212: [TESTBUG] don't run compiler/aot tests with -Xcomp
8199489: [TESTBUG] don't run CTW tests with -Xcomp

Reviewed-by: iignatyev, iveresov
2018-03-22 16:39:02 -07:00
Thomas Stuefe
da674f0d0d 8199430: Rename MetaspaceAux to something more meaningful
Reviewed-by: zgu, coleenp
2018-03-11 07:11:03 +01:00
Igor Ignatyev
8d72dcd040 8197113: combine multiple @key tags in jtreg tests
Reviewed-by: hseigel, goetz
2018-02-08 08:38:42 -08:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Daniel Stewart
ae9a3ef830 8195621: JTReg failure: gc/g1/TestLargePageUseForAuxMemory.java
Decrease amount of committed space for the test.

Reviewed-by: tschatzl, stuefe
2018-01-30 10:38:17 +01:00
Erik Helin
73388668cd 8195158: Concurrent System.gc() is "upgraded" to stop-the-world System.gc()
Reviewed-by: sjohanss, eosterlund
2018-01-17 19:05:58 +01:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Thomas Schatzl
3be36b20e4 8180280: [TESTBUG] Test for JDK-8180048
Add test at is executed only at higher tiers to allow more time for execution.

Reviewed-by: kbarrett, eosterlund
2018-01-11 11:05:17 +01:00
Thomas Schatzl
6e9f44c74c 8137099: G1 needs to "upgrade" GC within the safepoint if it can't allocate during that safepoint to avoid OoME
During a minor GC, if memory allocation fails, start a full GC within the same VM operation in the same safepoint. This avoids a race where the GC locker can prevent the full GC from occurring, and a premature OoME.

Co-authored-by: Axel Siebenborn <axel.siebenborn@sap.com>
Reviewed-by: ehelin, sjohanss, phh
2018-01-11 10:40:01 +01:00
Stefan Johansson
b4f7ce6c8f 8192983: gc/g1/TestVerifyGCType.java might fail on loaded machines
Reviewed-by: tschatzl, jwilhelm
2017-12-05 13:58:55 +01:00
Stefan Johansson
ea04c5cfb3 8191821: Finer granularity for GC verification
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Roman Kennke
3f3f0cb67e 8191564: Refactor GC related servicability code into GC specific subclasses
Reviewed-by: ehelin, eosterlund
2017-11-30 13:40:07 +01:00
Kishor Kharbas
66c00b4184 8190980: Develop test cases and collect test pass rate
Develop tests covering all the test cases described in the test plan and achieve 100% pass rate for JEP 316: Heap Allocation on Alternative Memory Devices

Reviewed-by: sangheki, tschatzl
2017-11-29 16:45:31 -08:00
Kishor Kharbas
3fc999a1fe 8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
Sub-task to be used for implementation of JEP 316: Support heap allocation on alternative memory devices

Reviewed-by: sangheki, tschatzl
2017-11-29 17:03:10 -08:00
Erik Helin
01e9cb7e23 8080345: With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3
Co-authored-by: Y. Srinivas Ramakrishna <ysr1729@gmail.com>
Reviewed-by: sjohanss, tschatzl
2017-11-27 10:51:31 +01:00
Thomas Schatzl
c5ce7408b3 8182050: assert(_whole_heap.contains(p)) failed: Attempt to access p out of bounds of card marking array's _whole_heap
Ignore zero-sized MemRegions to invalidate in G1SATBCardTableLoggingModRefBS::invalidate()

Reviewed-by: ehelin, sjohanss
2017-11-23 15:51:06 +01:00
Alexander Harlap
cb1ea0fc33 8187819: gc/TestFullGCALot.java fails on jdk10 started with "-XX:-UseCompressedOops" option
Need to initialized metaspace performance counters before their potential use

Reviewed-by: tschatzl, sjohanss
2017-11-16 14:06:44 -05:00
Stefan Johansson
6929e0f05a 8186571: Implementation: JEP 307: Parallel Full GC for G1
Improve G1 worst-case latencies by making the full GC parallel.

Reviewed-by: tschatzl, sangheki, ehelin
2017-11-14 11:33:23 +01:00
Thomas Schatzl
d7b2fafd3d 8190703: TestSystemGCWith* infrequently times out on SPARC
Give the test a timeout after which it ends on its own.

Reviewed-by: shade, sjohanss
2017-11-07 13:51:18 +01:00
Stefan Johansson
16963a0d5c 8190353: [Testbug] test/hotspot/jtreg/gc/logging/TestPrintReferences.java can still fail
Reviewed-by: sangheki, eosterlund
2017-11-06 11:11:44 +01:00
Sangheon Kim
4101ba9a13 8185278: TestGreyReclaimedHumongousObjects.java fails guarantee(index != trim_index(_head_index + 1)) failed: should not go past head
Add STS to avoid MMU concurrency problem between VM Thread and Concurrent Mark Thread

Reviewed-by: tschatzl, ehelin
2017-10-26 21:30:48 -07:00
Sangheon Kim
e4cf0cb437 8188245: [Testbug] test/hotspot/jtreg/gc/logging/TestPrintReferences.java can fail
Changed to use BigDecimal to solve double rounding issue

Reviewed-by: sjohanss, eosterlund
2017-10-19 11:31:52 -07:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00