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

Erik Österlund eosterlund at openjdk.org
Thu Jan 26 15:14:29 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.

This pull request has now been integrated.

Changeset: 14114c25
Author:    Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/14114c2515aacd86d891fa1f87c8a572d880ca15
Stats:     38 lines in 1 file changed: 6 ins; 26 del; 6 mod

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

Reviewed-by: aboldtch, stefank, tschatzl

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

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


More information about the hotspot-runtime-dev mailing list