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

Roman Kennke rkennke at redhat.com
Thu Feb 21 10:50:43 UTC 2019


Looks good to me! Thanks!

Roman


> Bug:
>   https://bugs.openjdk.java.net/browse/JDK-8219524
> 
> Fix:
>   http://cr.openjdk.java.net/~shade/8219524/webrev.01/
> 
> 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
> 
> Thanks,
> -Aleksey
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20190221/6a240874/signature.asc>


More information about the hotspot-gc-dev mailing list