RFR: Should return zero actual allocated size when allocation failed

Roman Kennke rkennke at redhat.com
Thu Jun 14 20:21:57 UTC 2018


Am 14.06.2018 um 22:02 schrieb Zhengyu Gu:
> Several of vmTestbase gc tests failed due to following assertion:
> 
> #  Internal Error
> (/home/zgu/workspace/shenandoah-jdk/src/hotspot/share/gc/shared/collectedHeap.cpp:407),
> pid=2985, tid=3045
> #  assert(actual_tlab_size == 0) failed: Allocation failed, but actual
> size was updated. min: 256, desired: 257, actual: 257
> 
> cause we return requested size even when allocation failed.
> 
> http://cr.openjdk.java.net/~zgu/shenandoah/new_tlab_size/webrev.00/
> 
> Test:
> 
> tier1_gc_shenandoah and manual test of failed vmTestbase tests
> 
> 
> Thanks,
> 
> -Zhengyu

Good catch! Patch looks good.
Thanks,  Roman



More information about the shenandoah-dev mailing list