RFR: 8301005: Clean up Copy::conjoint_*_atomic on windows

Axel Boldt-Christmas aboldtch at openjdk.org
Wed Jan 25 14:48:35 UTC 2023


On Wed, 25 Jan 2023 14:18:48 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> The atomic copying code on windows has some logic that has been copy pasted for a bunch of types with the only difference being the type. Unfortunately, the jlong copying is using oop copying (even though the values are not at all oops), which isn't super nice. Moreover, this copy pasted sequence isn't actually using Atomic, even though it's for atomic copying, which also isn't super nice. This needs a cleanup, and this patch aims to fix that.

lgtm.

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

Marked as reviewed by aboldtch (Committer).

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


More information about the hotspot-runtime-dev mailing list