< prev index next >
src/share/vm/gc/parallel/gcTaskThread.cpp
Print this page
rev 11036 : 6858051: Create GC worker threads dynamically
Reviewed-by:
@@ -42,13 +42,10 @@
_manager(manager),
_processor_id(processor_id),
_time_stamps(NULL),
_time_stamp_index(0)
{
- if (!os::create_thread(this, os::pgc_thread))
- vm_exit_out_of_memory(0, OOM_MALLOC_ERROR, "Cannot create GC thread. Out of system resources.");
-
set_id(which);
set_name("ParGC Thread#%d", which);
}
GCTaskThread::~GCTaskThread() {
< prev index next >