eclipse-openj9 / openj9-omr

Eclipse OpenJ9's clone of the Eclipse OMR (https://github.com/eclipse/omr) project. PRs should be opened against the upstream OMR project whenever possible.
Other
38 stars 135 forks source link

(0.46) Fix trace format for MemorySubSpace #210

Closed amicic closed 4 months ago

amicic commented 4 months ago

Various trace points use %llx (long long - 64bit) while it should use %zx or %p (size_t - 32/64 bit) format to print MemorySubSpace addresses and allocation result (address in heap), what would work both for 32bit and 64bit VMs. Settling with %p, since it's already predominant.

Port of https://github.com/eclipse/omr/pull/7381