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
Mikael Gerdin
9204842093
8012525: gc/metaspace/G1AddMetaspaceDependency.java Test fails a safepoint timeout assertion or hangs
...
Reviewed-by: brutisso, tschatzl
2013-10-02 14:33:32 +02:00
Thomas Schatzl
f144f37f49
8025441: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
...
The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads.
Reviewed-by: brutisso
2013-09-30 12:43:59 +02:00
Erik Helin
2722c5d966
8025226: TestPerfCountersAndMemoryPools.java fails with -Xmixed or -Xcomp
...
Reviewed-by: brutisso, mgerdin
2013-09-30 11:39:07 +02:00
Thomas Schatzl
bd9ffce267
8014078: G1: improve remembered set summary information by providing per region type information
...
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis.
Reviewed-by: brutisso
2013-09-26 12:49:45 +02:00
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +02:00
Thomas Schatzl
3111ab9115
Merge
2013-09-18 15:59:41 +02:00
Thomas Schatzl
3e4a59f797
8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile
...
Fix compilation error and use of an outdated VM option in the test
Reviewed-by: stefank, jwilhelm
2013-09-18 10:02:19 +02:00
Erik Helin
2cab7ea037
8024718: Metaspace performance counters and memory pools should report the same data
...
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Christian Tornqvist
0051ace82a
8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk
...
Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk
Reviewed-by: dholmes, hseigel
2013-09-17 16:55:53 +02:00
Thomas Schatzl
05929860a5
Merge
2013-09-16 13:32:44 +02:00
Thomas Schatzl
3184042cd1
8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
...
Loosen wrong assert for UseParallelOldGC to UseParallelGC
Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Thomas Schatzl
b4e927d2a9
Merge
2013-09-16 09:41:03 +02:00
Stefan Karlsson
860b5dcec7
8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize
...
Reviewed-by: jwilhelm, brutisso, tschatzl
2013-09-13 22:22:14 +02:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Thomas Schatzl
87a98b7267
8021823: G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs
...
Correctly calculate the initialization value for the shift between object start and bitmap bit in the G1 mark bitmaps.
Reviewed-by: tonyp
2013-09-11 10:19:16 +02:00
Igor Ignatyev
c73d393947
8012447: Java CTW implementation
...
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Erik Helin
30f059b5fc
8015107: NPG: Use consistent naming for metaspace concepts
...
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Erik Helin
3ea9481c2f
8014659: NPG: performance counters for compressed klass space
...
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Bengt Rutisson
a1e1caf8ba
8021879: G1: G1HeapRegionSize flag value not updated correctly
...
Reviewed-by: tschatzl, jmasa
2013-08-01 09:35:04 +02:00
Bengt Rutisson
5a10114616
8021967: Deprecate -XX:DefaultMaxRAMFraction
...
Reviewed-by: tschatzl, jmasa, kvn, tamao
2013-08-01 07:03:07 +02:00
Thomas Schatzl
93e5db7033
8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build"
...
Remove the @build tag and replace it by a @run tag so that the test gets executed
Reviewed-by: brutisso, mgerdin
2013-07-24 10:07:37 +02:00
Tao Mao
7109e85e43
8017611: Auto corrector for mistyped vm options
...
The auto corrector for mistyped vm options fuzzy-matches existing flags based on string similarity (Dice's coefficient).
Reviewed-by: kvn, dsamersoff, hseigel, johnc
2013-06-28 20:18:04 -07:00
Erik Helin
604a75ff30
8013590: NPG: Add a memory pool MXBean for Metaspace
...
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Jon Masamitsu
ca3a1be3fe
8014851: UseAdaptiveGCBoundary is broken
...
Reviewed-by: tschatzl, brutisso
2013-06-25 15:17:11 -07:00
Thomas Schatzl
54964edefa
8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen
...
Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary.
Reviewed-by: johnc, jwilhelm
2013-05-28 09:32:06 +02:00
Thomas Schatzl
b8276670c2
8014765: VM exits if MaxTenuringThreshold is set below the default InitialTenuringThreshold, and InitialTenuringThreshold is not set
...
The VM exits when the condition in the subject line applies. The fix sets InitialTenuringThreshold to MaxTenuringThreshold if it is larger than MaxTenuringThreshold and InitialTenuringThreshold has not been set (is default).
Reviewed-by: jwilhelm, jmasa, brutisso, johnc
2013-05-16 23:51:51 +02:00
John Cuthbertson
5838d847a1
8010738: G1: Output for full GCs with +PrintGCDetails should contain perm gen size/meta data change info
...
Include metaspace information (used, allocated, reserved) in the PrintGCDetails output for full GCs.
Reviewed-by: poonam, jmasa, brutisso
2013-05-16 09:24:26 -07:00
Thomas Schatzl
5ebe77bb6b
8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo
...
Improve the output of G1PrintRegionLivenessInfo by adding a per-region remembered set size information column
Reviewed-by: jwilhelm, johnc
2013-05-16 13:02:33 +02:00
Thomas Schatzl
9ce9586188
8014489: tests/gc/arguments/Test(Serial|CMS|Parallel|G1)HeapSizeFlags jtreg tests invoke wrong class
...
Some jtreg tests reference unknown classes in the @run and @build lines. This change fixes them.
Reviewed-by: stefank, ehelin
2013-05-14 17:08:31 +02:00
Thomas Schatzl
9cfde1acc3
8014058: Regression tests for 8006088
...
The patch for 8006088 misses regression tests after a merge error, this CR provides them.
Reviewed-by: jwilhelm, tamao, jmasa
2013-05-13 09:45:33 +02:00
Jon Masamitsu
bbff951f67
8013184: CMS: Call reset_after_compaction() only if a compaction has been done
...
Reviewed-by: mgerdin, johnc, tschatzl
2013-05-08 17:12:52 -07:00
Jon Masamitsu
973d0400c4
8013032: CMS: assert(used() == used_after_gc && used_after_gc <= capacity()) failed: used: 0 used_after_gc: 292080 capacity: 1431699456
...
Reviewed-by: tschatzl, mgerdin, johnc
2013-05-08 16:28:03 -07:00
Bengt Rutisson
a8ad116e49
8013872: G1: HeapRegionSeq::shrink_by() has invalid assert
...
Refactored shrink_by() to only use region counts and not byte sizes
Reviewed-by: johnc, tschatzl
2013-05-06 21:30:34 +02:00
Bengt Rutisson
36c195270d
8013791: G1: G1CollectorPolicy::initialize_flags() may set min_alignment > max_alignment
...
Make sure max alignemnt is at least as large as min alignment
Reviewed-by: johnc, jmasa, tschatzl
2013-05-06 09:16:14 +02:00
John Cuthbertson
fefd60fcfd
8011898: gc/TestVerifyBeforeGCDuringStartup.java: java.lang.RuntimeException: '[Verifying' missing from stdout/stderr: [Error: Could not find or load main class]
...
System.getProperty("test.java.opts") can return NULL, which gets converted to to the empty string, and the child java command then interprets that as the name of the main class.
Reviewed-by: jmasa, brutisso
2013-04-26 10:57:57 -07:00
Jon Masamitsu
ddbf6ad621
8012111: Remove warning about CMS generation shrinking
...
Reviewed-by: johnc, brutisso, stefank
2013-04-22 22:00:03 -07:00
Kevin Walls
4e6c27cef0
7109087: gc/7072527/TestFullGCCount.java fails when GC is set in command-line
...
Reviewed-by: mgerdin
2013-04-18 17:02:20 +01:00
Mikael Gerdin
0edccc9e61
8010196: NPG: Internal Error: Metaspace allocation lock -- possible deadlock
...
Refactor the CLD dependency list into a separate class. Use an ObjectLocker to synchronize additions to the CLD dependency list.
Reviewed-by: stefank, coleenp
2013-04-10 13:27:35 +02:00
Leonid Mesnik
6f3fdce7b3
8009808: TEST-BUG : test case is using bash style tests. Default shell for jtreg is bourne. thus failure
...
Rewrite test to use Java only instead of shell script
Reviewed-by: mgerdin, brutisso
2013-04-09 15:32:45 +02:00
John Cuthbertson
90d010120f
8011343: Add new flag for verifying the heap during startup
...
Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
2013-04-05 10:20:04 -07:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +02:00
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Erik Helin
d67e393dd6
8009408: gc/metaspace/ClassMetaspaceSizeInJmapHeap.java fails with "exit code 1"
...
Reviewed-by: brutisso, sla, ctornqvi
2013-03-23 09:16:37 +01:00
John Cuthbertson
9c89e6d28a
8010463: G1: Crashes with -UseTLAB and heap verification
...
Some parts of the G1 heap can only be walked during a safepoint. Skip verifying these parts of the heap when verifying during JVM startup.
Reviewed-by: brutisso, tschatzl
2013-03-29 13:49:37 -07:00
Erik Helin
cf6d13410c
8010818: NPG: Remove metaspace memory pools
...
Reviewed-by: mgerdin, stefank
2013-03-27 10:55:37 +01:00
Erik Helin
902be4665b
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
...
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Erik Helin
919ef8e0df
8004924: NPG: jmap -heap output should contain ClassMetaspaceSize value
...
Reviewed-by: stefank, mgerdin
2013-02-06 07:48:02 +01:00
John Cuthbertson
1d1641be2f
8008188: Add regression test for 8005875
...
Add regression test for crash seen in 8005875. Test is run with G1 and PGCT=0 and issues "jcmd <pid> Thread.print" against itself. Without the fix for 8005875 the test will crash.
Reviewed-by: brutisso
2013-02-20 12:52:13 -08:00
Filipp Zhinkin
bfe250c236
8006628: NEED_TEST for JDK-8002870
...
Regression test for 8000311. Verifies that PLABStats works with zero parallel GC threads.
Reviewed-by: jmasa, johnc
2013-02-19 16:22:28 -08:00
Bengt Rutisson
c2f4ba73be
8006398: Add regression tests for deprectated GCs
...
Reviewed-by: ehelin, jwilhelm, jmasa
2013-02-14 09:11:43 +01:00
Pavel Punegov
373b8ccd27
7191926: Remove MKS dependency in Hotspot regression tests
...
Add case for CYGWIN in .sh files.
Reviewed-by: coleenp, kvn
2012-08-29 14:49:05 -04:00
Coleen Phillimore
d52b3a7eb7
7129723: MAC: Some regression tests need to recognize Mac OS X platform
...
Add Darwin like Linux to shell scripts
Reviewed-by: kvn, kamg, dholmes
2012-08-01 16:52:43 -04:00
John Coomes
ec1fb16e34
Merge
2012-06-01 10:29:02 -07:00
Matherey Nunez
818597ae4f
7168848: Add test to check that humongous object allocation path also checks the heap occupancy
...
Added test that checks humongous object allocation path also check the heap occupancy and initiate a marking cycle when / if needed.
Reviewed-by: brutisso, jwilhelm
2012-05-21 14:59:59 +02:00
Kevin Walls
8b44324ec4
7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG
...
Reviewed-by: kvn
2012-05-11 17:24:32 +01:00
Krystal Mok
24e8905fdf
7072527: CMS: JMM GC counters overcount in some cases
...
Avoid overcounting when CMS has concurrent mode failure.
Reviewed-by: ysr
2011-08-02 14:37:35 +01:00
Yumin Qi
5d0ad03a55
6941923: RFE: Handling large log files produced by long running Java Applications
...
Supply optinal flags to realize gc log rotation
Reviewed-by: ysr, jwilhelm
2011-06-10 15:08:36 -07:00
Kevin Walls
2114fddad9
6980392: TEST_BUG: gc/6581734/Test6581734.java has typo
...
Simple correction in testcase
Reviewed-by: mchung
2010-08-27 16:57:04 +01:00
Kevin Walls
5fb46fd5a8
6581734: CMS Old Gen's collection usage is zero after GC which is incorrect
...
Management code enabled for use by a concurrent collector.
Reviewed-by: mchung, ysr
2010-07-30 22:43:50 +01:00
John Coomes
e379759e1b
6887948: test/gc/6845368/bigobj.java fails due to timeout
...
Reviewed-by: iveresov
2009-10-05 05:51:22 -07:00
John Coomes
e7c70c499b
6845368: large objects cause a crash or unexpected exception
...
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00