The WB_IsGCSupportedByJVMCICompiler function in whitebox.cpp must use the same JVMCI environment (i.e. jarjvmci or libjvmci) that will be used by the CompileBroker. Otherwise, the question is being asked to the wrong JVMCI compiler implementation (which may not even exist in one of the 2 possible JVMCI environments).
- relates to
-
JDK-8257020 [JVMCI] enable a JVMCICompiler to specify which GCs it supports
- Resolved
- links to
-
Commit openjdk/jdk/c9b6bb5b
-
Review(master) openjdk/jdk/13971