Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8252125: add an "inflating" entry to the "table" of bit patterns in s…
…hare/oops/markWord.hpp

Reviewed-by: tschatzl, coleenp
  • Loading branch information
Daniel D. Daugherty committed Aug 21, 2020
1 parent 81c501e commit 8c53a97973994f50932f081b8e14c4be9fafbe88
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/hotspot/share/oops/markWord.hpp
@@ -84,12 +84,13 @@
// [header | 0 | 01] unlocked regular object header
// [ptr | 10] monitor inflated lock (header is wapped out)
// [ptr | 11] marked used to mark an object
// [0 ............ 0| 00] inflating inflation in progress
//
// 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().
// - INFLATING() is a distinguished markword value of all zeros that is
// used when inflating an existing stack-lock into an ObjectMonitor.
// See below for is_being_inflated() and INFLATING().

class BasicLock;
class ObjectMonitor;

0 comments on commit 8c53a97

Please sign in to comment.