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

Generalize Atomic::load/store to use templates

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 10
    • 10
    • hotspot
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: