< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahHeap.hpp

Print this page
rev 11158 : [backport] 8220162: Shenandoah should not commit HugeTLBFS memory
Reviewed-by: rkennke, zgu

*** 232,247 **** --- 232,249 ---- // ---------- Heap regions handling machinery // private: MemRegion _heap_region; + bool _heap_region_special; size_t _num_regions; ShenandoahHeapRegion** _regions; ShenandoahRegionIterator _update_refs_iterator; public: inline size_t num_regions() const { return _num_regions; } + inline bool is_heap_region_special() { return _heap_region_special; } inline ShenandoahHeapRegion* const heap_region_containing(const void* addr) const; inline size_t heap_region_index_containing(const void* addr) const; inline ShenandoahHeapRegion* const get_region(size_t region_idx) const;
*** 600,609 **** --- 602,614 ---- size_t _bitmap_size; size_t _bitmap_regions_per_slice; size_t _bitmap_bytes_per_slice; + bool _bitmap_region_special; + bool _aux_bitmap_region_special; + // Used for buffering per-region liveness data. // Needed since ShenandoahHeapRegion uses atomics to update liveness. // // The array has max-workers elements, each of which is an array of // jushort * max_regions. The choice of jushort is not accidental:
< prev index next >