src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp	Fri Nov  1 16:25:48 2013
--- new/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp	Fri Nov  1 16:25:48 2013

*** 89,99 **** --- 89,99 ---- // These record the most recent collection times. They // are available as an alternative to using the averages // for making ergonomic decisions. double _latest_major_mutator_interval_seconds; ! const size_t _intra_generation_alignment; // alignment for eden, survivors ! const size_t _space_alignment; // alignment for eden, survivors const double _gc_minor_pause_goal_sec; // goal for maximum minor gc pause // The amount of live data in the heap at the last full GC, used // as a baseline to help us determine when we need to perform the
*** 227,237 **** --- 227,237 ---- // // NEEDS_CLEANUP this is a singleton object PSAdaptiveSizePolicy(size_t init_eden_size, size_t init_promo_size, size_t init_survivor_size, ! size_t intra_generation_alignment, ! size_t space_alignment, double gc_pause_goal_sec, double gc_minor_pause_goal_sec, uint gc_time_ratio); // Methods indicating events of interest to the adaptive size policy,
*** 376,386 **** --- 376,386 ---- // system, with Eden zero sized. Even if the survivor space grows, from() // might grow by moving the bottom boundary "down" -- so from space will // remain almost full anyway (top() will be near end(), but there will be a // large filler object at the bottom). const size_t sz = gen_size / MinSurvivorRatio; ! const size_t alignment = _intra_generation_alignment; ! const size_t alignment = _space_alignment; return sz > alignment ? align_size_down(sz, alignment) : alignment; } size_t live_at_last_full_gc() { return _live_at_last_full_gc;

src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File