8355616: Incorrect ifdef in compilationMemoryStatistic.cpp

Reviewed-by: shade, stuefe, jwaters
This commit is contained in:
Joel Sikström 2025-04-28 14:08:59 +00:00
parent e7a416254b
commit 66358fa2c0

View File

@ -374,7 +374,7 @@ void ArenaStatCounter::on_arena_chunk_deallocation(size_t size, uint64_t stamp)
void ArenaStatCounter::print_peak_state_on(outputStream* st) const {
st->print("Total Usage: %zu ", _peak);
if (_peak > 0) {
#ifdef COMPILER2
#ifdef COMPILER1
// C1: print allocations broken down by arena types
if (_comp_type == CompilerType::compiler_c1) {
st->print("[");