Class CyclicAssumption


  • public class CyclicAssumption
    extends java.lang.Object
    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 Detail

      • CyclicAssumption

        public CyclicAssumption​(java.lang.String name)
    • Method Detail

      • invalidate

        public void invalidate()
      • getAssumption

        public Assumption getAssumption()