RFR(XS): 8205703: [JVMCI] Expose all GC selection flags
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Jun 26 19:09:31 UTC 2018
Good.
Vladimir
On 6/26/18 11:50 AM, Doug Simon wrote:
> Graal now explicitly whitelists the GCs it supports[1]. This involves looping over all the -XX:Use*GC selector flags. The flag values are read from HotSpotVMConfigAccess.readFlag[2] which needs to make a VM call for each flag not in the predefined set of flags included when initializing JVMCI. By including all the GC selector flags in the predefined set, these VM calls can be avoided.
>
> https://bugs.openjdk.java.net/browse/JDK-8205703
> http://cr.openjdk.java.net/~dnsimon/8205703/
>
> -Doug
>
> [1] https://github.com/oracle/graal/blob/3ff06d1617240c5e6b7747d1305a060fd5c69369/compiler/src/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalRuntime.java#L157
> [2] http://hg.openjdk.java.net/jdk/jdk/file/0fb45c3b185e/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotVMConfigAccess.java#l277
>
>
More information about the hotspot-compiler-dev
mailing list