< prev index next >

src/hotspot/share/runtime/vmStructs.cpp

Print this page
@@ -775,15 +775,15 @@
                                                                                                                                       \
    /************/                                                                                                                     \
    /* Monitors */                                                                                                                     \
    /************/                                                                                                                     \
                                                                                                                                       \
-   volatile_nonstatic_field(ObjectMonitor,      _header,                                       markWord)                              \
+   volatile_nonstatic_field(ObjectMonitor,      _metadata,                                     uintptr_t)                             \
    unchecked_nonstatic_field(ObjectMonitor,     _object,                                       sizeof(void *)) /* NOTE: no type */    \
    unchecked_nonstatic_field(ObjectMonitor,     _owner,                                        sizeof(void *)) /* NOTE: no type */    \
    volatile_nonstatic_field(ObjectMonitor,      _next_om,                                      ObjectMonitor*)                        \
-   volatile_nonstatic_field(BasicLock,          _displaced_header,                             markWord)                              \
+   volatile_nonstatic_field(BasicLock,          _metadata,                                     uintptr_t)                             \
    nonstatic_field(ObjectMonitor,               _contentions,                                  int)                                   \
    volatile_nonstatic_field(ObjectMonitor,      _waiters,                                      int)                                   \
    volatile_nonstatic_field(ObjectMonitor,      _recursions,                                   intx)                                  \
    nonstatic_field(BasicObjectLock,             _lock,                                         BasicLock)                             \
    nonstatic_field(BasicObjectLock,             _obj,                                          oop)                                   \

@@ -1991,12 +1991,10 @@
    declare_constant(oopSize)                                               \
    declare_constant(LogBytesPerWord)                                       \
    declare_constant(BytesPerWord)                                          \
    declare_constant(BytesPerLong)                                          \
                                                                            \
-   declare_constant(LogKlassAlignmentInBytes)                              \
-                                                                           \
    declare_constant(HeapWordSize)                                          \
    declare_constant(LogHeapWordSize)                                       \
                                                                            \
                                                                            \
    /************************/                                              \

@@ -2496,21 +2494,26 @@
                                                                            \
    declare_constant(markWord::age_bits)                                    \
    declare_constant(markWord::lock_bits)                                   \
    declare_constant(markWord::max_hash_bits)                               \
    declare_constant(markWord::hash_bits)                                   \
+   declare_constant(markWord::hash_bits_compact)                           \
                                                                            \
    declare_constant(markWord::lock_shift)                                  \
    declare_constant(markWord::age_shift)                                   \
    declare_constant(markWord::hash_shift)                                  \
+   declare_constant(markWord::hash_shift_compact)                          \
+   LP64_ONLY(declare_constant(markWord::klass_shift))                      \
                                                                            \
    declare_constant(markWord::lock_mask)                                   \
    declare_constant(markWord::lock_mask_in_place)                          \
    declare_constant(markWord::age_mask)                                    \
    declare_constant(markWord::age_mask_in_place)                           \
    declare_constant(markWord::hash_mask)                                   \
    declare_constant(markWord::hash_mask_in_place)                          \
+   declare_constant(markWord::hash_mask_compact)                           \
+   declare_constant(markWord::hash_mask_compact_in_place)                  \
                                                                            \
    declare_constant(markWord::locked_value)                                \
    declare_constant(markWord::unlocked_value)                              \
    declare_constant(markWord::monitor_value)                               \
    declare_constant(markWord::marked_value)                                \
< prev index next >