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

c.s.j.r.i.ClientNotifForwarder$LinearExecutor prone to data races

    XMLWordPrintable

    Details

      Backports

        Description

        LinearExecutor uses an instance variable "command" to enqueue a command to be executed. It starts a new thread to read this variable and perform the command. A subsequent call to the "execute()" method without the processor thread being fully started will lead to an IAE.

        ILW = HLM
        I = H: It will crash the application with IAE
        L = L: One needs to call the "execute()" methods in very rapid succession
        W = M: One can provide his own implementation of the ClientNotifForwarder executor (via the "jmx.remote.x.fetch.notifications.executor" key in the provided env map)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sjiang Shanliang Jiang (Inactive)
                Reporter:
                sjiang Shanliang Jiang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: