aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/synchronizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/runtime/synchronizer.cpp')
-rw-r--r--src/share/vm/runtime/synchronizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/vm/runtime/synchronizer.cpp b/src/share/vm/runtime/synchronizer.cpp
index bdf416275..bff39625e 100644
--- a/src/share/vm/runtime/synchronizer.cpp
+++ b/src/share/vm/runtime/synchronizer.cpp
@@ -813,6 +813,7 @@ JavaThread* ObjectSynchronizer::get_lock_owner(Handle h_obj, bool doLock) {
}
if (owner != NULL) {
+ // owning_thread_from_monitor_owner() may also return NULL here
return Threads::owning_thread_from_monitor_owner(owner, doLock);
}