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

In ASAN builds, attached non-main threads should have meaningful native names

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot

      The original issue is that attached threads don't get their native names set, which is a deliberate design decision (see comments below by @dholmes). But this is especially annoying for ASAN, which only shows meaningless internal thread designators ("T0", "T1", ..). Therefore, and only for ASAN builds, we should set the native names for threads on the OS level.

      This issue deliberately excludes the main thread (the thread calling CreateJavaVM), since that thread name will be subject of a separate RFE (see comments below, and JDK-8314091 - that would be a fix in the Java launcher, not in hotspot)

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: