Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8251543: add mention of INFLATING() to share/oops/markWord.hpp header…
… comment

Reviewed-by: kbarrett
  • Loading branch information
Daniel D. Daugherty committed Aug 15, 2020
1 parent 9e29d3e commit 65de2224b47367fbe15de454077221aaaa590b17
Showing 1 changed file with 5 additions and 1 deletion.
@@ -86,6 +86,10 @@
// [ptr | 11] marked used to mark an object
//
// We assume that stack/thread pointers have the lowest two bits cleared.
//
// - INFLATING() is a distinguished markword value that is used when
// inflating an existing stack-lock into an ObjectMonitor. See below
// for is_being_inflated() and INFLATING().

class BasicLock;
class ObjectMonitor;
@@ -226,7 +230,7 @@ class markWord {
bool is_being_inflated() const { return (value() == 0); }

// Distinguished markword value - used when inflating over
// an existing stacklock. 0 indicates the markword is "BUSY".
// an existing stack-lock. 0 indicates the markword is "BUSY".
// Lockword mutators that use a LD...CAS idiom should always
// check for and avoid overwriting a 0 value installed by some
// other thread. (They should spin or block instead. The 0 value

0 comments on commit 65de222

Please sign in to comment.