hotspot/src/share/vm/memory/universe.hpp
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   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();