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

Excessive CPU consumption during some shutdown situations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6u10
    • 6u10
    • deploy
    • b08
    • b10
    • generic
    • windows

      If the environment variable JPI_PLUGIN2_DEBUG is set, thereby causing a DOS console to be opened for the new plug-in's debugging output on the browser side, and if the user has the QuickEdit mode set and inadvertently clicks in the text area of that window, some text may end up getting selected. This will cause the browser-side code to hang attempting to print output to the DOS console, and heartbeat messages will not be returned to the attached JVMs. The attached JVMs will then think the browser side has exited, and will shut themselves down, cancelling the conversation associated with the last heartbeat message. If the right mouse button is then clicked in the DOS console, resuming the processing on the browser side, then during the time duration those attached JVMs are in the process of shutting down, the system will furiously pass the heartbeat message back and forth between the two processes, consuming 100% CPU. Further, the browser side code will attempt to kill the attached JVMs even after they have exited. This behavior obstructs debugging and should be fixed.

            kbr Kenneth Russell (Inactive)
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: