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

revisit ObjectMonitor padding between fields

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • 23
    • 16
    • hotspot
    • generic
    • generic

    Description

      [~rehn] mentioned this RFE during the JDK-8253064 review:

       src/hotspot/share/runtime/objectMonitor.hpp
        DEFINE_PAD_MINUS_SIZE(0, OM_CACHE_LINE_SIZE, sizeof(volatile markWord) +
                              sizeof(WeakHandle) + sizeof(AllocationState));
                              sizeof(WeakHandle));
        // Used by async deflation as a marker in the _owner field:


      I have test with and without padding, I saw no difference.

      Attachments

        Issue Links

          Activity

            People

              dcubed Daniel Daugherty
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: