openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

Fix wrong memoryPool names of memory usage in GCInfo

Open LinHu2016 opened this issue 1 year ago • 1 comments

GCInfo contains a set of memory usages for all of memoryPools(both Heap and NonHeap),java function buildGCInfo() retrieve a list of MemoryPools' names and a list of Usages internally and generate the set of memory usages, in some platforms(ex. MacOS) the order for the list of names and for the list of usages might be different, need to pass memorypool id to match the order between the names and the usage.

also update to use different bit to present heap memory pools and non heap memory pools for the internal memorypool ID, it would avoid pontetial confusion.

fix: https://github.com/eclipse-openj9/openj9/issues/12754 Signed-off-by: hulin [email protected]

LinHu2016 avatar Feb 06 '24 19:02 LinHu2016

Hi @pshipton Could you please review the changes, Thanks

LinHu2016 avatar Feb 06 '24 20:02 LinHu2016

Jenkins test sanity amac,zlinux jdk11

keithc-ca avatar Mar 15 '24 16:03 keithc-ca