public final class PerformanceInformationHandler extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static PerformanceInformationHandler |
install(org.graalvm.options.OptionValues options) |
static boolean |
isWarningEnabled(PolyglotCompilerOptions.PerformanceWarningKind warningKind) |
static void |
logPerformanceWarning(PolyglotCompilerOptions.PerformanceWarningKind warningKind,
CompilableTruffleAST compilable,
List<? extends Node> locations,
String details,
Map<String,Object> properties) |
void |
reportPerformanceWarnings(CompilableTruffleAST target,
StructuredGraph graph) |
public void close()
close in interface Closeableclose in interface AutoCloseablepublic static PerformanceInformationHandler install(org.graalvm.options.OptionValues options)
public static boolean isWarningEnabled(PolyglotCompilerOptions.PerformanceWarningKind warningKind)
public static void logPerformanceWarning(PolyglotCompilerOptions.PerformanceWarningKind warningKind, CompilableTruffleAST compilable, List<? extends Node> locations, String details, Map<String,Object> properties)
public void reportPerformanceWarnings(CompilableTruffleAST target, StructuredGraph graph)