Class AbstractNewObjectNode

All Implemented Interfaces:
Cloneable, Formattable, DeoptimizingNode, DeoptimizingNode.DeoptBefore, FixedNodeInterface, FixedWithNextNodeInterface, Lowerable, NodeWithState, ValueNodeInterface
Direct Known Subclasses:
AbstractNewArrayNode, DynamicNewInstanceNode, NewInstanceNode

public abstract class AbstractNewObjectNode extends DeoptimizingFixedWithNextNode implements Lowerable
The AbstractNewObjectNode is the base class for the new instance and new array nodes.
  • Field Details

  • Constructor Details

  • Method Details

    • fillContents

      public boolean fillContents()
      Returns:
      true if the object's contents should be initialized to zero/null.
    • setFillContents

      public void setFillContents(boolean fillContents)
    • canDeoptimize

      public boolean canDeoptimize()
      Description copied from interface: DeoptimizingNode
      Determines if this node needs deoptimization information.
      Specified by:
      canDeoptimize in interface DeoptimizingNode
    • emitMemoryBarrier

      public boolean emitMemoryBarrier()
    • clearEmitMemoryBarrier

      public void clearEmitMemoryBarrier()