Commit Graph

80 Commits

Author SHA1 Message Date
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
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