Set native thread name for Java main thread

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: hotspot
    • None

      cat /proc/<java_process>/task/<main thread>/comm shows "java"

      User wants it to be "main", just like any other JVM threads, which can be achieved by explicitly calling pthread_setname_np when spawning main thread at VM startup.

            Assignee:
            Unassigned
            Reporter:
            Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: