src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp	Thu Sep 19 22:29:09 2013
--- new/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp	Thu Sep 19 22:29:09 2013

*** 443,453 **** --- 443,453 ---- // young gen or the average of the live in the young gen. // If the current value drops quickly, that should be taken // into account (i.e., don't trigger if the amount of free // space has suddenly jumped up). If the current is much // higher than the average, use the average since it represents ! // the longer term behavor. ! // the longer term behavior. const size_t live_in_eden = MIN2(eden_live, (size_t) avg_eden_live()->average()); const size_t free_in_eden = max_eden_size > live_in_eden ? max_eden_size - live_in_eden : 0; const size_t free_in_old_gen = (size_t)(max_old_gen_size - avg_old_live()->average());

src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File