RFR: 8275298: Remove unnecessary weak_oops_do call in adjust weak roots phase
Stefan Johansson
sjohanss at openjdk.java.net
Mon Oct 18 08:35:48 UTC 2021
On Thu, 14 Oct 2021 18:43:44 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> This PR consists of two logical steps in two commits:
>
> 1. change `weak_oops_do` to `verify_no_references_recorded` to check discovered lists (DL) are indeed empty during adjust-weak-roots phase
> 2. Move the assertion to the end of ref-processing, since elements on DL are not really related to "weak roots"
>
> Test: tier1-6
Looks good
-------------
Marked as reviewed by sjohanss (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5957
More information about the hotspot-gc-dev
mailing list