< prev index next >

src/share/vm/gc/shared/workgroup.hpp

Print this page
rev 11508 : 8157240: GC task trace logging is incomprehensible
Reviewed-by: tschatzl
rev 11509 : [mq]: code_review1

*** 171,186 **** void add_workers(bool initializing); // Add GC workers as needed to reach the specified number of workers. void add_workers(uint active_workers, bool initializing); - // Return the name of the thread in the work gang - char* worker_name(uint which); - // Return the Ith worker. AbstractGangWorker* worker(uint i) const; void threads_do(ThreadClosure* tc) const; // Create a GC worker and install it into the work gang. virtual AbstractGangWorker* install_worker(uint which); --- 171,186 ---- void add_workers(bool initializing); // Add GC workers as needed to reach the specified number of workers. void add_workers(uint active_workers, bool initializing); // 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. virtual AbstractGangWorker* install_worker(uint which);
< prev index next >