[15] RFR 8238574: Shenandoah: Assertion failure due to missing null check

Zhengyu Gu zgu at redhat.com
Thu Feb 6 17:34:10 UTC 2020


Please review this small change that adds a null check before calling 
keep alive barrier to avoid assertion failure.

Native barrier may return null for a not null oop, if it is dead.

Bug: https://bugs.openjdk.java.net/browse/JDK-8238574
Webrev: http://cr.openjdk.java.net/~zgu/JDK-8238574/webrev.00/

Test:
   hotspot_gc_shenandoah, vmTestbase_nsk_jdi where the problem was observed.

Thanks,

-Zhengyu



More information about the hotspot-gc-dev mailing list