public class DebugOptions extends Object
DebugContext and related functionality.| Modifier and Type | Class and Description |
|---|---|
static class |
DebugOptions.PrintGraphTarget
Values for the
DebugOptions.PrintGraph option denoting where graphs dumped as a
result of the DebugOptions.Dump option are sent. |
| Constructor and Description |
|---|
DebugOptions() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDumpDirectory(OptionValues options)
Gets the directory in which
DebugDumpHandlers can generate output. |
static String |
getDumpDirectoryName(OptionValues options)
Returns the
DebugOptions.getDumpDirectory(org.graalvm.compiler.options.OptionValues) without attempting to create it. |
public static final EnumOptionKey<DebugOptions.PrintGraphTarget> PrintGraph
public static final OptionKey<Integer> PrintCanonicalGraphStringFlavor
public static final OptionKey<Boolean> CanonicalGraphStringsExcludeVirtuals
public static final OptionKey<Boolean> CanonicalGraphStringsCheckConstants
public static final OptionKey<Boolean> CanonicalGraphStringsRemoveIdentities
public static String getDumpDirectory(OptionValues options) throws IOException
DebugDumpHandlers can generate output. This will be the
directory specified by DebugOptions.DumpPath if it has been set otherwise it will be derived from
the default value of DebugOptions.DumpPath and GraalServices.getGlobalTimeStamp().
This method will ensure the returned directory exists, printing a message to TTY if
it creates it.IOException - if there was an error when creating a directorypublic static String getDumpDirectoryName(OptionValues options)
DebugOptions.getDumpDirectory(org.graalvm.compiler.options.OptionValues) without attempting to create it.