aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm
diff options
context:
space:
mode:
authorbrutisso <none@none>2013-06-30 21:42:07 +0200
committerbrutisso <none@none>2013-06-30 21:42:07 +0200
commiteb32e71546644d866362bf723780ab282012b9f8 (patch)
tree29bef34d98160408a70d02734bede497fed30af5 /src/share/vm
parent938373dfa565269de5f4d26a00bd88cb28b67c40 (diff)
8014022: G1: Non Java threads should lock the shared SATB queue lock without safepoint checks.
Reviewed-by: tschatzl, brutisso, jmasa, ysr Contributed-by: per.liden@oracle.com
Diffstat (limited to 'src/share/vm')
-rw-r--r--src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
index 9cee1eb1b..218be0c0e 100644
--- a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
+++ b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
@@ -47,7 +47,7 @@ void G1SATBCardTableModRefBS::enqueue(oop pre_val) {
JavaThread* jt = (JavaThread*)thr;
jt->satb_mark_queue().enqueue(pre_val);
} else {
- MutexLocker x(Shared_SATB_Q_lock);
+ MutexLockerEx x(Shared_SATB_Q_lock, Mutex::_no_safepoint_check_flag);
JavaThread::satb_mark_queue_set().shared_satb_queue()->enqueue(pre_val);
}
}