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

Aleksey Shipilev shade at redhat.com
Thu Feb 21 14:53:49 UTC 2019


Thanks, pushed.

-Aleksey

On 2/21/19 1:58 PM, zgu at redhat.com wrote:
> Looks good.
> 
> -Zhengyu
> 
> On Thu, 2019-02-21 at 11:19 +0100, Aleksey Shipilev wrote:
>> 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: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20190221/a5b61882/signature.asc>


More information about the hotspot-gc-dev mailing list