hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 46587 6c97f34cb194
parent 46541 d20828de9e39
child 46618 d503911aa948
--- a/hotspot/src/share/vm/runtime/synchronizer.cpp	Tue Jun 27 12:27:27 2017 +0000
+++ b/hotspot/src/share/vm/runtime/synchronizer.cpp	Wed Jun 28 16:14:20 2017 -0400
@@ -672,8 +672,7 @@
 static inline intptr_t get_next_hash(Thread * Self, oop obj) {
   intptr_t value = 0;
   if (hashCode == 0) {
-    // This form uses an unguarded global Park-Miller RNG,
-    // so it's possible for two threads to race and generate the same RNG.
+    // This form uses global Park-Miller RNG.
     // On MP system we'll have lots of RW access to a global, so the
     // mechanism induces lots of coherency traffic.
     value = os::random();