< prev index next >

src/share/vm/memory/universe.hpp

Print this page
rev 8853 : 8133821: Refactor initialization of the heap and the collector policy


 197   debug_only(static int         _fullgc_alot_dummy_next;)
 198 
 199   // Compiler/dispatch support
 200   static int  _base_vtable_size;                      // Java vtbl size of klass Object (in words)
 201 
 202   // Initialization
 203   static bool _bootstrapping;                         // true during genesis
 204   static bool _fully_initialized;                     // true after universe_init and initialize_vtables called
 205 
 206   // the array of preallocated errors with backtraces
 207   static objArrayOop  preallocated_out_of_memory_errors()     { return _preallocated_out_of_memory_error_array; }
 208 
 209   // generate an out of memory error; if possible using an error with preallocated backtrace;
 210   // otherwise return the given default error.
 211   static oop        gen_out_of_memory_error(oop default_err);
 212 
 213   // Historic gc information
 214   static size_t _heap_capacity_at_last_gc;
 215   static size_t _heap_used_at_last_gc;
 216 
 217   template <class Heap, class Policy> static jint create_heap();


 218   static jint initialize_heap();
 219   static void initialize_basic_type_mirrors(TRAPS);
 220   static void fixup_mirrors(TRAPS);
 221 
 222   static void reinitialize_vtable_of(KlassHandle h_k, TRAPS);
 223   static void reinitialize_itables(TRAPS);
 224   static void compute_base_vtable_size();             // compute vtable size of class Object
 225 
 226   static void genesis(TRAPS);                         // Create the initial world
 227 
 228   // Mirrors for primitive classes (created eagerly)
 229   static oop check_mirror(oop m) {
 230     assert(m != NULL, "mirror not initialized");
 231     return m;
 232   }
 233 
 234   static void     set_narrow_oop_base(address base) {
 235     assert(UseCompressedOops, "no compressed oops?");
 236     _narrow_oop._base    = base;
 237   }




 197   debug_only(static int         _fullgc_alot_dummy_next;)
 198 
 199   // Compiler/dispatch support
 200   static int  _base_vtable_size;                      // Java vtbl size of klass Object (in words)
 201 
 202   // Initialization
 203   static bool _bootstrapping;                         // true during genesis
 204   static bool _fully_initialized;                     // true after universe_init and initialize_vtables called
 205 
 206   // the array of preallocated errors with backtraces
 207   static objArrayOop  preallocated_out_of_memory_errors()     { return _preallocated_out_of_memory_error_array; }
 208 
 209   // generate an out of memory error; if possible using an error with preallocated backtrace;
 210   // otherwise return the given default error.
 211   static oop        gen_out_of_memory_error(oop default_err);
 212 
 213   // Historic gc information
 214   static size_t _heap_capacity_at_last_gc;
 215   static size_t _heap_used_at_last_gc;
 216 
 217   template <class Heap, class Policy> static CollectedHeap* create_heap_with_policy();
 218   static CollectedHeap* create_heap();
 219   static CollectedHeap* create_heap_ext();
 220   static jint initialize_heap();
 221   static void initialize_basic_type_mirrors(TRAPS);
 222   static void fixup_mirrors(TRAPS);
 223 
 224   static void reinitialize_vtable_of(KlassHandle h_k, TRAPS);
 225   static void reinitialize_itables(TRAPS);
 226   static void compute_base_vtable_size();             // compute vtable size of class Object
 227 
 228   static void genesis(TRAPS);                         // Create the initial world
 229 
 230   // Mirrors for primitive classes (created eagerly)
 231   static oop check_mirror(oop m) {
 232     assert(m != NULL, "mirror not initialized");
 233     return m;
 234   }
 235 
 236   static void     set_narrow_oop_base(address base) {
 237     assert(UseCompressedOops, "no compressed oops?");
 238     _narrow_oop._base    = base;
 239   }


< prev index next >