public class HotSpotInstructionProfiling extends PostAllocationOptimizationPhase
| Modifier and Type | Class and Description |
|---|---|
private class |
HotSpotInstructionProfiling.Analyzer |
static class |
HotSpotInstructionProfiling.InstructionCounterOp |
PostAllocationOptimizationPhase.PostAllocationOptimizationContextLIRPhase.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) |
runapply, apply, createName, getNamepublic 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 PostAllocationOptimizationPhasepublic static void countInstructions(LIR lir, Assembler asm)
HotSpotBackend.profileInstructions(LIR, CompilationResultBuilder)
calls this method for patching the instruction counts into the coutner increment code.