hotspot/src/share/vm/gc/shared/workgroup.hpp
changeset 41178 e567be097315
parent 40922 d9f1eaf18f9a
child 41279 5a7c83da4a2d
--- a/hotspot/src/share/vm/gc/shared/workgroup.hpp	Thu Sep 15 12:10:43 2016 -0400
+++ b/hotspot/src/share/vm/gc/shared/workgroup.hpp	Fri Sep 16 11:33:47 2016 +0200
@@ -62,7 +62,12 @@
   AbstractGangTask(const char* name) :
     _name(name),
     _gc_id(GCId::current_raw())
- {}
+  {}
+
+  AbstractGangTask(const char* name, const uint gc_id) :
+    _name(name),
+    _gc_id(gc_id)
+  {}
 
   // The abstract work method.
   // The argument tells you which member of the gang you are.