< prev index next >
src/hotspot/share/gc/shared/collectorPolicy.hpp
Print this page
*** 155,177 ****
GCPolicyCounters* _gc_policy_counters;
// The sizing of the heap is controlled by a sizing policy.
AdaptiveSizePolicy* _size_policy;
- // Return true if an allocation should be attempted in the older generation
- // if it fails in the younger generation. Return false, otherwise.
- virtual bool should_try_older_generation_allocation(size_t word_size) const;
-
void initialize_flags();
void initialize_size_info();
DEBUG_ONLY(void assert_flags();)
DEBUG_ONLY(void assert_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 NewRatio according to
// result = base_size / (NewRatio + 1)
--- 155,170 ----
*** 218,233 ****
size_t young_gen_size_lower_bound();
size_t old_gen_size_lower_bound();
- HeapWord* mem_allocate_work(size_t size,
- bool is_tlab,
- bool* gc_overhead_limit_was_exceeded);
-
- HeapWord *satisfy_failed_allocation(size_t size, bool is_tlab);
-
// Adaptive size policy
AdaptiveSizePolicy* size_policy() { return _size_policy; }
virtual void initialize_size_policy(size_t init_eden_size,
size_t init_promo_size,
--- 211,220 ----
< prev index next >