hotspot/src/share/vm/gc/shared/workgroup.hpp
changeset 39704 157f39705057
parent 39231 e6aa09b4f1b9
child 40096 246c62cd9180
--- a/hotspot/src/share/vm/gc/shared/workgroup.hpp	Tue Jun 21 14:00:18 2016 +0200
+++ b/hotspot/src/share/vm/gc/shared/workgroup.hpp	Thu May 19 13:59:50 2016 -0700
@@ -176,6 +176,9 @@
   // Return the Ith worker.
   AbstractGangWorker* worker(uint i) const;
 
+  // Base name (without worker id #) of threads.
+  const char* group_name() { return name(); }
+
   void threads_do(ThreadClosure* tc) const;
 
   // Create a GC worker and install it into the work gang.