RFR(XXS) 8224525: Shenandoah: Eliminate shenandoah verifier's side-effects
Roman Kennke
rkennke at redhat.com
Wed May 22 07:25:51 UTC 2019
Where exactly does verification interfere with evacuation-in-progress?
Because I don't see it. verify_before_evacuation() is done before
activating the flag, and verify_after_evacuation() is done after
clearing the flag.
Roman
> Since switching to LRB, verifier has side-effects of evacuating oops, if
> it is ran during evacuation phase.
>
> The patch resets gc_state before LRB can be triggered by verifier, and
> restore gc_state when it is done.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8224525
> Webrev: http://cr.openjdk.java.net/~zgu/JDK-8224525/webrev.00/
>
> Test:
> hotspot_gc_shenandoah with -XX:+ShenandoahVerify (fastdebug and release)
>
>
> Thanks,
>
> -Zhengyu
-------------- 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.org/pipermail/hotspot-gc-dev/attachments/20190522/583b30fe/signature.asc>
More information about the hotspot-gc-dev
mailing list