src/share/vm/memory/universe.hpp

changeset 548
ba764ed4b6f2
parent 435
a61af66fc99e
child 631
d1605aabd0a1
equal deleted inserted replaced
545:a49a647afe9a 548:ba764ed4b6f2
178 178
179 static oop _emptySymbol; // Canonical empty string ("") symbol 179 static oop _emptySymbol; // Canonical empty string ("") symbol
180 180
181 // The particular choice of collected heap. 181 // The particular choice of collected heap.
182 static CollectedHeap* _collectedHeap; 182 static CollectedHeap* _collectedHeap;
183 // Base address for oop-within-java-object materialization.
184 // NULL if using wide oops. Doubles as heap oop null value.
185 static address _heap_base;
183 186
184 // array of dummy objects used with +FullGCAlot 187 // array of dummy objects used with +FullGCAlot
185 debug_only(static objArrayOop _fullgc_alot_dummy_array;) 188 debug_only(static objArrayOop _fullgc_alot_dummy_array;)
186 // index of next entry to clear 189 // index of next entry to clear
187 debug_only(static int _fullgc_alot_dummy_next;) 190 debug_only(static int _fullgc_alot_dummy_next;)
188 191
189 // Compiler/dispatch support 192 // Compiler/dispatch support
190 static int _base_vtable_size; // Java vtbl size of klass Object (in words) 193 static int _base_vtable_size; // Java vtbl size of klass Object (in words)
191 194
321 static klassOop* doubleArrayKlassObj_addr() { return &_doubleArrayKlassObj; } 324 static klassOop* doubleArrayKlassObj_addr() { return &_doubleArrayKlassObj; }
322 325
323 // The particular choice of collected heap. 326 // The particular choice of collected heap.
324 static CollectedHeap* heap() { return _collectedHeap; } 327 static CollectedHeap* heap() { return _collectedHeap; }
325 328
329 // For UseCompressedOops
330 static address heap_base() { return _heap_base; }
331 static address* heap_base_addr() { return &_heap_base; }
332
326 // Historic gc information 333 // Historic gc information
327 static size_t get_heap_capacity_at_last_gc() { return _heap_capacity_at_last_gc; } 334 static size_t get_heap_capacity_at_last_gc() { return _heap_capacity_at_last_gc; }
328 static size_t get_heap_free_at_last_gc() { return _heap_capacity_at_last_gc - _heap_used_at_last_gc; } 335 static size_t get_heap_free_at_last_gc() { return _heap_capacity_at_last_gc - _heap_used_at_last_gc; }
329 static size_t get_heap_used_at_last_gc() { return _heap_used_at_last_gc; } 336 static size_t get_heap_used_at_last_gc() { return _heap_used_at_last_gc; }
330 static void update_heap_info_at_gc(); 337 static void update_heap_info_at_gc();

mercurial