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

Thread list contains newly allocated/born thread that can result fatal crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 12
    • hotspot
    • None

      This problem is exposed by runtime/InternalApi/ThreadCpuTimesDeadlock.java test with ShenandoahGC.

      Thread list contains newly allocated/born thread, has yet made runnable, e.g. thread_id = 0.

      For this particular test, when it iterates through threads with ThreadTimesClosure, it may crash in pthread_getcpuclockid() call if the thread has thread_id = 0.


            Unassigned Unassigned
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: