Class FrameObject

  • Direct Known Subclasses:
    EnvironmentFrame, GenericChoiceFrame

    public class FrameObject
    extends java.lang.Object
    Base class for stack frame objects. Originally this was used to provide pool-based allocated but it turns out the normal Java GC outperforms manual pool-based allocation anyway.
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameObject()  
    • Constructor Detail

      • FrameObject

        public FrameObject()
    • Method Detail

      • linkTo

        public void linkTo​(FrameObject prior)
        Link this frame to an existing frame. In the future this might do some ref count tricks.
      • fastLinkTo

        public void fastLinkTo​(FrameObject prior)
        Link this frame to an existing frame. This will never do any funny ref count tricks.
      • getLink

        public FrameObject getLink()
        Return the prior frame in the tree.
      • close

        public void close()
        Close the frame actively. This frees any internal resources, frees this frame and frees the frame to which this is linked.