JDK-8129430 : Tests that require G1 should be excluded from execution on embedded platform where G1 is not supported
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-22
  • Updated: 2015-09-10
  • Resolved: 2015-07-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b74Fixed
Related Reports
Relates :  
Description
There are a number of tests failing because of g1 is not supported. Such tests prints a warning on start:
  Java HotSpot(TM) Embedded Server VM warning: G1 GC is disabled in this release.
and continue execution.
But fail because they test G1 specific behavior, which is not present.


List of such tests:

hotspot:
gc/class_unloading/TestG1ClassUnloadingHWM.java
gc/g1/Test2GbHeap.java
gc/g1/TestEagerReclaimHumongousRegions.java
gc/g1/TestEagerReclaimHumongousRegionsWithRefs.java
gc/g1/TestG1TraceEagerReclaimHumongousObjects.java
gc/g1/TestHumongousAllocInitialMark.java
gc/g1/TestHumongousShrinkHeap.java
gc/g1/TestPrintRegionRememberedSetInfo.java
gc/g1/TestShrinkAuxiliaryData00.java
gc/g1/TestShrinkDefragmentedHeap.java
gc/g1/TestStringDeduplicationAgeThreshold.java
gc/g1/TestStringDeduplicationFullGC.java
gc/g1/TestStringDeduplicationInterned.java
gc/g1/TestStringDeduplicationPrintOptions.java
gc/g1/TestStringDeduplicationTableRehash.java
gc/g1/TestStringDeduplicationTableResize.java
gc/g1/TestStringDeduplicationYoungGC.java
gc/g1/TestStringSymbolTableStats.java
gc/whitebox/TestConcMarkCycleWB.java





Comments
Bug was introduced by JDK-8076995
02-07-2015

Seems i found a problem for hotspot tests. There is a TEST.groups format violation, which should be fixed. A group "needs_g1gc" definition has missed "\" at the end of line with gc/ergonomics/TestDynamicNumberOfGCThreads.java
30-06-2015

ILW = High (crash), Low (only embedded is affected), Low (do not start such test using jtreg group) = P4
23-06-2015