Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/RubyContext.java @ 13735:2c1c805153e6
Ruby: refactor low level instrumentation services
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Wed, 22 Jan 2014 21:02:06 -0800 |
parents | fbf448929260 |
children | 64fa70319890 |
comparison
equal
deleted
inserted
replaced
13734:7bab96d62fa3 | 13735:2c1c805153e6 |
---|---|
74 | 74 |
75 featureManager = new FeatureManager(this); | 75 featureManager = new FeatureManager(this); |
76 atExitManager = new AtExitManager(); | 76 atExitManager = new AtExitManager(); |
77 sourceManager = new SourceManager(); | 77 sourceManager = new SourceManager(); |
78 | 78 |
79 debugManager = configuration.getDebug() ? new DefaultDebugManager(this) : null; | 79 debugManager = new DefaultDebugManager(this); |
80 | 80 |
81 // Must initialize threads before fibers | 81 // Must initialize threads before fibers |
82 | 82 |
83 threadManager = new ThreadManager(this); | 83 threadManager = new ThreadManager(this); |
84 fiberManager = new FiberManager(this); | 84 fiberManager = new FiberManager(this); |
85 } | 85 } |
86 | 86 |
87 public String getLanguageShortName() { | 87 public final String getLanguageShortName() { |
88 return "Ruby"; | 88 return "Ruby " + CoreLibrary.RUBY_VERSION; |
89 } | 89 } |
90 | 90 |
91 public DebugManager getDebugManager() { | 91 public DebugManager getDebugManager() { |
92 return debugManager; | 92 return debugManager; |
93 } | 93 } |