RFR: 8272147: Consolidate preserved marks handling with other STW collectors [v3]

Guoxiong Li gli at openjdk.org
Wed Jun 7 12:45:46 UTC 2023


> 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

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Use method 'push_always'.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14274/files
  - new: https://git.openjdk.org/jdk/pull/14274/files/bcf737c6..db8976fa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14274&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14274&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14274.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14274/head:pull/14274

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


More information about the hotspot-gc-dev mailing list