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

Make LockingMode a product flag

XMLWordPrintable

    • behavioral
    • minimal
    • add/remove/modify command line option
    • JDK

      Summary

      Change experimental flag "LockingMode" to regular product flag.

      Problem

      The enhancement JDK-8291555 has introduced the experimental option "LockingMode" which improves performance in some scenarios. It is currently not supported in production, so, customers can't benefit from it.

      Solution

      Make the flag a regular product flag.

      Specification

      -    product(int, LockingMode, LM_LEGACY, EXPERIMENTAL,                         \
      +    product(int, LockingMode, LM_LEGACY,                                       \
                    "Select locking mode: "                                           \
                    "0: monitors only (LM_MONITOR), "                                 \
                    "1: monitors & legacy stack-locking (LM_LEGACY, default), "       \
                    "2: monitors & new lightweight locking (LM_LIGHTWEIGHT)")         \
                    range(0, 2)                                                       \

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

              Created:
              Updated:
              Resolved: