RFR (S) 8219524: Shenandoah misreports "committed" size in MemoryMXBean

Aleksey Shipilev shade at redhat.com
Thu Feb 21 10:19:24 UTC 2019



See the backing story in the bug. Arguably, this is due Shenandoah departing from what shared code
believes GC implementation should be doing, i.e. returning the amount of committed memory with
CollectedHeap::capacity(). Would that be a fair characterization? Even so, rewiring Shenandoah to
match the shared code expectations would require more work, but we can plug the current failure with
this patch meanwhile.

Testing: hotspot_gc_shenandoah, new check in test


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190221/2cd27fa7/signature.asc>

More information about the hotspot-gc-dev mailing list