What is Method::_jfr_towrite ?
Doug Simon
doug.simon at oracle.com
Tue Jan 24 14:54:03 UTC 2017
I don’t know what that field is (was). I have an internal patch that makes the change you have below but I'm waiting for a new version of jdk9 that doesn’t crash due to https://bugs.openjdk.java.net/browse/JDK-8173195 before integrating it.
-Doug
> On 24 Jan 2017, at 15:27, Andrew Haley <aph at redhat.com> wrote:
>
> diff --git a/graal/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java b/graal/o
> index e6ce448..2d9d145 100644
> --- a/graal/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java
> +++ b/graal/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java
> @@ -486,7 +486,7 @@ public class GraalHotSpotVMConfig extends HotSpotVMConfigAccess {
> public final int methodCompiledEntryOffset = getFieldOffset("Method::_from_compiled_entry", Integer.class, "add
> public final int methodCodeOffset = getFieldOffset("Method::_code", Integer.class, isJDK8 ? "nmethod*" : "Compi
>
> - public final int methodFlagsJfrTowrite = getConstant("Method::_jfr_towrite", Integer.class);
> + // public final int methodFlagsJfrTowrite = getConstant("Method::_jfr_towrite", Integer.class);
> public final int methodFlagsCallerSensitive = getConstant("Method::_caller_sensitive", Integer.class);
> public final int methodFlagsForceInline = getConstant("Method::_force_inline", Integer.class);
> public final int methodFlagsDontInline = getConstant("Method::_dont_inline", Integer.class);
>
> It was removed by
>
> # Date 1484666283 -3600
> # Tue Jan 17 16:18:03 2017 +0100
> # Node ID 254d5e3a021f447582c5d892ba829672208809a7
> # Parent ad7a201398318e99d25fcb24f5566570c7c2e49b
> 8171960: Event-based tracing needs separate flag representation for Method
>
> In any case, Graal doesn't use it, and doesn't work unless I remove it.
>
> Andrew.
More information about the graal-dev
mailing list