< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page




 150 int             Universe::_verify_count = 0;
 151 
 152 // Oop verification (see MacroAssembler::verify_oop)
 153 uintptr_t       Universe::_verify_oop_mask = 0;
 154 uintptr_t       Universe::_verify_oop_bits = (uintptr_t) -1;
 155 
 156 int             Universe::_base_vtable_size = 0;
 157 bool            Universe::_bootstrapping = false;
 158 bool            Universe::_module_initialized = false;
 159 bool            Universe::_fully_initialized = false;
 160 
 161 size_t          Universe::_heap_capacity_at_last_gc;
 162 size_t          Universe::_heap_used_at_last_gc = 0;
 163 
 164 CollectedHeap*  Universe::_collectedHeap = NULL;
 165 
 166 NarrowPtrStruct Universe::_narrow_oop = { NULL, 0, true };
 167 NarrowPtrStruct Universe::_narrow_klass = { NULL, 0, true };
 168 address Universe::_narrow_ptrs_base;
 169 
 170 int Universe::_oop_metadata_odd_mask = 0;
 171 
 172 void Universe::basic_type_classes_do(void f(Klass*)) {
 173   f(boolArrayKlassObj());
 174   f(byteArrayKlassObj());
 175   f(charArrayKlassObj());
 176   f(intArrayKlassObj());
 177   f(shortArrayKlassObj());
 178   f(longArrayKlassObj());
 179   f(singleArrayKlassObj());
 180   f(doubleArrayKlassObj());
 181 }
 182 
 183 void Universe::oops_do(OopClosure* f, bool do_all) {
 184 
 185   f->do_oop((oop*) &_int_mirror);
 186   f->do_oop((oop*) &_float_mirror);
 187   f->do_oop((oop*) &_double_mirror);
 188   f->do_oop((oop*) &_byte_mirror);
 189   f->do_oop((oop*) &_bool_mirror);
 190   f->do_oop((oop*) &_char_mirror);




 150 int             Universe::_verify_count = 0;
 151 
 152 // Oop verification (see MacroAssembler::verify_oop)
 153 uintptr_t       Universe::_verify_oop_mask = 0;
 154 uintptr_t       Universe::_verify_oop_bits = (uintptr_t) -1;
 155 
 156 int             Universe::_base_vtable_size = 0;
 157 bool            Universe::_bootstrapping = false;
 158 bool            Universe::_module_initialized = false;
 159 bool            Universe::_fully_initialized = false;
 160 
 161 size_t          Universe::_heap_capacity_at_last_gc;
 162 size_t          Universe::_heap_used_at_last_gc = 0;
 163 
 164 CollectedHeap*  Universe::_collectedHeap = NULL;
 165 
 166 NarrowPtrStruct Universe::_narrow_oop = { NULL, 0, true };
 167 NarrowPtrStruct Universe::_narrow_klass = { NULL, 0, true };
 168 address Universe::_narrow_ptrs_base;
 169 
 170 int Universe::_oop_metadata_odd_mask = KlassPtrEvenOddMask;
 171 
 172 void Universe::basic_type_classes_do(void f(Klass*)) {
 173   f(boolArrayKlassObj());
 174   f(byteArrayKlassObj());
 175   f(charArrayKlassObj());
 176   f(intArrayKlassObj());
 177   f(shortArrayKlassObj());
 178   f(longArrayKlassObj());
 179   f(singleArrayKlassObj());
 180   f(doubleArrayKlassObj());
 181 }
 182 
 183 void Universe::oops_do(OopClosure* f, bool do_all) {
 184 
 185   f->do_oop((oop*) &_int_mirror);
 186   f->do_oop((oop*) &_float_mirror);
 187   f->do_oop((oop*) &_double_mirror);
 188   f->do_oop((oop*) &_byte_mirror);
 189   f->do_oop((oop*) &_bool_mirror);
 190   f->do_oop((oop*) &_char_mirror);


< prev index next >