What is Method::_jfr_towrite ?

Andrew Haley aph at redhat.com
Tue Jan 24 14:27:41 UTC 2017


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