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

Relax initialization order for PlatformMutex usage

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      Today, the first allocation of a PlatformMutex must happen after the beginning of os::init_2. This dependency imposes an unfortunate constraint that can be removed by lazily initializing the locking system when creating a PlatformMutex.

        Attachments

          Activity

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: