1.1 --- a/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp Tue May 21 16:43:41 2013 -0700 1.2 +++ b/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp Wed May 22 11:11:47 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -585,8 +585,7 @@ 1.11 size_policy->avg_young_live()->sample(used()); 1.12 size_policy->avg_eden_live()->sample(eden()->used()); 1.13 1.14 - size_policy->compute_young_generation_free_space(eden()->capacity(), 1.15 - max_gen_size()); 1.16 + size_policy->compute_eden_space_size(eden()->capacity(), max_gen_size()); 1.17 1.18 resize(size_policy->calculated_eden_size_in_bytes(), 1.19 size_policy->calculated_survivor_size_in_bytes());