diff --git a/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/context/RContext.java b/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/context/RContext.java
index 3544f269c745fdd94f4727cde5c57a5533e51eb1..9762df621c5343f76c61707e1d479458f11752de 100644
--- a/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/context/RContext.java
+++ b/com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/context/RContext.java
@@ -692,12 +692,17 @@ public final class RContext {
             // methods information
             assert contextKind != ContextKind.SHARE_NOTHING;
             assert parentContext != null;
-            return parentContext.getPrimitiveMethodsInfo();
+            return parentContext.getPrimitiveMethodsInfoWithBoundary();
         } else {
             return primitiveMethodsInfo;
         }
     }
 
+    @TruffleBoundary
+    private PrimitiveMethodsInfo getPrimitiveMethodsInfoWithBoundary() {
+        return getPrimitiveMethodsInfo();
+    }
+
     /**
      * This is a static property of the implementation and not context-specific.
      */