From ff66cfb4e9085cbc0654c09cee4e6b543da18bb2 Mon Sep 17 00:00:00 2001 From: Frank Kang Date: Wed, 27 Sep 2023 10:28:58 -0700 Subject: [PATCH] Add VGC output for softmax Add softmax stats to verbose:gc between maxHeapSize and initialHeapSize Signed-off-by: Frank Kang frank.kang@ibm.com --- gc/verbose/VerboseHandlerOutput.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gc/verbose/VerboseHandlerOutput.cpp b/gc/verbose/VerboseHandlerOutput.cpp index 1842827c0b5..13c8e84ee2e 100644 --- a/gc/verbose/VerboseHandlerOutput.cpp +++ b/gc/verbose/VerboseHandlerOutput.cpp @@ -310,6 +310,9 @@ MM_VerboseHandlerOutput::outputInitializedStanza(MM_EnvironmentBase *env, MM_Ver #endif /* OMR_GC_CONCURRENT_SCAVENGER */ buffer->formatAndOutput(env, 1, "", _extensions->memoryMax); + if (0 < _extensions->softMx) { + buffer->formatAndOutput(env, 1, "", _extensions->softMx); + } buffer->formatAndOutput(env, 1, "", _extensions->initialMemorySize); #if defined(OMR_GC_COMPRESSED_POINTERS)