< prev index next >
src/hotspot/share/gc/shared/stringdedup/stringDedupThread.cpp
Print this page
rev 54116 : imported patch JDK-8220671.patch
@@ -73,10 +73,20 @@
void StringDedupThread::deduplicate_shared_strings(StringDedupStat* stat) {
StringDedupSharedClosure sharedStringDedup(stat);
StringTable::shared_oops_do(&sharedStringDedup);
}
+void StringDedupThread::pre_run() {
+ SuspendibleThreadSetJoiner sts_join;
+ ConcurrentGCThread::pre_run();
+}
+
+void StringDedupThread::post_run() {
+ SuspendibleThreadSetJoiner sts_join;
+ ConcurrentGCThread::post_run();
+}
+
void StringDedupThread::stop_service() {
StringDedupQueue::cancel_wait();
}
void StringDedupThread::print_start(const StringDedupStat* last_stat) {
< prev index next >