public enum DeoptimizationAction extends Enum<DeoptimizationAction>
Enum Constant and Description |
---|
InvalidateRecompile
Invalidate the machine code and immediately schedule a recompilation.
|
InvalidateReprofile
Invalidate the machine code and reset the profiling information.
|
InvalidateStopCompiling
Invalidate the machine code and stop compiling the outermost method of this compilation.
|
None
Do not invalidate the machine code.
|
RecompileIfTooManyDeopts
Do not invalidate the machine code, but schedule a recompilation if this deoptimization is
triggered too often.
|
Modifier and Type | Field and Description |
---|---|
private boolean |
invalidatesCompilation |
Modifier and Type | Method and Description |
---|---|
boolean |
doesInvalidateCompilation() |
static DeoptimizationAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeoptimizationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeoptimizationAction None
public static final DeoptimizationAction RecompileIfTooManyDeopts
public static final DeoptimizationAction InvalidateReprofile
public static final DeoptimizationAction InvalidateRecompile
public static final DeoptimizationAction InvalidateStopCompiling
private final boolean invalidatesCompilation
public static DeoptimizationAction[] values()
for (DeoptimizationAction c : DeoptimizationAction.values()) System.out.println(c);
public static DeoptimizationAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean doesInvalidateCompilation()