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

ObjectMonitor: fields are closer than a cache line which permits false sharing

XMLWordPrintable

       ~/trunks/jdk8u-dev $ build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image/bin/java -XX:+ExecuteInternalVMTests
      ...
      Running test: ObjectMonitor::sanity_checks()
      WARNING: the _header and _owner fields are closer than a cache line which permits false sharing.
      WARNING: ObjectMonitor size is not a multiple of a cache line which permits false sharing.

      Maybe we can partially backport JDK-8049737 to alleviate this.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: