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

Excessive CPU consumption during some shutdown situations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6u10
    • Fix Version/s: 6u10
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b08
    • Introduced In Version:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      windows

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: