< prev index next >
src/share/vm/gc/shared/workgroup.hpp
Print this page
rev 11971 : imported patch 8157952-jon-review1
*** 62,71 ****
--- 62,76 ----
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.
virtual void work(uint worker_id) = 0;
// Debugging accessor for the name.
< prev index next >