public class InsertWriteBarrierPhase
extends org.graalvm.compiler.phases.BasePhase<org.graalvm.compiler.phases.tiers.MidTierContext>
| Modifier | Constructor and Description |
|---|---|
protected |
InsertWriteBarrierPhase()
Constructor for sub-classes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPostWriteBarrier(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.memory.FixedAccessNode node,
org.graalvm.compiler.nodes.memory.address.AddressNode address) |
boolean |
checkContract() |
static InsertWriteBarrierPhase |
factory() |
protected void |
rewriteWithBarriers(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode node)
AbstractCompareAndSwapNode has
The object to which the write is done, in node.object(),
the value to be written, in node.getNewValue(),
the location within the object for the write, in node.location(),
whether a precise or imprecise barrier is needed, in node.getBarrierType(),.
|
protected void |
rewriteWithBarriers(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode node)
LoweredAtomicReadAndWriteNode has
The object to which the write is done, in node.object(),
the value to be written, in node.getNewValue(),
the location within the object for the write, in node.location(),
whether a precise or imprecise barrier is needed, in node.getBarrierType(),.
|
protected void |
rewriteWithBarriers(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.memory.WriteNode node)
WriteNode has
The object to which the write is done, in node.object(),
the value to be written, in node.value(),
the location within the object for the write, in node.location(),
whether a precise or imprecise barrier is needed, in node.getBarrierType(), and
whether the write is an initialization, in node.isInitialization().
|
protected void |
run(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.phases.tiers.MidTierContext context) |
protected InsertWriteBarrierPhase()
public static InsertWriteBarrierPhase factory()
public boolean checkContract()
protected void run(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.phases.tiers.MidTierContext context)
run in class org.graalvm.compiler.phases.BasePhase<org.graalvm.compiler.phases.tiers.MidTierContext>protected void rewriteWithBarriers(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.memory.WriteNode node)
protected void rewriteWithBarriers(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode node)
protected void rewriteWithBarriers(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode node)
protected void addPostWriteBarrier(org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.nodes.memory.FixedAccessNode node,
org.graalvm.compiler.nodes.memory.address.AddressNode address)