--- a/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupThread.cpp Mon May 11 10:29:57 2015 +0200
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupThread.cpp Mon May 11 13:57:30 2015 +0200
@@ -74,7 +74,7 @@
{
// Include thread in safepoints
- SuspendibleThreadSetJoiner sts;
+ SuspendibleThreadSetJoiner sts_join;
stat.mark_exec();
@@ -88,9 +88,9 @@
G1StringDedupTable::deduplicate(java_string, stat);
// Safepoint this thread if needed
- if (sts.should_yield()) {
+ if (sts_join.should_yield()) {
stat.mark_block();
- sts.yield();
+ sts_join.yield();
stat.mark_unblock();
}
}