1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp Fri Apr 09 13:08:34 2010 -0400 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp Tue Apr 13 13:52:10 2010 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved. 1.6 + * Copyright 2002-2010 Sun Microsystems, Inc. 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 @@ -45,6 +45,7 @@ 1.11 1.12 // Forward decls 1.13 class elapsedTimer; 1.14 +class GenerationSizer; 1.15 1.16 class PSAdaptiveSizePolicy : public AdaptiveSizePolicy { 1.17 friend class PSGCAdaptivePolicyCounters; 1.18 @@ -340,7 +341,8 @@ 1.19 size_t max_old_gen_size, 1.20 size_t max_eden_size, 1.21 bool is_full_gc, 1.22 - GCCause::Cause gc_cause); 1.23 + GCCause::Cause gc_cause, 1.24 + CollectorPolicy* collector_policy); 1.25 1.26 // Calculates new survivor space size; returns a new tenuring threshold 1.27 // value. Stores new survivor size in _survivor_size.