Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8188224

Generalize Atomic::load/store to use templates

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b31

      Description

      Reimplement Atomic::load/store as templates. One goal is to generalize the API and make it more type-safe, eliminating the need for most casts. This includes replacing the type-information-losing load/store with type-safe load/store. Another goal is to provide a mechanism that can be shared by OrderAccess loads and stores that are similar.

      Subtask of JDK-8184334, addressing only Atomic::load/store.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eosterlund Erik Ă–sterlund
                Reporter:
                eosterlund Erik Ă–sterlund
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: