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