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

Add a command line option to control notification mechanism.

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 14
    • core-svc
    • None
    • behavioral
    • minimal
    • add/remove/modify command line option
    • Implementation

      Summary

      Introduce an option to control use of the new notification mechanism introduced by JDK-8170299.

      Problem

      The fix for JDK-8170299 introduces a new NotificationThread. The fix moves all notification code from the ServiceThread to this new thread and makes this new thread visible to debugging facilities. To opt-out of using this new mechanism a new VM flag is required.

      Solution

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

      Specification

      Complete code is at: http://cr.openjdk.java.net/~dtitov/8170299

      +  product(bool, UseNotificationThread, true,                                \
      +          "Use Notification Thread")                                        \
      +                                                                            \

            dtitov Daniil Titov (Inactive)
            shadowbug Shadow Bug
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: