public class JWarmUp extends Object
Constructor and Description |
---|
JWarmUp() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkIfCompilationIsComplete()
Check if the last compilation submitted by JWarmUp is complete.
|
static void |
notifyApplicationStartUpIsDone()
Notify jvm that application startup is done.
|
static void |
notifyJVMDeoptWarmUpMethods()
Notify jvm to deoptimize warmup methods
|
public static void notifyApplicationStartUpIsDone()
Should be explicitly call after startup of application if CompilationWarmUpOptimistic is off. Otherwise, it does nothing and just prints a warning message.
public static void notifyJVMDeoptWarmUpMethods()
Should be explicitly call after startup of application and warmup compilation is completed vm option CompilationWarmUpExplicitDeopt must be on Otherwise, it does nothing and just prints a warning message.
public static boolean checkIfCompilationIsComplete()
call this method after notifyApplicationStartUpIsDone
"Copyright 2018, Alibaba, Inc."