hotspot/src/share/vm/oops/markOop.hpp
changeset 360 21d113ecbf6a
parent 221 ec745a0fe922
child 613 2aa2b913106c
child 1374 4c24294029a9
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    87  public:
    87  public:
    88   // Constants
    88   // Constants
    89   enum { age_bits                 = 4,
    89   enum { age_bits                 = 4,
    90          lock_bits                = 2,
    90          lock_bits                = 2,
    91          biased_lock_bits         = 1,
    91          biased_lock_bits         = 1,
    92          max_hash_bits            = BitsPerOop - age_bits - lock_bits - biased_lock_bits,
    92          max_hash_bits            = BitsPerWord - age_bits - lock_bits - biased_lock_bits,
    93          hash_bits                = max_hash_bits > 31 ? 31 : max_hash_bits,
    93          hash_bits                = max_hash_bits > 31 ? 31 : max_hash_bits,
    94          epoch_bits               = 2
    94          epoch_bits               = 2
    95   };
    95   };
    96 
    96 
    97   // The biased locking code currently requires that the age bits be
    97   // The biased locking code currently requires that the age bits be