public class HotSpotInstructionProfiling extends PostAllocationOptimizationPhase
Modifier and Type | Class and Description |
---|---|
private class |
HotSpotInstructionProfiling.Analyzer |
static class |
HotSpotInstructionProfiling.InstructionCounterOp |
PostAllocationOptimizationPhase.PostAllocationOptimizationContext
LIRPhase.Options
Modifier and Type | Field and Description |
---|---|
static String |
COUNTER_GROUP |
private String[] |
instructionsToProfile |
Constructor and Description |
---|
HotSpotInstructionProfiling(String instructionsToProfile) |
Modifier and Type | Method and Description |
---|---|
static void |
countInstructions(LIR lir,
Assembler asm)
After assembly the
HotSpotBackend.profileInstructions(LIR, CompilationResultBuilder)
calls this method for patching the instruction counts into the coutner increment code. |
protected <B extends AbstractBlockBase<B>> |
run(TargetDescription target,
LIRGenerationResult lirGenRes,
List<B> codeEmittingOrder,
List<B> linearScanOrder,
BenchmarkCounterFactory counterFactory) |
run
apply, apply, createName, getName
public static final String COUNTER_GROUP
private final String[] instructionsToProfile
public HotSpotInstructionProfiling(String instructionsToProfile)
protected <B extends AbstractBlockBase<B>> void run(TargetDescription target, LIRGenerationResult lirGenRes, List<B> codeEmittingOrder, List<B> linearScanOrder, BenchmarkCounterFactory counterFactory)
run
in class PostAllocationOptimizationPhase
public static void countInstructions(LIR lir, Assembler asm)
HotSpotBackend.profileInstructions(LIR, CompilationResultBuilder)
calls this method for patching the instruction counts into the coutner increment code.