Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java @ 9902:6dfd53575553
re-enabled initialization of debug environment on main thread
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Jun 2013 10:10:46 +0200 |
parents | 063a712fe8d8 |
children | fbad7372eccd |
comparison
equal
deleted
inserted
replaced
9901:4fcd38b13eb1 | 9902:6dfd53575553 |
---|---|
50 import com.oracle.graal.nodes.spi.*; | 50 import com.oracle.graal.nodes.spi.*; |
51 import com.oracle.graal.options.*; | 51 import com.oracle.graal.options.*; |
52 import com.oracle.graal.phases.*; | 52 import com.oracle.graal.phases.*; |
53 import com.oracle.graal.phases.PhasePlan.PhasePosition; | 53 import com.oracle.graal.phases.PhasePlan.PhasePosition; |
54 import com.oracle.graal.phases.common.*; | 54 import com.oracle.graal.phases.common.*; |
55 import com.oracle.graal.printer.*; | |
55 import com.oracle.graal.replacements.*; | 56 import com.oracle.graal.replacements.*; |
56 | 57 |
57 /** | 58 /** |
58 * Exits from the HotSpot VM into Java code. | 59 * Exits from the HotSpot VM into Java code. |
59 */ | 60 */ |
175 Time.setValue(""); | 176 Time.setValue(""); |
176 } | 177 } |
177 | 178 |
178 if (DebugEnabled.getValue()) { | 179 if (DebugEnabled.getValue()) { |
179 Debug.enable(); | 180 Debug.enable(); |
181 DebugEnvironment.initialize(log); | |
180 } | 182 } |
181 | 183 |
182 // Install intrinsics. | 184 // Install intrinsics. |
183 final HotSpotRuntime runtime = graalRuntime.getCapability(HotSpotRuntime.class); | 185 final HotSpotRuntime runtime = graalRuntime.getCapability(HotSpotRuntime.class); |
184 final Replacements replacements = graalRuntime.getCapability(Replacements.class); | 186 final Replacements replacements = graalRuntime.getCapability(Replacements.class); |