JDK-8139524 : JVMCI cannot be initialized with CMS or Serial GCs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-10-13
  • Updated: 2017-08-07
  • Resolved: 2015-10-14
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 b89Fixed
Related Reports
Duplicate :  
Description
if -Xconcgc, -XX:+UseConcMarkSweepGC or other flags enable CMS GC, all compiler/jvmci tests fail w/
jdk.vm.ci.common.JVMCIError: unimplemented
	at jdk.vm.ci.common.JVMCIError.unimplemented(JVMCIError.java:36)
	at jdk.vm.ci.hotspot.HotSpotVMConfig.<init>(HotSpotVMConfig.java:95)
	at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.<init>(HotSpotJVMCIRuntime.java:128)
	at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.<init>(HotSpotJVMCIRuntime.java:40)
	at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$DelayedInit.<clinit>(HotSpotJVMCIRuntime.java:67)
	at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime(HotSpotJVMCIRuntime.java:82)
	at jdk.vm.ci.runtime.JVMCI.initializeRuntime(Native Method)
	at jdk.vm.ci.runtime.JVMCI.<clinit>(JVMCI.java:58)
	at jdk.vm.ci.runtime.test.TypeUniverse.<clinit>(TypeUniverse.java:50)

UseSerialGC leads to the same exception.
Comments
We decided to extract this change and push it separately so we are not breaking other team's nightlies.
13-10-2015

This will be fixed with JDK-8139170: http://cr.openjdk.java.net/~twisti/8139170/webrev/src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotVMConfig.java.udiff.html
13-10-2015