< prev index next >
src/share/vm/gc/g1/g1StringDedup.cpp
Print this page
@@ -151,13 +151,11 @@
G1GCPhaseTimes* phase_times) {
assert(is_enabled(), "String deduplication not enabled");
G1StringDedupUnlinkOrOopsDoTask task(is_alive, keep_alive, allow_resize_and_rehash, phase_times);
G1CollectedHeap* g1h = G1CollectedHeap::heap();
- g1h->set_par_threads();
g1h->workers()->run_task(&task);
- g1h->set_par_threads(0);
}
void G1StringDedup::threads_do(ThreadClosure* tc) {
assert(is_enabled(), "String deduplication not enabled");
tc->do_thread(G1StringDedupThread::thread());
< prev index next >