Class NewInstanceNode
- All Implemented Interfaces:
Cloneable
,Formattable
,DeoptimizingNode
,DeoptimizingNode.DeoptBefore
,FixedNodeInterface
,FixedWithNextNodeInterface
,Lowerable
,NodeWithState
,Virtualizable
,VirtualizableAllocation
,ValueNodeInterface
The
NewInstanceNode
represents the allocation of an instance class object.-
Nested Class Summary
Nested classes/interfaces inherited from class jdk.graal.compiler.graph.Node
Node.ConstantNodeParameter, Node.EdgeVisitor, Node.IndirectInputChangedCanonicalization, Node.InjectedNodeParameter, Node.Input, Node.InputsChangedCanonicalization, Node.NodeInsertionStackTrace, Node.NodeIntrinsic, Node.NodeIntrinsicFactory, Node.OptionalInput, Node.Successor, Node.ValueNumberable
Nested classes/interfaces inherited from interface jdk.graal.compiler.nodes.DeoptimizingNode
DeoptimizingNode.DeoptAfter, DeoptimizingNode.DeoptBefore, DeoptimizingNode.DeoptDuring
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final jdk.vm.ci.meta.ResolvedJavaType
static final NodeClass
<NewInstanceNode> Fields inherited from class jdk.graal.compiler.nodes.java.AbstractNewObjectNode
emitMemoryBarrier, fillContents
Fields inherited from class jdk.graal.compiler.nodes.DeoptimizingFixedWithNextNode
stateBefore
Fields inherited from class jdk.graal.compiler.nodes.FixedWithNextNode
next
Fields inherited from class jdk.graal.compiler.nodes.ValueNode
EMPTY_ARRAY, stamp
Fields inherited from class jdk.graal.compiler.graph.Node
NOT_ITERABLE, TRACK_CREATION_POSITION, WithAllEdges, WithOnlyInputEdges
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NewInstanceNode
(NodeClass<? extends NewInstanceNode> c, jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents, FrameState stateBefore) NewInstanceNode
(jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents) NewInstanceNode
(jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents, FrameState stateBefore) -
Method Summary
Modifier and TypeMethodDescriptionjdk.vm.ci.meta.ResolvedJavaType
Gets the instance class being allocated by this node.void
virtualize
(VirtualizerTool tool) A node class can implement this method to convey information about what its effect would be if some of its inputs were virtualized.Methods inherited from class jdk.graal.compiler.nodes.java.AbstractNewObjectNode
canDeoptimize, clearEmitMemoryBarrier, emitMemoryBarrier, fillContents, setFillContents
Methods inherited from class jdk.graal.compiler.nodes.DeoptimizingFixedWithNextNode
setStateBefore, stateBefore
Methods inherited from class jdk.graal.compiler.nodes.FixedWithNextNode
asFixedWithNextNode, next, setNext
Methods inherited from class jdk.graal.compiler.nodes.FixedNode
asFixedNode, verifyNode
Methods inherited from class jdk.graal.compiler.nodes.ValueNode
asConstant, asJavaConstant, asNode, checkReplaceAtUsagesInvariants, getStackKind, graph, hasUsagesOtherThan, inferStamp, isAllowedUsageType, isConstant, isConstantPredicate, isDefaultConstant, isIllegalConstant, isJavaConstant, isNullConstant, recursivelyDataFlowEqualsUpTo, setStamp, stamp, updateStamp, updateUsagesInterface
Methods inherited from class jdk.graal.compiler.graph.Node
afterClone, applyInputs, applySuccessors, assertFalse, assertTrue, cfgPredecessors, cfgSuccessors, clearInputs, clearNodeSourcePosition, clearSuccessors, copyWithInputs, copyWithInputs, dataFlowEquals, dynamicNodeSizeEstimate, estimatedNodeCycles, estimatedNodeSize, fail, formatTo, getCreationPosition, getDebug, getDebugProperties, getDebugProperties, getId, getIdBeforeDeletion, getInsertionPosition, getNodeClass, getNodeSourcePosition, getOptions, getUsageCount, hasExactlyOneUsage, hasExactlyOneUsageOfType, hashCode, hasMoreThanOneUsage, hasNoUsages, hasUsages, inputPositions, inputs, isAlive, isDeleted, isUnregistered, markDeleted, maybeNotifyZeroUsages, modCount, predecessor, pushInputs, removeDeadUsages, removeUsage, removeUsages, replaceAllInputs, replaceAndDelete, replaceAtAllUsages, replaceAtMatchingUsages, replaceAtPredecessor, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsagesAndDelete, replaceFirstInput, replaceFirstSuccessor, safeDelete, setCreationPosition, setInsertionPosition, setNodeSourcePosition, singleUsage, successorPositions, successors, toString, toString, updateNodeSourcePosition, updatePredecessor, updateUsages, usages, valueEquals, verify, verify, verifyEdges, verifyInputs, withNodeSourcePosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jdk.graal.compiler.nodes.DeoptimizingNode
validateDeoptFrameStates
Methods inherited from interface jdk.graal.compiler.nodes.DeoptimizingNode.DeoptBefore
canUseAsStateDuring
Methods inherited from interface jdk.graal.compiler.nodes.FixedNodeInterface
asFixedNode
Methods inherited from interface jdk.graal.compiler.nodes.spi.NodeWithState
states
Methods inherited from interface jdk.graal.compiler.nodes.ValueNodeInterface
asNode
-
Field Details
-
TYPE
-
instanceClass
protected final jdk.vm.ci.meta.ResolvedJavaType instanceClass
-
-
Constructor Details
-
NewInstanceNode
public NewInstanceNode(jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents) -
NewInstanceNode
public NewInstanceNode(jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents, FrameState stateBefore) -
NewInstanceNode
protected NewInstanceNode(NodeClass<? extends NewInstanceNode> c, jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents, FrameState stateBefore)
-
-
Method Details
-
instanceClass
public jdk.vm.ci.meta.ResolvedJavaType instanceClass()Gets the instance class being allocated by this node.- Returns:
- the instance class allocated
-
virtualize
Description copied from interface:Virtualizable
A node class can implement this method to convey information about what its effect would be if some of its inputs were virtualized. All modifications must be made through the supplied tool, and not directly on the node, because by the time this method is called the virtualized/non-virtualized state is still speculative and might not hold because of loops, etc.- Specified by:
virtualize
in interfaceVirtualizable
- Parameters:
tool
- the tool used to describe the effects of this node
-