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

CompilerThread should not be a Java thread

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The CompilerThreads in HotSpot should not be Java threads. They end up in the
      user-visible thread list in the main thread group and can therefore be operated
      upon by Java code. This causes bad interactions with debuggers and operations
      like Thread.stop(). It's likely that they were made Java threads in order to be
      able to transition their state to _thread_in_native; they don't run any Java
      bytecodes (or at least definitely should not.) We should make these threads non-
      Java threads and fix any runtime assertions that come up in 1.4.2.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: