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

Use oopDesc::cas_set_mark() instead of raw CAS when accessing oop header

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic

      Issue Links

        Activity

        Hide
        dcubed Daniel Daugherty added a comment -
        Does this bug belong in hotspot/gc instead of hotspot/runtime?
        Show
        dcubed Daniel Daugherty added a comment - Does this bug belong in hotspot/gc instead of hotspot/runtime?
        Hide
        rkennke Roman Kennke added a comment -
        Good question. I am undecided.
        One one hand, it mostly helps the GC. For example, Shenandoah wants to insert the right barriers and or sanity checks when accessing the mark word.
        On the other hand, it only affects code all over the runtime (e.g. biasedlocking and synchonizer). At the very minimum, it is a nice cleanup for runtime code.
        Your call. :-)
        Show
        rkennke Roman Kennke added a comment - Good question. I am undecided. One one hand, it mostly helps the GC. For example, Shenandoah wants to insert the right barriers and or sanity checks when accessing the mark word. On the other hand, it only affects code all over the runtime (e.g. biasedlocking and synchonizer). At the very minimum, it is a nice cleanup for runtime code. Your call. :-)
        Hide
        dcubed Daniel Daugherty added a comment -
        Let's see what the triage team does with it...
        Show
        dcubed Daniel Daugherty added a comment - Let's see what the triage team does with it...
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/f0b15407aae8
        User: dcubed
        Date: 2017-07-17 17:48:28 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/f0b15407aae8 User: dcubed Date: 2017-07-17 17:48:28 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/rev/f0b15407aae8
        User: jwilhelm
        Date: 2017-08-18 18:01:35 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/rev/f0b15407aae8 User: jwilhelm Date: 2017-08-18 18:01:35 +0000

          People

          • Assignee:
            rkennke Roman Kennke
            Reporter:
            rkennke Roman Kennke
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: