Mercurial > hg > truffle
comparison src/share/vm/runtime/mutex.hpp @ 605:98cb887364d3
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Fri, 27 Feb 2009 13:27:09 -0800 |
parents | d1605aabd0a1 |
children | 354d3184f6b2 |
comparison
equal
deleted
inserted
replaced
604:ec59443af135 | 605:98cb887364d3 |
---|---|
80 // See orderAccess.hpp. We assume throughout the VM that mutex lock and | 80 // See orderAccess.hpp. We assume throughout the VM that mutex lock and |
81 // try_lock do fence-lock-acquire, and that unlock does a release-unlock, | 81 // try_lock do fence-lock-acquire, and that unlock does a release-unlock, |
82 // *in that order*. If their implementations change such that these | 82 // *in that order*. If their implementations change such that these |
83 // assumptions are violated, a whole lot of code will break. | 83 // assumptions are violated, a whole lot of code will break. |
84 | 84 |
85 // The default length of monitor name is choosen to be 64 to avoid false sharing. | 85 // The default length of monitor name is chosen to be 64 to avoid false sharing. |
86 static const int MONITOR_NAME_LEN = 64; | 86 static const int MONITOR_NAME_LEN = 64; |
87 | 87 |
88 class Monitor : public CHeapObj { | 88 class Monitor : public CHeapObj { |
89 | 89 |
90 public: | 90 public: |