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

Add option for Implementation JEP 312: Thread-local handshake

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      From the outside of VM internals there should be no noticeable different behavior when doing normal safepoints.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      Implementation

      Description

      Summary

      Introduce an option to control use of the new Thread-local handshake safepoint mechanism introduced by JEP 312.

      Problem

      JEP 312 introduces a new safepoint mechanism: Thread-local handshakes. To opt-out on supported platforms of using this new mechanism a new VM flag is required.

      Solution

      Add a new product option ThreadLocalHandshakes (default true) to allow users to select the new safepoint mechanism.

      Specification

      Complete code is at: http://cr.openjdk.java.net/~rehn/8185640/

      +  product_pd(bool, ThreadLocalHandshakes,                                   \
      +          "Use thread-local polls instead of global poll for safepoints.")  \
      +          constraint(ThreadLocalHandshakesConstraintFunc,AfterErgo)         \
      +                                                                            \

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rehn Robbin Ehn
                Reporter:
                rehn Robbin Ehn
                Reviewed By:
                Coleen Phillimore
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: