revisit ObjectMonitor padding between fields

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 25
    • Affects Version/s: 16
    • Component/s: hotspot
    • generic
    • generic

      [~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.

            Assignee:
            Coleen Phillimore
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: