< prev index next >

src/share/vm/gc_implementation/shared/ageTable.hpp

Print this page

        

@@ -27,10 +27,12 @@
 
 #include "oops/markOop.hpp"
 #include "oops/oop.hpp"
 #include "runtime/perfData.hpp"
 
+class GCPolicyCounters;
+
 /* Copyright (c) 1992-2009 Oracle and/or its affiliates, and Stanford University.
    See the LICENSE file for license information. */
 
 // Age table for adaptive feedback-mediated tenuring (scavenging)
 //

@@ -67,11 +69,11 @@
   // for parallel young generation gc.
   void merge(ageTable* subTable);
   void merge_par(ageTable* subTable);
 
   // calculate new tenuring threshold based on age information
-  uint compute_tenuring_threshold(size_t survivor_capacity);
+  uint compute_tenuring_threshold(size_t survivor_capacity, GCPolicyCounters* gc_counters);
 
  private:
   PerfVariable* _perf_sizes[table_size];
 };
 
< prev index next >