< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/HotSpotReplacementsUtil.java

Print this page
rev 49649 : [mq]: heap14

@@ -176,15 +176,15 @@
     @Fold
     public static int threadTlabTopOffset(@InjectedParameter GraalHotSpotVMConfig config) {
         return config.threadTlabTopOffset();
     }
 
-    public static final LocationIdentity TLAB_END_LOCATION = NamedLocationIdentity.mutable("TlabEnd");
+    public static final LocationIdentity TLAB_FAST_PATH_END_LOCATION = NamedLocationIdentity.mutable("TlabFastPathEnd");
 
     @Fold
-    static int threadTlabEndOffset(@InjectedParameter GraalHotSpotVMConfig config) {
-        return config.threadTlabEndOffset();
+    static int threadTlabFastPathEndOffset(@InjectedParameter GraalHotSpotVMConfig config) {
+        return config.threadTlabFastPathEndOffset();
     }
 
     public static final LocationIdentity TLAB_START_LOCATION = NamedLocationIdentity.mutable("TlabStart");
 
     @Fold

@@ -243,12 +243,12 @@
 
     public static Word readTlabTop(Word thread) {
         return thread.readWord(threadTlabTopOffset(INJECTED_VMCONFIG), TLAB_TOP_LOCATION);
     }
 
-    public static Word readTlabEnd(Word thread) {
-        return thread.readWord(threadTlabEndOffset(INJECTED_VMCONFIG), TLAB_END_LOCATION);
+    public static Word readTlabFastPathEnd(Word thread) {
+        return thread.readWord(threadTlabFastPathEndOffset(INJECTED_VMCONFIG), TLAB_FAST_PATH_END_LOCATION);
     }
 
     public static Word readTlabStart(Word thread) {
         return thread.readWord(threadTlabStartOffset(INJECTED_VMCONFIG), TLAB_START_LOCATION);
     }

@@ -259,11 +259,11 @@
 
     @SuppressFBWarnings(value = "NP_NULL_PARAM_DEREF_NONVIRTUAL", justification = "foldable method parameters are injected")
     public static void initializeTlab(Word thread, Word start, Word end) {
         thread.writeWord(threadTlabStartOffset(INJECTED_VMCONFIG), start, TLAB_START_LOCATION);
         thread.writeWord(threadTlabTopOffset(INJECTED_VMCONFIG), start, TLAB_TOP_LOCATION);
-        thread.writeWord(threadTlabEndOffset(INJECTED_VMCONFIG), end, TLAB_END_LOCATION);
+        thread.writeWord(threadTlabFastPathEndOffset(INJECTED_VMCONFIG), end, TLAB_FAST_PATH_END_LOCATION);
     }
 
     /**
      * Clears the pending exception for the given thread.
      *
< prev index next >