Integrated: 8275298: Remove unnecessary weak_oops_do call in adjust weak roots phase

Albert Mingkun Yang ayang at openjdk.java.net
Mon Oct 18 16:04:53 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

This pull request has now been integrated.

Changeset: 4d383b9f
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4d383b9fcd2e1cb3afde17a37bc2dc5a37247d04
Stats:     37 lines in 9 files changed: 4 ins; 30 del; 3 mod

8275298: Remove unnecessary weak_oops_do call in adjust weak roots phase

Reviewed-by: tschatzl, sjohanss

-------------

PR: https://git.openjdk.java.net/jdk/pull/5957



More information about the hotspot-gc-dev mailing list