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

GC workers do not have thread names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b55

      Backports

        Description

        Many of the threads in hotspot now show their names in GDB because a call to os::set_native_thread_name has been made for those thread. The GC workers (instances of the GangWorker class in workgroup.hpp) inherits from "NamedThread", but they don't call os::set_native_thread_name. Remember that os::set_native_thread_name must be called after Thread::initialize_thread_local_storage.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                david David Lindholm (Inactive)
                Reporter:
                ehelin Erik Helin
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: