Integrated: 8272147: Consolidate preserved marks handling with other STW collectors

Guoxiong Li gli at openjdk.org
Mon Jun 12 15:56:07 UTC 2023


On Thu, 1 Jun 2023 22:32:52 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all,
> 
> This patch removes the class `markSweep.hpp::PreservedMark` and uses the shared `PreservedMarksSet` instead.
> 
> In order to keep the meaning of the field `_preserved_marks` in `markSweep`,
> I need to use `OopAndMarkWord` explicitly. So I move `OopAndMarkWord` out of `PreservedMarks`.
> 
> Tests:
> `hotspot:tier1` passed locally (x86 & linux).
> 
> Thanks for the review.
> 
> Best Regards,
> -- Guoxiong

This pull request has now been integrated.

Changeset: 07275072
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/07275072aa684f85e70ba31ea6b2ee4a8656d9c6
Stats:     82 lines in 6 files changed: 21 ins; 34 del; 27 mod

8272147: Consolidate preserved marks handling with other STW collectors

Reviewed-by: tschatzl, ayang, rkennke

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

PR: https://git.openjdk.org/jdk/pull/14274


More information about the hotspot-gc-dev mailing list