Package com.oracle.truffle.api.utilities
Class CyclicAssumption
java.lang.Object
com.oracle.truffle.api.utilities.CyclicAssumption
Holds an
Assumption
, and knows how to recreate it with the same properties on
invalidation. Used so that mutability is isolated in this class, and all other classes that need
an assumption that may be recreated can have a final reference to an object of this class. Note
that you should be careful that repeated invalidations do not cause a deoptimization loop in that
same way that you would with any other assumption.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CyclicAssumption
-
-
Method Details
-
invalidate
public void invalidate() -
getAssumption
-