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

changeset 9858
b985cbb00e68
parent 7645
f2e3f0e1f97d
child 9931
fd44df5e3bc3
equal deleted inserted replaced
9727:c7a3e57fdf4a 9858:b985cbb00e68
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP 26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_AGETABLE_HPP
27 27
28 #include "oops/markOop.hpp" 28 #include "oops/markOop.hpp"
29 #include "oops/oop.hpp" 29 #include "oops/oop.hpp"
30 #include "gc_implementation/shared/gcTrace.hpp"
30 #include "runtime/perfData.hpp" 31 #include "runtime/perfData.hpp"
31 32
32 /* Copyright (c) 1992-2009 Oracle and/or its affiliates, and Stanford University. 33 /* Copyright (c) 1992-2009 Oracle and/or its affiliates, and Stanford University.
33 See the LICENSE file for license information. */ 34 See the LICENSE file for license information. */
34 35
67 // for parallel young generation gc. 68 // for parallel young generation gc.
68 void merge(ageTable* subTable); 69 void merge(ageTable* subTable);
69 void merge_par(ageTable* subTable); 70 void merge_par(ageTable* subTable);
70 71
71 // calculate new tenuring threshold based on age information 72 // calculate new tenuring threshold based on age information
72 uint compute_tenuring_threshold(size_t survivor_capacity); 73 uint compute_tenuring_threshold(size_t survivor_capacity, GCTracer &tracer);
73 74
74 private: 75 private:
75 PerfVariable* _perf_sizes[table_size]; 76 PerfVariable* _perf_sizes[table_size];
76 }; 77 };
77 78

mercurial