8322779: C1: Remove the unused counter 'totalInstructionNodes'

Reviewed-by: kvn, thartmann
This commit is contained in:
Denghui Dong 2024-01-03 13:08:48 +00:00
parent a8e4229852
commit 539da24863

@ -76,7 +76,6 @@ static const char * timer_name[] = {
};
static elapsedTimer timers[max_phase_timers];
static uint totalInstructionNodes = 0;
class PhaseTraceTime: public TraceTime {
private:
@ -494,7 +493,6 @@ void Compilation::compile_method() {
if (log() != nullptr) // Print code cache state into compiler log
log()->code_cache_state();
totalInstructionNodes += Instruction::number_of_instructions();
}