public final class OptimizedAssumption extends com.oracle.truffle.api.impl.AbstractAssumption
Modifier and Type | Class and Description |
---|---|
private static class |
OptimizedAssumption.Entry |
Modifier and Type | Field and Description |
---|---|
private OptimizedAssumption.Entry |
first |
Constructor and Description |
---|
OptimizedAssumption(String name) |
Modifier and Type | Method and Description |
---|---|
void |
check() |
void |
invalidate() |
private void |
invalidateImpl() |
private void |
invalidateWithReason(InstalledCode installedCode,
String reason) |
boolean |
isValid() |
private void |
logInvalidatedInstalledCode(InstalledCode installedCode) |
private static void |
logStackTrace() |
void |
registerInstalledCode(InstalledCode installedCode) |
private OptimizedAssumption.Entry first
public OptimizedAssumption(String name)
public void check() throws com.oracle.truffle.api.nodes.InvalidAssumptionException
com.oracle.truffle.api.nodes.InvalidAssumptionException
public void invalidate()
private void invalidateImpl()
public void registerInstalledCode(InstalledCode installedCode)
private void invalidateWithReason(InstalledCode installedCode, String reason)
public boolean isValid()
private void logInvalidatedInstalledCode(InstalledCode installedCode)
private static void logStackTrace()