Class AMD64G1BarrierSetLIRGenerator
java.lang.Object
jdk.graal.compiler.lir.amd64.g1.AMD64G1BarrierSetLIRGenerator
- All Implemented Interfaces:
BarrierSetLIRGeneratorTool
,WriteBarrierSetLIRGeneratorTool
public class AMD64G1BarrierSetLIRGenerator
extends Object
implements WriteBarrierSetLIRGeneratorTool
Architecture specific G1 barrier set generator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
emitPostWriteBarrier
(LIRGeneratorTool lirTool, jdk.vm.ci.meta.Value address, jdk.vm.ci.meta.Value value, boolean nonNull) void
emitPreWriteBarrier
(LIRGeneratorTool lirTool, jdk.vm.ci.meta.Value address, jdk.vm.ci.meta.AllocatableValue expectedObject, boolean nonNull)
-
Constructor Details
-
AMD64G1BarrierSetLIRGenerator
-
-
Method Details
-
emitPreWriteBarrier
public void emitPreWriteBarrier(LIRGeneratorTool lirTool, jdk.vm.ci.meta.Value address, jdk.vm.ci.meta.AllocatableValue expectedObject, boolean nonNull) - Specified by:
emitPreWriteBarrier
in interfaceWriteBarrierSetLIRGeneratorTool
- Parameters:
address
- the location being updatedexpectedObject
- the expected pre-value if knownnonNull
- true if expectedObject is known to non-null
-
emitPostWriteBarrier
public void emitPostWriteBarrier(LIRGeneratorTool lirTool, jdk.vm.ci.meta.Value address, jdk.vm.ci.meta.Value value, boolean nonNull) - Specified by:
emitPostWriteBarrier
in interfaceWriteBarrierSetLIRGeneratorTool
- Parameters:
address
- the location being updatedvalue
- the value being writtennonNull
- true ifvalue
is known to be non-null
-