< prev index next >

src/share/vm/runtime/mutex.hpp

Print this page
rev 12048 : 8166560: [s390] Basic enablement of s390 port.

*** 80,90 **** // try_lock do fence-lock-acquire, and that unlock does a release-unlock, // *in that order*. If their implementations change such that these // assumptions are violated, a whole lot of code will break. // The default length of monitor name is chosen to be 64 to avoid false sharing. ! static const int MONITOR_NAME_LEN = 64; class Monitor : public CHeapObj<mtInternal> { public: // A special lock: Is a lock where you are guaranteed not to block while you are --- 80,90 ---- // try_lock do fence-lock-acquire, and that unlock does a release-unlock, // *in that order*. If their implementations change such that these // assumptions are violated, a whole lot of code will break. // The default length of monitor name is chosen to be 64 to avoid false sharing. ! static const int MONITOR_NAME_LEN = 64 S390_ONLY(+192); class Monitor : public CHeapObj<mtInternal> { public: // A special lock: Is a lock where you are guaranteed not to block while you are
< prev index next >