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

Adapt mutex padding according to DEFAULT_CACHE_LINE_SIZE

XMLWordPrintable

    • b143

      Current implementation of mutex size padding assumes that cache lines are 64 Bytes. There's a platform dependent define "DEFAULT_CACHE_LINE_SIZE" available which should be used. The purpose of this padding is to avoid false sharing.

            mdoerr Martin Doerr
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: