public static enum GraphBuilderConfiguration.DebugInfoMode extends Enum<GraphBuilderConfiguration.DebugInfoMode>
Enum Constant and Description |
---|
Full
In this mode,
FullInfopointNode s are generated in the same locations as in
Simple mode but the infopoints have access to the runtime values. |
SafePointsOnly |
Simple
This mode inserts
SimpleInfopointNode s in places where no safepoints would be
inserted: inlining boundaries, and line number switches. |
Modifier and Type | Method and Description |
---|---|
static GraphBuilderConfiguration.DebugInfoMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphBuilderConfiguration.DebugInfoMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphBuilderConfiguration.DebugInfoMode SafePointsOnly
public static final GraphBuilderConfiguration.DebugInfoMode Simple
SimpleInfopointNode
s in places where no safepoints would be
inserted: inlining boundaries, and line number switches.
In this mode the infopoint only have a location (method and bytecode index) and no values.
This is useful to have better program counter to bci mapping and has no influence on the generated code. However it can increase the amount of metadata and does not allow access to accessing values at runtime.
public static final GraphBuilderConfiguration.DebugInfoMode Full
FullInfopointNode
s are generated in the same locations as in
Simple
mode but the infopoints have access to the runtime values.
This is relevant when code is to be generated for native, machine-code level debugging but can have a limit the amount of optimization applied to the code.
public static GraphBuilderConfiguration.DebugInfoMode[] values()
for (GraphBuilderConfiguration.DebugInfoMode c : GraphBuilderConfiguration.DebugInfoMode.values()) System.out.println(c);
public static GraphBuilderConfiguration.DebugInfoMode 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 null