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

revisit ObjectMonitor padding between fields

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 25
    • 16
    • 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.

            coleenp Coleen Phillimore
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: