src/share/vm/memory/collectorPolicy.hpp

Print this page

        

*** 96,105 **** --- 96,108 ---- _should_clear_all_soft_refs(false), _all_soft_refs_clear(false) {} public: + // compute (conservative) maximum heap alignment + static size_t compute_max_alignment(); + void set_min_alignment(size_t align) { _min_alignment = align; } size_t min_alignment() { return _min_alignment; } void set_max_alignment(size_t align) { _max_alignment = align; } size_t max_alignment() { return _max_alignment; }
*** 232,244 **** void initialize_size_info(); // Try to allocate space by expanding the heap. virtual HeapWord* expand_heap_and_allocate(size_t size, bool is_tlab); - // compute max heap alignment - size_t compute_max_alignment(); - // Scale the base_size by NewRation according to // result = base_size / (NewRatio + 1) // and align by min_alignment() size_t scale_by_NewRatio_aligned(size_t base_size); --- 235,244 ----