public final class IdentityHashCodeSupport extends Object
Modifier and Type | Field and Description |
---|---|
static org.graalvm.word.LocationIdentity |
IDENTITY_HASHCODE_LOCATION |
Constructor and Description |
---|
IdentityHashCodeSupport() |
Modifier and Type | Method and Description |
---|---|
static org.graalvm.compiler.replacements.IdentityHashCodeSnippets.Templates |
createSnippetTemplates(org.graalvm.compiler.options.OptionValues options,
Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories,
org.graalvm.compiler.phases.util.Providers providers,
jdk.vm.ci.code.TargetDescription target) |
static void |
ensureInitialized()
Initialization can require synchronization which is not allowed during safepoints, so this
method can be called before using identity hash codes during a safepoint operation.
|
public static final org.graalvm.word.LocationIdentity IDENTITY_HASHCODE_LOCATION
public static void ensureInitialized()
public static org.graalvm.compiler.replacements.IdentityHashCodeSnippets.Templates createSnippetTemplates(org.graalvm.compiler.options.OptionValues options, Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories, org.graalvm.compiler.phases.util.Providers providers, jdk.vm.ci.code.TargetDescription target)