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

Improve handshake filtering mechanism

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 19
    • hotspot

      When polling for safepoint/handshakes usually we need to skip processing certain operations. Today that only applies to suspend and asynchronous exception operations, but that could grow in the future. Today we filter them by passing booleans through SafepointMechanism and HandshakeState classes and we use those in handshake code to determine which filter to apply when traversing the handshake queue.
      A more scalable approach should be implemented instead of just keep adding booleans to those methods to select the proper filter.

            Unassigned Unassigned
            pchilanomate Patricio Chilano Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: