From ab12c5d32fede04cbbf8c86b6461a0c71404cd69 Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Mon, 4 Sep 2023 06:02:03 +0000 Subject: [PATCH] 8315549: CITime misreports code/total nmethod sizes Reviewed-by: kvn --- src/hotspot/share/compiler/compileBroker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/compiler/compileBroker.cpp b/src/hotspot/share/compiler/compileBroker.cpp index 422607ecbb5..d5a1b31a477 100644 --- a/src/hotspot/share/compiler/compileBroker.cpp +++ b/src/hotspot/share/compiler/compileBroker.cpp @@ -2662,8 +2662,8 @@ void CompileBroker::print_times(bool per_compiler, bool aggregate) { uint total_bailout_count = CompileBroker::_total_bailout_count; uint total_invalidated_count = CompileBroker::_total_invalidated_count; - uint nmethods_size = CompileBroker::_sum_nmethod_code_size; - uint nmethods_code_size = CompileBroker::_sum_nmethod_size; + uint nmethods_code_size = CompileBroker::_sum_nmethod_code_size; + uint nmethods_size = CompileBroker::_sum_nmethod_size; tty->cr(); tty->print_cr("Accumulated compiler times");