< prev index next >

src/hotspot/share/runtime/vmStructs.cpp

Print this page

2564 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \
2565                                                                           \
2566   /****************/                                                      \
2567   /* GC constants */                                                      \
2568   /****************/                                                      \
2569                                                                           \
2570   VM_LONG_CONSTANTS_GC(declare_constant)                                  \
2571                                                                           \
2572   /*********************/                                                 \
2573   /* markWord constants */                                                \
2574   /*********************/                                                 \
2575                                                                           \
2576   /* Note: some of these are declared as long constants just for */       \
2577   /* consistency. The mask constants are the only ones requiring */       \
2578   /* 64 bits (on 64-bit platforms). */                                    \
2579                                                                           \
2580   declare_constant(markWord::age_bits)                                    \
2581   declare_constant(markWord::lock_bits)                                   \
2582   declare_constant(markWord::max_hash_bits)                               \
2583   declare_constant(markWord::hash_bits)                                   \

2584                                                                           \
2585   declare_constant(markWord::lock_shift)                                  \
2586   declare_constant(markWord::age_shift)                                   \
2587   declare_constant(markWord::hash_shift)                                  \


2588                                                                           \
2589   declare_constant(markWord::lock_mask)                                   \
2590   declare_constant(markWord::lock_mask_in_place)                          \
2591   declare_constant(markWord::age_mask)                                    \
2592   declare_constant(markWord::age_mask_in_place)                           \
2593   declare_constant(markWord::hash_mask)                                   \
2594   declare_constant(markWord::hash_mask_in_place)                          \


2595                                                                           \
2596   declare_constant(markWord::locked_value)                                \
2597   declare_constant(markWord::unlocked_value)                              \
2598   declare_constant(markWord::monitor_value)                               \
2599   declare_constant(markWord::marked_value)                                \
2600                                                                           \
2601   declare_constant(markWord::no_hash)                                     \
2602   declare_constant(markWord::no_hash_in_place)                            \
2603   declare_constant(markWord::no_lock_in_place)                            \
2604   declare_constant(markWord::max_age)                                     \
2605                                                                           \
2606   /* InvocationCounter constants */                                       \
2607   declare_constant(InvocationCounter::count_increment)                    \
2608   declare_constant(InvocationCounter::count_shift)                        \
2609                                                                           \
2610   /* ObjectMonitor constants */                                           \
2611   declare_constant(ObjectMonitor::ANONYMOUS_OWNER)                        \
2612 
2613 //--------------------------------------------------------------------------------
2614 //

2564 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \
2565                                                                           \
2566   /****************/                                                      \
2567   /* GC constants */                                                      \
2568   /****************/                                                      \
2569                                                                           \
2570   VM_LONG_CONSTANTS_GC(declare_constant)                                  \
2571                                                                           \
2572   /*********************/                                                 \
2573   /* markWord constants */                                                \
2574   /*********************/                                                 \
2575                                                                           \
2576   /* Note: some of these are declared as long constants just for */       \
2577   /* consistency. The mask constants are the only ones requiring */       \
2578   /* 64 bits (on 64-bit platforms). */                                    \
2579                                                                           \
2580   declare_constant(markWord::age_bits)                                    \
2581   declare_constant(markWord::lock_bits)                                   \
2582   declare_constant(markWord::max_hash_bits)                               \
2583   declare_constant(markWord::hash_bits)                                   \
2584   declare_constant(markWord::hash_bits_compact)                           \
2585                                                                           \
2586   declare_constant(markWord::lock_shift)                                  \
2587   declare_constant(markWord::age_shift)                                   \
2588   declare_constant(markWord::hash_shift)                                  \
2589   declare_constant(markWord::hash_shift_compact)                          \
2590   LP64_ONLY(declare_constant(markWord::klass_shift))                      \
2591                                                                           \
2592   declare_constant(markWord::lock_mask)                                   \
2593   declare_constant(markWord::lock_mask_in_place)                          \
2594   declare_constant(markWord::age_mask)                                    \
2595   declare_constant(markWord::age_mask_in_place)                           \
2596   declare_constant(markWord::hash_mask)                                   \
2597   declare_constant(markWord::hash_mask_in_place)                          \
2598   declare_constant(markWord::hash_mask_compact)                           \
2599   declare_constant(markWord::hash_mask_compact_in_place)                  \
2600                                                                           \
2601   declare_constant(markWord::locked_value)                                \
2602   declare_constant(markWord::unlocked_value)                              \
2603   declare_constant(markWord::monitor_value)                               \
2604   declare_constant(markWord::marked_value)                                \
2605                                                                           \
2606   declare_constant(markWord::no_hash)                                     \
2607   declare_constant(markWord::no_hash_in_place)                            \
2608   declare_constant(markWord::no_lock_in_place)                            \
2609   declare_constant(markWord::max_age)                                     \
2610                                                                           \
2611   /* InvocationCounter constants */                                       \
2612   declare_constant(InvocationCounter::count_increment)                    \
2613   declare_constant(InvocationCounter::count_shift)                        \
2614                                                                           \
2615   /* ObjectMonitor constants */                                           \
2616   declare_constant(ObjectMonitor::ANONYMOUS_OWNER)                        \
2617 
2618 //--------------------------------------------------------------------------------
2619 //
< prev index next >