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

ObjectMonitor Responsible thread

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • b18

      The ObjectMonitor successor protocol designates a Responsible thread to avoid a memory barrier when storing null in the owner for unlocking a monitor. The cost of memory barriers is a lot lower than 20+ yrs ago when this was implemented. We could simplify this code by adding the write barrier and removing Responsible.

      Performance test this, of course.

            fbredberg Fredrik Bredberg
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: