213 static bool _fully_initialized; // true after universe_init and initialize_vtables called
214
215 // the array of preallocated errors with backtraces
216 static objArrayOop preallocated_out_of_memory_errors() { return _preallocated_out_of_memory_error_array; }
217
218 // generate an out of memory error; if possible using an error with preallocated backtrace;
219 // otherwise return the given default error.
220 static oop gen_out_of_memory_error(oop default_err);
221
222 // Historic gc information
223 static size_t _heap_capacity_at_last_gc;
224 static size_t _heap_used_at_last_gc;
225
226 template <class Heap, class Policy> static CollectedHeap* create_heap_with_policy();
227 static CollectedHeap* create_heap();
228 static CollectedHeap* create_heap_ext();
229 static jint initialize_heap();
230 static void initialize_basic_type_mirrors(TRAPS);
231 static void fixup_mirrors(TRAPS);
232
233 static void reinitialize_vtable_of(KlassHandle h_k, TRAPS);
234 static void reinitialize_itables(TRAPS);
235 static void compute_base_vtable_size(); // compute vtable size of class Object
236
237 static void genesis(TRAPS); // Create the initial world
238
239 // Mirrors for primitive classes (created eagerly)
240 static oop check_mirror(oop m) {
241 assert(m != NULL, "mirror not initialized");
242 return m;
243 }
244
245 static void set_narrow_oop_base(address base) {
246 assert(UseCompressedOops, "no compressed oops?");
247 _narrow_oop._base = base;
248 }
249 static void set_narrow_klass_base(address base) {
250 assert(UseCompressedClassPointers, "no compressed klass ptrs?");
251 _narrow_klass._base = base;
252 }
253 static void set_narrow_oop_use_implicit_null_checks(bool use) {
|
213 static bool _fully_initialized; // true after universe_init and initialize_vtables called
214
215 // the array of preallocated errors with backtraces
216 static objArrayOop preallocated_out_of_memory_errors() { return _preallocated_out_of_memory_error_array; }
217
218 // generate an out of memory error; if possible using an error with preallocated backtrace;
219 // otherwise return the given default error.
220 static oop gen_out_of_memory_error(oop default_err);
221
222 // Historic gc information
223 static size_t _heap_capacity_at_last_gc;
224 static size_t _heap_used_at_last_gc;
225
226 template <class Heap, class Policy> static CollectedHeap* create_heap_with_policy();
227 static CollectedHeap* create_heap();
228 static CollectedHeap* create_heap_ext();
229 static jint initialize_heap();
230 static void initialize_basic_type_mirrors(TRAPS);
231 static void fixup_mirrors(TRAPS);
232
233 static void reinitialize_vtable_of(Klass* k, TRAPS);
234 static void reinitialize_itables(TRAPS);
235 static void compute_base_vtable_size(); // compute vtable size of class Object
236
237 static void genesis(TRAPS); // Create the initial world
238
239 // Mirrors for primitive classes (created eagerly)
240 static oop check_mirror(oop m) {
241 assert(m != NULL, "mirror not initialized");
242 return m;
243 }
244
245 static void set_narrow_oop_base(address base) {
246 assert(UseCompressedOops, "no compressed oops?");
247 _narrow_oop._base = base;
248 }
249 static void set_narrow_klass_base(address base) {
250 assert(UseCompressedClassPointers, "no compressed klass ptrs?");
251 _narrow_klass._base = base;
252 }
253 static void set_narrow_oop_use_implicit_null_checks(bool use) {
|