Commit Graph

311 Commits

Author SHA1 Message Date
Aleksey Shipilev
121083c09e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:18 +03:00
Kirill Zhaldybin
bbe36d6b8f 8132717: Add tests checking that instances of j.l.Classes of a large size are allocated as Humongous
Reviewed-by: jmasa, dfazunen
2016-01-13 20:26:54 +03:00
Kirill Zhaldybin
459ed3c70a 8132720: Add tests which checks that Humongous objects are not moved after Full GC
Reviewed-by: jmasa, dfazunen
2016-01-13 20:19:15 +03:00
Poonam Bajaj
1987611067 Merge 2016-01-15 17:40:03 +00:00
Poonam Bajaj
33104c61ae 8072725: Provide more granular levels for GC verification
Add option VerifySubSet to selectively verify the memory sub-systems

Reviewed-by: kevinw, jmasa, tschatzl, dfazunen
2016-01-15 06:27:35 -08:00
Dmitry Fazunenko
dcf563b6a6 8147075: Rename old GC JTreg tests to the new naming scheme
Test/gc/7072527, test/gc/6845368, test/gc/6581734 renamed

Reviewed-by: jwilhelm, pliden
2016-01-15 16:03:46 +04:00
Dmitry Fazunenko
380897b206 8146889: Update @requires expression for GC tests to run if GC is default
Reviewed-by: tschatzl, jwilhelm
2016-01-12 21:17:13 +04:00
Sangheon Kim
7479dffbc6 8144527: NewSizeThreadIncrease would make an overflow
Revert to previous value if NewSizeThreadIncrease related calculation overflows

Reviewed-by: jwilhelm, mgerdin, mchernov
2016-01-05 17:05:13 -08:00
Kirill Zhaldybin
772ddb7a4f 8132723: Add tests which check that soft references to humongous objects should work correctly
8132724: Add tests which check that weak references to humongous objects should work correctly

Reviewed-by: jmasa, dfazunen
2015-12-17 16:46:41 +03:00
Thomas Schatzl
7806389bef 8145534: TestRemsetLogging.java takes a long time
Improve the test and test settings to decrease the time it takes.

Reviewed-by: brutisso, jmasa, dfazunen
2015-12-18 11:30:29 +01:00
Michail Chernov
a4844cbbc3 8148745: [testbug] Test gc/g1/plab/TestPLABPromotion.java fails in nightly
Reviewed-by: tschatzl, dfazunen
2016-02-08 18:54:09 +03:00
Kirill Zhaldybin
3591c7bf38 8149364: Quarantine TestSelectDefaultGC.java test
Reviewed-by: dfazunen, jwilhelm
2016-02-08 18:01:48 +03:00
Kirill Zhaldybin
5c9133fb92 8132721: Add tests which check that heap counters work as expected during Humongous allocations
Reviewed-by: jmasa, tschatzl, dfazunen
2016-02-02 18:06:14 +03:00
Bengt Rutisson
5f51924702 8148960: Humongous mis-spelled in log output
Reviewed-by: huntch, jwilhelm
2016-02-03 18:18:00 +01:00
Dmitry Fazunenko
15287614fd 8147003: Move BubbleUpRef test into CMS directory
Closed test gc/4950157/BubbleUpRef.java moved to gc/cms/TestBubbleUpRef.java

Reviewed-by: jwilhelm, brutisso
2016-02-03 20:07:30 +04:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Bengt Rutisson
0e9273e8a7 8148733: G1: Add log message to print the heap region size
Reviewed-by: sjohanss, david
2016-02-02 12:12:17 +01:00
Michail Chernov
6b3dc2210d 8141278: New tests for PLAB testing
Reviewed-by: tschatzl
2016-01-27 18:22:25 +03:00
Bengt Rutisson
31ca2b7010 8145180: Add back PrintGC, PrintGCDetails and -Xloggc
Reviewed-by: sjohanss, david
2016-01-28 10:04:35 +01:00
David Lindholm
afc61182cc 8147940: Test gc/g1/TestG1TraceEagerReclaimHumongousObjects.java fails
Reviewed-by: mgerdin, jwilhelm
2016-01-27 16:12:05 +01:00
Kirill Zhaldybin
f238510a5a 8143933: Create testlibrary for auxiliary methods used in g1/humongousObjects testing
Reviewed-by: iignatyev, dfazunen
2015-12-10 20:14:00 +03:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Dmitry Fazunenko
57b477e21a 8016752: [Newtest] regression test for PrintGCDetails and Verbose flags do not crash when ParOldGC has no memory
New regression test for parallel GC

Co-authored-by: Andrey Zakharov <andrey.x.zakharov@oracle.com>
Reviewed-by: brutisso, tschatzl
2015-11-26 14:19:29 +04:00
David Lindholm
f6343b0f69 8143587: G1 crashes with humongous object of size that almost fills a heap region
Reviewed-by: mgerdin, brutisso
2015-11-24 14:03:42 +01:00
Stefan Johansson
6983acfb5f 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2015-11-13 09:28:53 +01:00
Kim Barrett
2e45726df1 8141654: Tests missing -XX:+UnlockDiagnosticVMOptions
Add missing unlock options.

Reviewed-by: brutisso, tschatzl
2015-11-09 11:50:15 -05:00
Thomas Schatzl
00a7b7ded2 8140585: PLAB statistics are flushed too late
Move the call to G1EvacStats::adjust_desired_plab_sz() to after flushing the per-thread statistics.

Reviewed-by: mgerdin, jmasa
2015-11-10 09:29:40 +01:00
Chris Plummer
d78d0c4fa4 8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.

Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:04:04 -07:00
Eric Caspole
4e060cfa31 8060017: G1: Report heap sizing time
Report heap expansion time done on VM thread after collection. Previously this was included in "Other" time.

Reviewed-by: mgerdin, tschatzl
2015-10-20 14:01:49 -04:00
Bengt Rutisson
7f319f0c67 8139868: CMSScavengeBeforeRemark broken after JDK-8134953
Reviewed-by: sjohanss, jwilhelm
2015-10-20 14:00:00 +02:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Kirill Zhaldybin
bb35c2390c 8138958: Quarantine gc/g1/mixedgc/TestLogging.java test
Reviewed-by: brutisso, iignatyev
2015-10-07 18:02:25 +03:00
Bengt Rutisson
d3651ac249 8136991: [REDO] Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: kbarrett, tschatzl
2015-09-28 09:28:53 +02:00
Kirill Zhaldybin
a85d13c8ec 8136398: Create test that checks that G1 MixedGC produces correct output to logfile
Added test that checks that G1 MixedGC produces correct output to logfile

Reviewed-by: tschatzl
2015-09-24 18:48:50 +03:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Kirill Zhaldybin
5ee47e4f95 8134523: Humongous object test fails with OOME
Added Xms for runs with region' size 16M and 32M to prevent OOME

Reviewed-by: mgerdin, dfazunen
2015-09-09 15:14:05 +03:00
Michail Chernov
6814a6121a 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:38:07 +03:00
Dmitry Fazunenko
187c7c2b58 8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
Reviewed-by: tschatzl, jwilhelm
2015-09-07 21:30:45 +04:00
Thomas Schatzl
83e4800c47 8134857: Inconsistency in maximum TLAB/PLAB size and humongous object size
Align TLAB/PLAB size with exact humongous object size threshold, not that value -1.

Reviewed-by: jmasa, dfazunen
2015-09-04 08:36:13 +02:00
Sangheon Kim
c091c7348a 8134972: [BACKOUT] GC: implement ranges (optionally constraints) for those flags that have them missing
Reviewed-by: jwilhelm
2015-09-02 17:49:46 -07:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Sangheon Kim
cf5132e887 8078555: GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: jmasa, kbarrett, gziemski, ddmitriev, drwhite
2015-08-31 11:51:29 -07:00
Kirill Zhaldybin
176e1beb01 8132708: Add tests for Humongous objects allocation threshold
Added the test which checks that Humongous objects allocation threshold works as expected

Reviewed-by: tschatzl, dfazunen
2015-08-07 17:58:01 +03:00
Jesper Wilhelmsson
b2a4dbc30a 8130308: Too low memory usage in TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, brutisso
2015-08-18 17:32:10 +02:00
Goetz Lindenmaier
dbdadd5e40 8130434: [TESTBUG] Harden TestLargePageUseForAuxMemory for more page size combinations
Reviewed-by: tschatzl
2015-07-22 16:25:20 +02:00
Thomas Schatzl
0d758e4c43 8129977: TestSummarizeRSetStats.java fails: Incorrect amount of per-period RSet summaries at the end
Due to unrestrained initial heap size more garbage collections than expected could be started, confusing the test. Fix the initial heap size for the test to make them pass.

Reviewed-by: tbenson, dfazunen, dcubed
2015-07-03 09:49:41 +02:00
Jesper Wilhelmsson
0cd7fa860a 8130330: Quarantine gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, tschatzl
2015-07-02 18:07:42 +02:00
Stefan Johansson
e382d8095c 8129590: TestShrinkDefragmentedHeap.java runs out of memory
Reviewed-by: jwilhelm, tschatzl
2015-07-01 16:38:14 +02:00
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