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,
org.graalvm.compiler.phases.util.Providers providers) |
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.
|
static int |
generateIdentityHashCode(Object obj) |
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,
org.graalvm.compiler.phases.util.Providers providers)
public static int generateIdentityHashCode(Object obj)