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

Use acquire semantics in ObjectSynchronizer::read_stable_mark()

XMLWordPrintable

    • b08
    • generic
    • generic

        Currently, the object header is read using plain loads in read_stable_mark() (synchronizer.cpp). The matching stores use release semantics in corresponding CAS and release_store(). It seems reasonable to use acquire-semantics for the loads of the object header.

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: