public class WriteBarrierAdditionPhase extends Phase
Modifier and Type | Field and Description |
---|---|
private HotSpotVMConfig |
config |
BEFORE_PHASE_DUMP_LEVEL, PHASE_DUMP_LEVEL
Constructor and Description |
---|
WriteBarrierAdditionPhase(HotSpotVMConfig config) |
Modifier and Type | Method and Description |
---|---|
private void |
addArrayRangeBarriers(ArrayRangeWriteNode node,
StructuredGraph graph) |
private void |
addAtomicReadWriteNodeBarriers(LoweredAtomicReadAndWriteNode node,
StructuredGraph graph) |
private void |
addCASBarriers(LoweredCompareAndSwapNode node,
StructuredGraph graph) |
protected void |
addG1PostWriteBarrier(FixedAccessNode node,
AddressNode address,
ValueNode value,
boolean precise,
StructuredGraph graph) |
protected static void |
addG1PreWriteBarrier(FixedAccessNode node,
AddressNode address,
ValueNode value,
boolean doLoad,
boolean nullCheck,
StructuredGraph graph) |
private void |
addReadNodeBarriers(ReadNode node,
StructuredGraph graph) |
protected void |
addSerialPostWriteBarrier(FixedAccessNode node,
AddressNode address,
ValueNode value,
boolean precise,
StructuredGraph graph) |
private void |
addWriteNodeBarriers(WriteNode node,
StructuredGraph graph) |
protected void |
run(StructuredGraph graph) |
apply, apply, createName, getName
private HotSpotVMConfig config
public WriteBarrierAdditionPhase(HotSpotVMConfig config)
protected void run(StructuredGraph graph)
private void addReadNodeBarriers(ReadNode node, StructuredGraph graph)
protected static void addG1PreWriteBarrier(FixedAccessNode node, AddressNode address, ValueNode value, boolean doLoad, boolean nullCheck, StructuredGraph graph)
protected void addG1PostWriteBarrier(FixedAccessNode node, AddressNode address, ValueNode value, boolean precise, StructuredGraph graph)
protected void addSerialPostWriteBarrier(FixedAccessNode node, AddressNode address, ValueNode value, boolean precise, StructuredGraph graph)
private void addWriteNodeBarriers(WriteNode node, StructuredGraph graph)
private void addAtomicReadWriteNodeBarriers(LoweredAtomicReadAndWriteNode node, StructuredGraph graph)
private void addCASBarriers(LoweredCompareAndSwapNode node, StructuredGraph graph)
private void addArrayRangeBarriers(ArrayRangeWriteNode node, StructuredGraph graph)