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

Fix SIGSEGV in print_threads_compiling.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 9, 10, 11
    • hotspot
    • b38

        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.

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

                Created:
                Updated:
                Resolved: