RFR: 8302780: Add support for vectorized arraycopy GC barriers [v6]

Erik Österlund eosterlund at openjdk.org
Fri Mar 3 09:45:23 UTC 2023


On Thu, 2 Mar 2023 09:58:04 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> I updated the PR with a helper stack object encapsulating the choice of GC temp registers, types, decorators, etc, so that each line removes all the noise and becomes more readable. Do you like it? If yes, do you also want your proposed loop constructions in the new more compact form? I'm okay either way.
>
> The more compact form is a _huge_ improvement. I believe that using loops rather than hand-unrolling the code would make it even better!

I think you are right that the loop form is easier to understand and maintain. But I think it makes it harder to convince myself that I didn't accidentally change the logic with this patch. I'm up for doing it as a follow-up RFE. Does that sound okay?

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

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


More information about the hotspot-dev mailing list