Skip to content

Commit 66358fa

Browse files
committed
8355616: Incorrect ifdef in compilationMemoryStatistic.cpp
Reviewed-by: shade, stuefe, jwaters
1 parent e7a4162 commit 66358fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/compiler/compilationMemoryStatistic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void ArenaStatCounter::on_arena_chunk_deallocation(size_t size, uint64_t stamp)
374374
void ArenaStatCounter::print_peak_state_on(outputStream* st) const {
375375
st->print("Total Usage: %zu ", _peak);
376376
if (_peak > 0) {
377-
#ifdef COMPILER2
377+
#ifdef COMPILER1
378378
// C1: print allocations broken down by arena types
379379
if (_comp_type == CompilerType::compiler_c1) {
380380
st->print("[");

0 commit comments

Comments
 (0)