Class AllocationCountOperation
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.jarscan.allocationcount.AllocationCountOperation
-
- All Implemented Interfaces:
IJarScanOperation
public class AllocationCountOperation extends java.lang.Object implements IJarScanOperation
-
-
Field Summary
Fields Modifier and Type Field Description private intlimitPerAllocOpcodeprivate InstructionAllocCountMapopcodeAllocCountMap
-
Constructor Summary
Constructors Constructor Description AllocationCountOperation(int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcount(Opcode opcode, java.lang.String type)java.lang.StringgetReport()voidprocessInstructions(java.lang.String className, MemberBytecode memberBytecode)
-
-
-
Field Detail
-
opcodeAllocCountMap
private InstructionAllocCountMap opcodeAllocCountMap
-
limitPerAllocOpcode
private int limitPerAllocOpcode
-
-
Method Detail
-
getReport
public java.lang.String getReport()
- Specified by:
getReportin interfaceIJarScanOperation
-
count
private void count(Opcode opcode, java.lang.String type)
-
processInstructions
public void processInstructions(java.lang.String className, MemberBytecode memberBytecode)- Specified by:
processInstructionsin interfaceIJarScanOperation
-
-