public abstract class SpeculationLog extends Object
Modifier and Type | Field and Description |
---|---|
private Set<Object> |
failedSpeculations |
private Object |
lastFailed |
private Collection<Object> |
speculations |
Constructor and Description |
---|
SpeculationLog() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSpeculation(Object reason) |
void |
collectFailedSpeculations() |
boolean |
maySpeculate(Object reason) |
abstract JavaConstant |
speculate(Object reason) |
private volatile Object lastFailed
private volatile Collection<Object> speculations
private Set<Object> failedSpeculations
public SpeculationLog()
public void collectFailedSpeculations()
public boolean maySpeculate(Object reason)
protected void addSpeculation(Object reason)
public abstract JavaConstant speculate(Object reason)