Commit Graph

311 Commits

Author SHA1 Message Date
Jean-Francois Denise
aaac2cbb54 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02:00
Thomas Schatzl
0d85af8161 Merge 2015-06-24 11:55:18 +02:00
Thomas Schatzl
b07602d640 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:42:45 +02:00
Stefan Johansson
f6a2109bab 8081607: Change default GC for server configurations to G1
For more info see JEP 248.

Reviewed-by: pliden, tschatzl
2015-06-24 08:37:12 +02:00
Aleksey Shipilev
cd81d2845d 8129332: Missing test case for JDK-8078438
Add the test case originally developed for JDK-8078438

Reviewed-by: tschatzl
2015-06-23 10:12:44 +02:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Thomas Schatzl
5084eb24d0 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.

Reviewed-by: jmasa, fzhinkin
2015-06-19 11:27:07 +02:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
David Lindholm
5f5af54f95 8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +02:00
Kim Barrett
30a72c7647 8076613: gc/TestSmallHeap.java failed with OOME
Disable test when compressed oops are disabled.

Reviewed-by: tschatzl, brutisso
2015-06-02 19:19:37 -04:00
Per Lidén
4dc240f785 8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Harold Seigel
da4711381d Merge 2015-05-08 13:25:11 -04:00
Jesper Wilhelmsson
ca69eddba5 Merge 2015-05-04 17:10:50 +02:00
Jon Masamitsu
4d62005c68 8079235: quarantine TestLargePageUseForAuxMemory.java
Reviewed-by: kvn
2015-05-01 16:22:41 -07:00
Eric Caspole
c120339bf0 8078405: Heap decommit failed in TestShrinkAuxiliaryData tests
Modified test so options in the code are after the options from the environment, so -ExplicitGCInvokesConcurrent is always used.

Reviewed-by: tschatzl, kbarrett
2015-04-29 15:25:41 -04:00
Derek White
a9a83a919f 8076995: gc/ergonomics/TestDynamicNumberOfGCThreads.java failed with java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr
Reviewed-by: brutisso, jmasa, jwilhelm
2015-04-29 09:59:51 +02:00
Alexander Kulyakthin
462f735dac 8067013: Rename the com.oracle.java.testlibary package
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Jesper Wilhelmsson
e8a6f321c1 Merge 2015-04-23 16:09:21 +02:00
Andrey Zakharov
d50c630d1b 8073669: gc/TestSoftReferencesBehaviorOnOOME.java times out in nightlies
Changed test scenario to more straight-forward one, added tricks to prevent compiler optimizations and added checks when OOME didn't thrown as expected.

Reviewed-by: tschatzl, jwilhelm
2015-04-23 15:54:47 +02:00
Shanliang Jiang
137a04308f 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:23:13 +02:00
Per Lidén
e4a699552a 8068582: UseSerialGC not always set up properly
Reviewed-by: jmasa, brutisso, sjohanss
2015-04-20 08:53:08 +02:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Shanliang Jiang
38e3be4c28 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 10:53:31 +02:00
Kim Barrett
763048052f 8069367: Eagerly reclaimed humongous objects left on mark stack
Prevent eager reclaim of objects that might be on mark stack.

Reviewed-by: brutisso, tschatzl
2015-04-15 12:16:01 -04:00
Evgeniya Stepanova
89649d21af 8026043: Add regression test for JDK-8000831
Reviewed-by: mchung
2015-04-09 14:16:04 +03:00
Mikael Gerdin
f078697a45 8077400: Unnecessary and incorrect "Code Cache Roots" G1 log entry
Reviewed-by: tschatzl, brutisso, sangheki
2015-04-10 13:58:36 +02:00
Dmitry Dmitriev
5f589f20aa 8076311: Java 9 process negative MaxTenuringThreshold in different way than Java 8
Corrected processing of invalid MaXTenuringThreshold

Reviewed-by: jmasa, dholmes, kbarrett
2015-04-08 15:49:29 +03:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Thomas Schatzl
0a0a22f7ea 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Alejandro Murillo
261765b24e Merge 2015-04-02 13:38:47 -07:00
Alejandro Murillo
15fdeb838c Merge 2015-03-31 11:13:08 -07:00
Alexander Kulyakthin
01b9971365 8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Jon Masamitsu
473bf6175f 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: tschatzl, brutisso
2015-03-17 11:19:05 -07:00
Andrey Zakharov
179f7eb9ff 8051984: @ignore should be placed after @test
As ignore reason has been fixed (by adding @requires) @ignore removed

Reviewed-by: kbarrett, brutisso
2015-03-06 16:12:54 +01:00
Jesper Wilhelmsson
8107130954 8071335: gc/TestSmallHeap.java throw OOM
To avoid OOME, do not run with -Xcomp

Reviewed-by: brutisso, tschatzl
2015-03-02 16:19:59 +01:00
Bengt Rutisson
8c7781ec72 8027962: Per-phase timing measurements for strong roots processing
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +01:00
Andrey Zakharov
fd9d670156 8073950: Quarantine failing test: gc/TestSoftReferencesBehaviorOnOOME.java due to JDK-8073669
Quarantine gc/TestSoftReferencesBehaviorOnOOME.java

Reviewed-by: mgerdin, tschatzl
2015-02-26 17:02:48 +01:00
Andrey Zakharov
9272128a46 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Added WhiteBox methods to count regions and exact aux data sizes

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:51:28 +03:00
Michail Chernov
41455f2437 8026047: [TESTBUG] add regression test for DisableExplicitGC flag
Reviewed-by: jwilhelm, brutisso
2015-03-13 17:47:34 +04:00
Jesper Wilhelmsson
e238141b5c 8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Jesper Wilhelmsson
9cc24cf76e Merge 2015-02-02 13:57:38 +01:00
Kim Barrett
1a1ddd0d4b 8068942: Improve validation of -XX:G1ConfidencePercent value
Validate during argument processing and simplify usage by assuming validated.

Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05:00
Yumin Qi
3bbda04f98 Merge 2015-01-27 20:02:35 -08:00
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Stefan Johansson
3a11c1d75c 8069011: gc/TestSmallHeap.java failing in nightly
Using @requires to avoid running with AggressiveOpts turned on.

Reviewed-by: jwilhelm, brutisso
2015-01-19 10:08:07 +01:00
Stefan Johansson
d508c520f0 8040935: -XX:+AggressiveOpts broken: GC triggered before VM initialization completed on several tests
Reviewed-by: brutisso, kbarrett
2015-01-19 10:06:14 +01:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
Goetz Lindenmaier
71d4cfb1ad 8068026: [TESTBUG] Check for -client in gc/g1/TestHumongousCodeCacheRoots.java
Skip test if -client is not supported.

Reviewed-by: jwilhelm, simonis
2015-01-15 16:05:20 +01:00
Goetz Lindenmaier
8e2df5f543 8067941: [TESTBUG] Fix tests for OS with 64K page size
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Goetz Lindenmaier
2ffd52f306 8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
Reviewed-by: coleenp, sla
2015-01-12 09:16:06 +01:00
Bengt Rutisson
24d3bb517b 8068653: TestSmalllHeap.java fails when the page size is 64k
Reviewed-by: tschatzl
2015-01-09 08:38:23 +01:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Jesper Wilhelmsson
a2b3cf3583 Merge 2014-12-23 14:03:15 +01:00
Vladimir Kozlov
832167be7f 8067985: merging hs-comp to hs blocked by some tests not updated in 8054892
Reviewed-by: iveresov
2014-12-22 14:35:40 -08:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Bengt Rutisson
d418f56e60 8067873: gc/TestSmallHeap.java does not compile
Reviewed-by: mgerdin, jwilhelm
2014-12-18 13:37:02 +01:00
Filipp Zhinkin
df6c67eeeb 8066143: [TESTBUG] New tests in gc/survivorAlignment/ fails
Reviewed-by: jmasa
2014-12-15 18:11:51 +04:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Tobias Hartmann
bf022cf7dc 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Bengt Rutisson
eec8524e84 8067438: Add test to verify minimal heap size
Reviewed-by: dfazunen, ehelin
2014-12-17 09:47:14 +01:00
Erik Helin
cbe8efabfe 8059066: CardTableModRefBS might commit the same page twice
Reviewed-by: tschatzl, kbarrett, jmasa
2014-12-02 09:53:30 +01:00
Thomas Schatzl
77f5cb9219 Merge 2014-11-28 08:53:48 +00:00
Leonid Mesnik
c8a147b8c7 8065579: WB method to start G1 concurrent mark cycle should be introduced
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
2014-11-28 09:33:48 +01:00
Bengt Rutisson
d8635f58cd 8066133: Fix missing reivew changes for JDK-8065972
Reviewed-by: mgerdin, stefank
2014-11-28 08:20:52 +01:00
Bengt Rutisson
0ecc753586 8065972: Remove support for ParNew+SerialOld and DefNew+CMS
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
Evgeniya Stepanova
e635ae96cb 8065865: gc/TestSoftReferencesBehaviorOnOOME.java: Error. Can't find source file: TestSoftReference.java
Reviewed-by: sla
2014-11-27 14:52:01 +04:00
Filipp Zhinkin
5e21021117 8037968: Add tests on alignment of objects copied to survivor space
Reviewed-by: jmasa, dfazunen
2014-11-26 14:17:06 +04:00
Evgeniya Stepanova
0afc5ae6fc 8065749: [TESTBUG]: gc/arguments/TestG1HeapRegionSize.java fails at nightly
Reviewed-by: brutisso
2014-11-25 18:16:18 +04:00
Jesper Wilhelmsson
561b51f5ce Merge 2014-11-24 23:28:48 +01:00
Alejandro Murillo
ee49c27e76 Merge 2014-11-21 08:00:31 -08:00
Andrey Zakharov
5b5a52cd58 8059661: Test SoftReference and OOM behavior
Reviewed-by: tschatzl
2014-11-19 19:22:49 +04:00
Evgeniya Stepanova
b83ddbef42 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: brutisso
2014-11-19 17:43:19 +03:00
Andrey Zakharov
da1287a38f 8064716: TestHumongousShrinkHeap.java can not be run with -XX:+ExplicitGCInvokesConcurrent
8062957: Heap is not shrunk when deallocating under memory pressure

Added explicit -XX:-ExplicitGCInvokesConcurrent to invocations

Reviewed-by: brutisso, tschatzl
2014-11-14 17:36:56 +04:00
Jesper Wilhelmsson
1486e4bf7d Merge 2014-10-30 01:01:37 +01:00
John Coomes
894e9e8f87 8060467: CMS: small OldPLABSize and -XX:-ResizePLAB cause assert(ResizePLAB || n_blks == OldPLABSize) failed: Error
Reviewed-by: tschatzl, jmasa, kbarrett
2014-11-07 15:34:33 -08:00
Erik Helin
0e54928686 8061467: Bad page size passed to setup_large_pages() on Solaris
Reviewed-by: tschatzl, mgerdin
2014-11-05 16:39:10 +01:00
Jesper Wilhelmsson
b59b80b068 Merge 2014-11-03 15:53:48 +01:00
Bengt Rutisson
4601eb634a 8061308: Remove iCMS
Reviewed-by: mgerdin, jmasa
2014-10-31 09:10:51 +01:00
Andrey Zakharov
b9c70becab 8059614: [TESTBUG] Test for UseNUMA enable UseNUMAInterleaving
Tests that UseNUMAInterleaving enabled for all collectors by ergonomics, on all platforms when UseNUMA feature is enabled.

Reviewed-by: jmasa, dfazunen
2014-10-27 07:52:49 -07:00
Bengt Rutisson
4b60638d85 8064702: Remove the CMS foreground collector
Reviewed-by: kbarrett, ysr
2014-11-18 10:23:26 +01:00
Marcus Larsson
d10dd28393 8060116: After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails
Also reviewed by: sangheon.kim@oracle.com

Reviewed-by: brutisso
2014-10-14 19:55:54 +02:00
Sangheon Kim
3f18eda414 8058801: G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
If G1TraceReclaimDeadHumongousObjectsAtYoungGC is enabled, always print humongous object liveness output.

Reviewed-by: tschatzl
2014-10-10 12:15:51 +02:00
Marcus Larsson
08dd794b92 8059651: Tests specify -XX:+UseG1GC and -XX:ParallelGCThreads=0
Reviewed-by: jwilhelm, brutisso
2014-10-03 10:05:11 +02:00
Marcus Larsson
628fcb087d 8059527: Disallow ParallelGCThreads=0 for G1
Reviewed-by: ehelin, brutisso
2014-10-02 11:22:02 +02:00
Erik Helin
6f4355a3a6 8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02:00
Andrey Zakharov
c01e7966b6 8043766: CMM Testing: 8u40 Decommit auxiliary data structures
Check that native memory is returned to the system when decommiting memory within the heap with G1.

Reviewed-by: tschatzl, jwilhelm
2014-09-29 09:59:23 +02:00
Jesper Wilhelmsson
261735f6fa 8047976: Ergonomics for GC thread counts should update the flags
Ergonomics updates flags for number of GC threads

Reviewed-by: tschatzl, jwilhelm
2014-09-27 15:11:41 +02:00
Stefan Karlsson
970f6603c1 Merge 2014-09-16 09:31:42 +00:00
Thomas Schatzl
adf66602a0 8052172: Evacuation failure handling in G1 does not evacuate all objects if -XX:-G1DeferredRSUpdate is set
Remove -XX:-G1DeferredRSUpdate functionality as it is racy. During evacuation failure handling, threads where evacuation failure handling occurred may try to add remembered sets to regions which remembered sets are currently being scanned. The iterator to handle the remembered set scan does not support addition of entries during scan and so may skip valid references.

Reviewed-by: iveresov, brutisso, mgerdin
2014-09-16 10:28:15 +02:00
Stefan Karlsson
cdc16edaa5 8058475: TestCMSClassUnloadingEnabledHWM.java fails with '.*CMS Initial Mark.*' missing from stdout/stderr
Reviewed-by: mgerdin, tschatzl, brutisso
2014-09-16 10:13:45 +02:00
Albert Noll
6520320d1a 8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
Use separate sweeper thread; enables more aggressive sweeping.

Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Erik Helin
3eff7a8f64 8049864: TestParallelHeapSizeFlags fails with unexpected heap size
Reviewed-by: sjohanss, jmasa
2014-06-24 15:50:50 +02:00
Andrey Zakharov
debb101f7b 8056237: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java fails due to OOM
Added respect for available memory. Renamed function names

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:24 +02:00
Andrey Zakharov
f494735340 8041946: CMM Testing: 8u40 an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:13 +02:00
Stefan Karlsson
1e20d1e9f1 8057918: Update out-dated ignore tags in GC jtreg tests
Reviewed-by: ehelin, tschatzl
2014-09-09 13:55:38 +02:00
Dmitry Fazunenko
6f13f6587d 8050464: G1 string deduplication tests hang/timeout and leave running processes consuming all resources
Reviewed-by: jmasa
2014-08-28 18:38:31 +04:00
Thomas Schatzl
b89a9d94b5 8056043: Heap does not shrink within the heap after JDK-8038423
Enable shrinking within the heap by removing some code added for JDK-8054818. Enable the test case that checks that again too.

Reviewed-by: jwilhelm, jmasa
2014-08-27 08:59:05 +02:00
Leonid Mesnik
40b25893d0 8055953: [TESTBUG] Fix for 8055098 does not contain unit test
Add missing unit test.

Reviewed-by: tschatzl
2014-08-26 14:15:42 +02:00
Thomas Schatzl
71775c28e2 8054362: gc/g1/TestEagerReclaimHumongousRegions2.java timeout
Give the test a time limit of approximately one minute so that it exits early on slow machines.

Reviewed-by: ehelin, dfazunen, brutisso
2014-08-18 15:41:57 +02:00
Stefan Karlsson
173377d355 8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag
Reviewed-by: mgerdin, jwilhelm
2014-08-18 14:12:48 +02:00
Stefan Karlsson
2880629908 8054823: Add size_t as a valid VM flag type
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00
Andrey Zakharov
dd95f0a0c2 8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Thomas Schatzl
24bee82e67 8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate
Do not try to verify timing measures for the redirty logged cards phase when it is not executed.

Reviewed-by: brutisso, jmasa
2014-08-07 22:28:16 +02:00
Stefan Karlsson
ef47f5dc0e 8048269: Add flag to turn off class unloading after G1 concurrent mark
Added -XX:+/-ClassUnloadingWithConcurrentMark

Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Stefan Karlsson
bdeaedbd38 8051883: TEST.groups references missing test: gc/class_unloading/TestCMSClassUnloadingDisabledHWM.java
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-08-04 15:04:45 +02:00
Thomas Schatzl
a959c0971e 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
Eager reclaim also needs to clear marks of eagerly reclaimed regions if they have already been marked during concurrent mark.

Reviewed-by: jmasa
2014-07-31 09:23:24 +02:00
Thomas Schatzl
f161bd6d16 8027959: Early reclamation of large objects in G1
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness.

Reviewed-by: brutisso, mgerdin
2014-07-23 09:03:32 +02:00
Erik Helin
27fb967c28 Merge 2014-07-02 11:13:58 +02:00
Erik Helin
40e186ac67 8048895: Back out JDK-8027915
Reviewed-by: mgerdin, stefank
2014-07-02 11:05:10 +02:00
Thomas Schatzl
aec070cb69 8040977: G1 crashes when run with -XX:-G1DeferredRSUpdate
When G1 is run with -XX:-G1DeferredRSUpdate, the VM crashes because of wrong initialization order of member variables. The change makes the initalization explicit, not relying on initialization order any more.

Reviewed-by: brutisso, mgerdin
2014-06-26 16:01:07 +02:00
Andrey Zakharov
4d4642117e 8026847: [TESTBUG] gc/g1/TestSummarizeRSetStats* tests launch 32bit jvm with UseCompressedOops
The test launched a 32 bit VM with UseCompressedOops enabled. This is not supported on 32 bit VMs, causing a test failure. Investigation showed that the use of this flag is not required at all, so simply remove it.

Reviewed-by: tschatzl, jwilhelm
2014-06-25 17:22:58 +02:00
Erik Helin
4241d1c605 8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
Reviewed-by: jmasa, sjohanss
2014-06-24 15:50:50 +02:00
Bengt Rutisson
9672a26d51 8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +02:00
Erik Helin
65cf6a8edc 8042933: assert(capacity_until_gc >= committed_bytes) failed
Reviewed-by: stefank, jmasa
2014-05-29 14:31:28 +02:00
Per Lidén
44fc435b7e 8042310: TestStringDeduplicationMemoryUsage test failing
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:43:51 +02:00
Per Lidén
06a856ab8a 8044132: Quarantine unstable/broken GC tests
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:37:39 +02:00
Dmitry Fazunenko
ef1fa497b3 8040250: The test test/gc/parallelScavenge/TestDynShrinkHeap.java fails with OOME
Reviewed-by: jmasa, iignatyev
2014-05-26 19:21:01 +04:00
Dmitry Fazunenko
049c499423 8039489: Refactor test framework for dynamic VM options
Reviewed-by: jmasa, ehelin, jwilhelm
2014-05-20 18:25:14 +04:00
Jon Masamitsu
6049e98a0e 8038928: gc/g1/TestGCLogMessages.java fail with "[Evacuation Failure'
Reviewed-by: ysr, brutisso, tschatzl
2014-05-11 16:35:43 -07:00
Thomas Schatzl
c5ef16027b 8019342: G1: High "Other" time most likely due to card redirtying
Parallelize card redirtying to decrease the time it takes.

Reviewed-by: brutisso
2014-04-16 16:46:58 +02:00
Andrey Zakharov
bacf6d7233 8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added.

Reviewed-by: ehelin, tschatzl, jwilhelm
2014-04-15 18:09:53 +02:00
Andrey Zakharov
514cdc2b0d 8037924: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
New test implemented

Reviewed-by: ehelin, tschatzl
2014-04-11 18:28:39 +02:00
Erik Helin
4bc795f2db Merge 2014-04-08 13:50:58 +02:00
Dmitry Samersoff
5c15816a53 Merge 2014-03-30 03:29:48 -07:00
Erik Helin
98d8c51389 8027924: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with warning
Reviewed-by: jmasa, tschatzl
2014-03-26 16:33:13 +01:00
Per Lidén
15efa470b9 8038461: Test gc/g1/TestStringDeduplicationMemoryUsage.java fails with unexpected memory usage
Reviewed-by: jmasa, sjohanss
2014-04-03 10:39:27 +02:00
Yasumasa Suenaga
57d7e49ab1 7090324: gclog rotation via external tool
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.

Reviewed-by: sla, minqi, ehelin
2014-03-28 21:04:37 -07:00
Per Lidén
4a4c0fce93 8029075: String deduplication in G1
Implementation of JEP 192, http://openjdk.java.net/jeps/192

Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Tao Mao
7a39c2c7d5 6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency
Adapt InitialTenuringThreshold and MaxTenuringThreshold according to AlwaysTenure/NeverTenure flag setting.

Reviewed-by: jmasa, tschatzl
2014-03-26 12:49:34 +01:00
Andrey Zakharov
29387ae1a7 8037510: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
Added tests for Min/MaxHeapFreeRatio flags

Reviewed-by: jwilhelm, tschatzl
2014-03-17 16:29:13 +01:00
Thomas Schatzl
2a8616c9d6 8035654: Add times for evacuation failure handling in "Other" time
Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.

Reviewed-by: jwilhelm, jmasa
2014-03-17 10:13:42 +01:00
Thomas Schatzl
80188ce0b2 8035398: Add card redirty time in "Other" time in G1
Show the time taken by card redirtying during GC in a new "Redirty Cards" line.

Reviewed-by: jwilhelm, brutisso
2014-03-17 10:13:27 +01:00
Thomas Schatzl
d3e28ca682 8027295: Free CSet takes ~50% of young pause time
Improve fast card cache iteration and avoid taking locks when freeing the collection set.

Reviewed-by: brutisso
2014-03-17 10:13:18 +01:00
Thomas Schatzl
329e55e7b0 8035406: Improve data structure for Code Cache remembered sets
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.

Reviewed-by: mgerdin, brutisso
2014-03-17 10:12:21 +01:00
Erik Helin
814dad45e0 8028254: gc/arguments/TestMinInitialErgonomics.java failed with unexpected initial heap size
Reviewed-by: brutisso, tschatzl, sjohanss
2014-02-05 10:09:54 +01:00
Thomas Schatzl
0bc1701ea0 8032771: The flag VerifySilently misses a test case
Add test case for the VerifySilently flag.

Reviewed-by: brutisso
2014-01-31 09:55:59 +01:00
Stefan Johansson
a23ee6de8d 8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
Using pointer_delta to avoid overflowing pointer calculation.

Reviewed-by: jmasa, tschatzl
2014-01-20 10:55:54 +01:00
Thomas Schatzl
4bb3631855 8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses

Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.

Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Mikael Vidstedt
a0da47fd66 8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
Copyright year updated for files modified during 2013

Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Bengt Rutisson
fd42fb4446 8027440: DefNew does not log heap change information when a promotion failure occurs
Reviewed-by: tamao, jmasa
2013-12-16 13:43:06 +01:00
Thomas Schatzl
6f46da6198 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts.

Reviewed-by: jmasa, tamao
2013-11-07 15:17:10 +01:00
Jesper Wilhelmsson
0fa3a71c8a 8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector

Major cleanup of the collectorpolicy classes

Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Bengt Rutisson
f12f991935 8027132: Print deprecation warning message for the flags controlling the CMS foreground collector
Reviewed-by: stefank, ehelin, ysr, tschatzl
2013-10-28 13:27:57 +01:00
Stefan Karlsson
ddd9098a27 8026781: Add missing test to exercise -XX:+UseLargePagesInMetaspace
Reviewed-by: mgerdin, brutisso
2013-10-21 09:34:10 +02:00
Stefan Karlsson
9f6e8976d0 Merge 2013-10-15 07:10:09 -07:00
Per Lidén
c6e227a3e6 8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
2013-10-15 11:44:47 +02:00
Per Lidén
908dd54639 8023158: hotspot/test/gc/7168848/HumongousAlloc.java fails 14 full gcs, expect 0 full gcs
Reviewed-by: brutisso, tschatzl
2013-10-15 11:38:47 +02:00
Stefan Johansson
3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Erik Helin
ac15ca0d6a Merge 2013-10-02 18:24:58 +02:00