< prev index next >

src/hotspot/share/memory/universe.hpp

Print this page
rev 63884 : Add cookie offset to Runtime::addressOf calculations


 124 
 125   static Array<Klass*>*  _the_array_interfaces_array;
 126 
 127   // array of preallocated error objects with backtrace
 128   static OopHandle     _preallocated_out_of_memory_error_array;
 129 
 130   // number of preallocated error objects available for use
 131   static volatile jint _preallocated_out_of_memory_error_avail_count;
 132 
 133   static OopHandle    _null_ptr_exception_instance;   // preallocated exception object
 134   static OopHandle    _arithmetic_exception_instance; // preallocated exception object
 135   static OopHandle    _virtual_machine_error_instance; // preallocated exception object
 136 
 137   // References waiting to be transferred to the ReferenceHandler
 138   static OopHandle    _reference_pending_list;
 139 
 140   // The particular choice of collected heap.
 141   static CollectedHeap* _collectedHeap;
 142 
 143   static intptr_t _non_oop_bits;

 144 
 145   // array of dummy objects used with +FullGCAlot
 146   debug_only(static OopHandle   _fullgc_alot_dummy_array;)
 147   debug_only(static int         _fullgc_alot_dummy_next;)
 148 
 149   // Compiler/dispatch support
 150   static int  _base_vtable_size;                      // Java vtbl size of klass Object (in words)
 151 
 152   // Initialization
 153   static bool _bootstrapping;                         // true during genesis
 154   static bool _module_initialized;                    // true after call_initPhase2 called
 155   static bool _fully_initialized;                     // true after universe_init and initialize_vtables called
 156 
 157   // the array of preallocated errors with backtraces
 158   static objArrayOop  preallocated_out_of_memory_errors();
 159 
 160   static objArrayOop out_of_memory_errors();
 161   // generate an out of memory error; if possible using an error with preallocated backtrace;
 162   // otherwise return the given default error.
 163   static oop        gen_out_of_memory_error(oop default_err);


 366   static int  verify_count()       { return _verify_count; }
 367   static void print_on(outputStream* st);
 368   static void print_heap_at_SIGBREAK();
 369   static void print_heap_before_gc();
 370   static void print_heap_after_gc();
 371 
 372   // Change the number of dummy objects kept reachable by the full gc dummy
 373   // array; this should trigger relocation in a sliding compaction collector.
 374   debug_only(static bool release_fullgc_alot_dummy();)
 375   // The non-oop pattern (see compiledIC.hpp, etc)
 376   static void*   non_oop_word();
 377 
 378   // Oop verification (see MacroAssembler::verify_oop)
 379   static uintptr_t verify_oop_mask()          PRODUCT_RETURN0;
 380   static uintptr_t verify_oop_bits()          PRODUCT_RETURN0;
 381   static uintptr_t verify_mark_bits()         PRODUCT_RETURN0;
 382   static uintptr_t verify_mark_mask()         PRODUCT_RETURN0;
 383 
 384   // Compiler support
 385   static int base_vtable_size()               { return _base_vtable_size; }





 386 };
 387 
 388 #endif // SHARE_MEMORY_UNIVERSE_HPP


 124 
 125   static Array<Klass*>*  _the_array_interfaces_array;
 126 
 127   // array of preallocated error objects with backtrace
 128   static OopHandle     _preallocated_out_of_memory_error_array;
 129 
 130   // number of preallocated error objects available for use
 131   static volatile jint _preallocated_out_of_memory_error_avail_count;
 132 
 133   static OopHandle    _null_ptr_exception_instance;   // preallocated exception object
 134   static OopHandle    _arithmetic_exception_instance; // preallocated exception object
 135   static OopHandle    _virtual_machine_error_instance; // preallocated exception object
 136 
 137   // References waiting to be transferred to the ReferenceHandler
 138   static OopHandle    _reference_pending_list;
 139 
 140   // The particular choice of collected heap.
 141   static CollectedHeap* _collectedHeap;
 142 
 143   static intptr_t _non_oop_bits;
 144   static intptr_t _non_heap_offset;
 145 
 146   // array of dummy objects used with +FullGCAlot
 147   debug_only(static OopHandle   _fullgc_alot_dummy_array;)
 148   debug_only(static int         _fullgc_alot_dummy_next;)
 149 
 150   // Compiler/dispatch support
 151   static int  _base_vtable_size;                      // Java vtbl size of klass Object (in words)
 152 
 153   // Initialization
 154   static bool _bootstrapping;                         // true during genesis
 155   static bool _module_initialized;                    // true after call_initPhase2 called
 156   static bool _fully_initialized;                     // true after universe_init and initialize_vtables called
 157 
 158   // the array of preallocated errors with backtraces
 159   static objArrayOop  preallocated_out_of_memory_errors();
 160 
 161   static objArrayOop out_of_memory_errors();
 162   // generate an out of memory error; if possible using an error with preallocated backtrace;
 163   // otherwise return the given default error.
 164   static oop        gen_out_of_memory_error(oop default_err);


 367   static int  verify_count()       { return _verify_count; }
 368   static void print_on(outputStream* st);
 369   static void print_heap_at_SIGBREAK();
 370   static void print_heap_before_gc();
 371   static void print_heap_after_gc();
 372 
 373   // Change the number of dummy objects kept reachable by the full gc dummy
 374   // array; this should trigger relocation in a sliding compaction collector.
 375   debug_only(static bool release_fullgc_alot_dummy();)
 376   // The non-oop pattern (see compiledIC.hpp, etc)
 377   static void*   non_oop_word();
 378 
 379   // Oop verification (see MacroAssembler::verify_oop)
 380   static uintptr_t verify_oop_mask()          PRODUCT_RETURN0;
 381   static uintptr_t verify_oop_bits()          PRODUCT_RETURN0;
 382   static uintptr_t verify_mark_bits()         PRODUCT_RETURN0;
 383   static uintptr_t verify_mark_mask()         PRODUCT_RETURN0;
 384 
 385   // Compiler support
 386   static int base_vtable_size()               { return _base_vtable_size; }
 387 
 388   static intptr_t non_heap_offset() {
 389     assert(_non_heap_offset != 0, "Should be initialized.");
 390     return _non_heap_offset;
 391   }
 392 };
 393 
 394 #endif // SHARE_MEMORY_UNIVERSE_HPP
< prev index next >