diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java @ 15891:09ac9ac9c4fc

Truffle: SourceManager renamed to SourceFactory - All methods are static, no longer accessed via ExecutionContext - Sources are indexed with weak references - File content caching is now optional; off by default
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Sat, 24 May 2014 10:34:43 -0700
parents eb947cc7bff9
children eedf6c293639
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java	Wed May 21 21:07:15 2014 -0700
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java	Sat May 24 10:34:43 2014 -0700
@@ -39,7 +39,6 @@
 public abstract class ExecutionContext {
 
     private final ProbeManager probeManager = new ProbeManager();
-    private final SourceManager sourceManager = new SourceManager();
     private final List<SourceListener> sourceListeners = new ArrayList<>();
     private Visualizer visualizer = new DefaultVisualizer();
 
@@ -64,13 +63,6 @@
     }
 
     /**
-     * Gets access to source management services.
-     */
-    public final SourceManager getSourceManager() {
-        return sourceManager;
-    }
-
-    /**
      * Registers a tool interested in being notified about the loading of {@link Source}s.
      */
     public final void addSourceListener(SourceListener listener) {