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

Require platforms to define DEFAULT_CACHE_LINE_SIZE

    XMLWordPrintable

Details

    • b27

    Backports

      Description

        Found it while doing new code that wants to know the cache line size.

        Currently, there is a fallback in globalDefinitions.hpp that defaults DEFAULT_CACHE_LINE_SIZE to 64 if platform does not define it. Instead of relying on default, force platform definitions to tell what is the reasonable default for the platform. This would simplify porting to other architectures.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: