RFR (S) 8222186: Shenandoah should not uncommit below minimum heap size

Aleksey Shipilev shade at redhat.com
Tue Apr 9 14:07:38 UTC 2019


On 4/9/19 4:06 PM, Zhengyu Gu wrote:
> ShenandoahHeap.hpp L#200 : indents

These are indented to align "size_t" with optional "volatile":

 199 private:
 200            size_t _initial_size;
 201            size_t _minimum_size;
 202   DEFINE_PAD_MINUS_SIZE(0, DEFAULT_CACHE_LINE_SIZE, sizeof(volatile size_t));
 203   volatile size_t _used;
 204   volatile size_t _committed;
 205   volatile size_t _bytes_allocated_since_gc_start;
 206   DEFINE_PAD_MINUS_SIZE(1, DEFAULT_CACHE_LINE_SIZE, 0);

-Aleksey



More information about the shenandoah-dev mailing list