Integrated: 8265759: Shenandoah: Avoid race for referent in assert
Roman Kennke
rkennke at openjdk.java.net
Fri Apr 23 08:04:26 UTC 2021
On Thu, 22 Apr 2021 15:17:25 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> There is an assert is ShenandoahReferenceProcessor::drop() which is racy: when referent is concurrently cleaned it may enter mark-bit-map with NULL even though we just checked that the referent is not NULL.
>
> Testing:
> - [x] hotspot_gc_shenandoah
This pull request has now been integrated.
Changeset: 191f1fc4
Author: Roman Kennke <rkennke at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/191f1fc4
Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
8265759: Shenandoah: Avoid race for referent in assert
Reviewed-by: shade, zgu
-------------
PR: https://git.openjdk.java.net/jdk/pull/3632
More information about the shenandoah-dev
mailing list