Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntime.java @ 13361:5a6c617a66ac
added -G:+CompileTheWorldVerbose and -G:CompileTheWorldIterations options
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Dec 2013 16:41:26 +0100 |
parents | 0e5c4f9fa9a5 |
children | 606959535fd4 |
comparison
equal
deleted
inserted
replaced
13360:cf7b5b507541 | 13361:5a6c617a66ac |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.graal.hotspot; | 23 package com.oracle.graal.hotspot; |
24 | 24 |
25 import static com.oracle.graal.graph.UnsafeAccess.*; | 25 import static com.oracle.graal.graph.UnsafeAccess.*; |
26 import static com.oracle.graal.hotspot.CompileTheWorld.*; | |
27 import static com.oracle.graal.hotspot.HotSpotGraalRuntime.Options.*; | 26 import static com.oracle.graal.hotspot.HotSpotGraalRuntime.Options.*; |
28 import static com.oracle.graal.phases.GraalOptions.*; | 27 import static com.oracle.graal.phases.GraalOptions.*; |
29 | 28 |
30 import java.lang.reflect.*; | 29 import java.lang.reflect.*; |
31 import java.util.*; | 30 import java.util.*; |
231 initMirror(typeLong); | 230 initMirror(typeLong); |
232 initMirror(typeFloat); | 231 initMirror(typeFloat); |
233 initMirror(typeDouble); | 232 initMirror(typeDouble); |
234 initMirror(typeVoid); | 233 initMirror(typeVoid); |
235 | 234 |
236 // Set some global options: | 235 CompileTheWorld.Options.overrideWithNativeOptions(config); |
237 if (config.compileTheWorld && CompileTheWorld.Options.CompileTheWorldClasspath.getValue() == null) { | |
238 CompileTheWorld.Options.CompileTheWorldClasspath.setValue(SUN_BOOT_CLASS_PATH); | |
239 } | |
240 if (config.compileTheWorldStartAt != 1) { | |
241 CompileTheWorld.Options.CompileTheWorldStartAt.setValue(config.compileTheWorldStartAt); | |
242 } | |
243 if (config.compileTheWorldStopAt != Integer.MAX_VALUE) { | |
244 CompileTheWorld.Options.CompileTheWorldStopAt.setValue(config.compileTheWorldStopAt); | |
245 } | |
246 | 236 |
247 // Only set HotSpotPrintCompilation and HotSpotPrintInlining if they still have their | 237 // Only set HotSpotPrintCompilation and HotSpotPrintInlining if they still have their |
248 // default value (false). | 238 // default value (false). |
249 if (HotSpotPrintCompilation.getValue() == false) { | 239 if (HotSpotPrintCompilation.getValue() == false) { |
250 HotSpotPrintCompilation.setValue(config.printCompilation); | 240 HotSpotPrintCompilation.setValue(config.printCompilation); |