changeset 22759:f31918d83b75

Make sure truffle call boundary methods are set to not inlineable early enough.
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 06 Oct 2015 14:27:55 +0200
parents 5613c604c684
children 82f29fdcb1ce
files graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java	Mon Oct 05 14:55:24 2015 +0200
+++ b/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java	Tue Oct 06 14:27:55 2015 +0200
@@ -127,8 +127,6 @@
         private final Map<RootCallTarget, Void> callTargets = Collections.synchronizedMap(new WeakHashMap<RootCallTarget, Void>());
 
         public Lazy(HotSpotTruffleRuntime runtime) {
-            setDontInlineCallBoundaryMethod();
-
             runtime.installDefaultListeners();
 
             // Create compilation queue.
@@ -159,6 +157,7 @@
     }
 
     private HotSpotTruffleRuntime() {
+        setDontInlineCallBoundaryMethod();
     }
 
     @Override