< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/BootstrapWatchDog.java

Print this page

        

*** 37,46 **** --- 37,47 ---- import org.graalvm.compiler.options.OptionKey; import org.graalvm.compiler.options.OptionType; import org.graalvm.compiler.options.OptionValues; import jdk.vm.ci.code.CompilationRequest; + import jdk.vm.ci.services.Services; /** * A watch dog that monitors the duration and compilation rate during a * {@linkplain HotSpotGraalRuntimeProvider#isBootstrapping() bootstrap}. If time spent bootstrapping * exceeds a specified timeout or the compilation rate falls below a given ratio of the maximum
*** 106,116 **** } /** * Set to true to debug the watch dog. */ ! private static final boolean DEBUG = Boolean.getBoolean("debug.graal.BootstrapWatchDog"); /** * Seconds to delay before starting to measure the compilation rate. */ private static final int INITIAL_DELAY = 10; --- 107,117 ---- } /** * Set to true to debug the watch dog. */ ! private static final boolean DEBUG = Boolean.parseBoolean(Services.getSavedProperties().get("debug.graal.BootstrapWatchDog")); /** * Seconds to delay before starting to measure the compilation rate. */ private static final int INITIAL_DELAY = 10;
< prev index next >