changeset 22724:c7569b8dc482

added CodeCacheProvider.invalidateInstalledCode and made CompilerToVM.invalidateInstalledCode package-private
author Doug Simon <doug.simon@oracle.com>
date Tue, 29 Sep 2015 17:29:42 +0200
parents 638bfbc67270
children 58066bba9a1c
files graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java mx.graal/suite.py
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java	Tue Sep 29 17:09:42 2015 +0200
+++ b/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java	Tue Sep 29 17:29:42 2015 +0200
@@ -350,7 +350,9 @@
 
     @Override
     public void invalidateInstalledCode(OptimizedCallTarget optimizedCallTarget, Object source, CharSequence reason) {
-        compilerToVM().invalidateInstalledCode(optimizedCallTarget);
+        Providers providers = getHotSpotProviders();
+        CodeCacheProvider codeCache = providers.getCodeCache();
+        codeCache.invalidateInstalledCode(optimizedCallTarget);
         getCompilationNotify().notifyCompilationInvalidated(optimizedCallTarget, source, reason);
     }
 
--- a/mx.graal/suite.py	Tue Sep 29 17:09:42 2015 +0200
+++ b/mx.graal/suite.py	Tue Sep 29 17:29:42 2015 +0200
@@ -6,7 +6,7 @@
     "suites": [
             {
                "name" : "jvmci",
-               "version" : "2e71226319dabc82684ea82cd33a6763350b70a4",
+               "version" : "f53dfbf08c71ea1f202ef1f101a1d4ee374d9cab",
                "urls" : [
                     {"url" : "http://lafo.ssw.uni-linz.ac.at/hg/graal-jvmci-8", "kind" : "hg"},
                     {"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"},