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

Fix SIGSEGV in print_threads_compiling.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b38

      Backports

        Description

        print_threads_compiling prints the tasks compiler threads are working on.
        It gets the task from the thread, checks it for NULL, and then reads the task again from the thread. in the meantime, the compiler thread can set the task back to NULL so that the check was pointless.

        Read task only once.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                goetz Goetz Lindenmaier
                Reporter:
                goetz Goetz Lindenmaier
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: