RFR: 8279856: Parallel: Use PreservedMarks to record promotion-failed objects [v2]
Albert Mingkun Yang
ayang at openjdk.java.net
Wed Jan 26 15:08:34 UTC 2022
On Wed, 26 Jan 2022 10:14:52 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
>> I was thinking `push_always` makes a clearer contrast with its neighbor: the two are parallel and there's no interconnection/dependency btw them.
>
> Sure, but they do push elements the same way so it could be shared to avoid having to change two places if anything needs updating in the future. That said, the code is small and live close together so should be fine if you prefer it this way.
I think it's better not to mix the two APIs. The duplication is very small after all.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7028
More information about the hotspot-gc-dev
mailing list