RFR(T) 8229318: Shenandoah: Assertion failure in nightly test
Aleksey Shipilev
shade at redhat.com
Thu Aug 8 15:40:05 UTC 2019
On 8/8/19 5:36 PM, Zhengyu Gu wrote:
> Please review this trivial patch that fixes a bad assertion. The same assertions are coded correctly
> elsewhere.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8229318
> Webrev: http://cr.openjdk.java.net/~zgu/JDK-8229318/webrev.00/
I don't understand.
There is similar, yet different assert below at L357:
354 assert(_index >= 0 && _index <= _size, "Sanity");
355
356 assert(idx >= 0 && idx < _index, "Out of bound");
357 assert(_index > 0 && _index < _size, "Corrupted table");
Which one is correct?
--
Thanks,
-Aleksey
More information about the shenandoah-dev
mailing list