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

Add option for Implementation JEP 312: Thread-local handshake

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 10
    • hotspot
    • None
    • behavioral
    • minimal
    • From the outside of VM internals there should be no noticeable different behavior when doing normal safepoints.
    • add/remove/modify command line option
    • 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

              rehn Robbin Ehn
              rehn Robbin Ehn
              Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: