Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 993:54b3b351d6f9
Merge
author | jrose |
---|---|
date | Wed, 23 Sep 2009 23:56:15 -0700 |
parents | 2c79770d1f6e |
children | 44f61c24ddab |
comparison
equal
deleted
inserted
replaced
992:6a8ccac44f41 | 993:54b3b351d6f9 |
---|---|
90 // either equal to the number of parallel threads, if ParallelGCThreads | 90 // either equal to the number of parallel threads, if ParallelGCThreads |
91 // has been set, or 1 otherwise | 91 // has been set, or 1 otherwise |
92 int _parallel_gc_threads; | 92 int _parallel_gc_threads; |
93 | 93 |
94 enum SomePrivateConstants { | 94 enum SomePrivateConstants { |
95 NumPrevPausesForHeuristics = 10, | 95 NumPrevPausesForHeuristics = 10 |
96 NumPrevGCsForHeuristics = 10, | |
97 NumAPIs = HeapRegion::MaxAge | |
98 }; | 96 }; |
99 | 97 |
100 G1MMUTracker* _mmu_tracker; | 98 G1MMUTracker* _mmu_tracker; |
101 | 99 |
102 void initialize_flags(); | 100 void initialize_flags(); |
978 void add_to_collection_set(HeapRegion* hr); | 976 void add_to_collection_set(HeapRegion* hr); |
979 | 977 |
980 bool should_initiate_conc_mark() { return _should_initiate_conc_mark; } | 978 bool should_initiate_conc_mark() { return _should_initiate_conc_mark; } |
981 void set_should_initiate_conc_mark() { _should_initiate_conc_mark = true; } | 979 void set_should_initiate_conc_mark() { _should_initiate_conc_mark = true; } |
982 void unset_should_initiate_conc_mark(){ _should_initiate_conc_mark = false; } | 980 void unset_should_initiate_conc_mark(){ _should_initiate_conc_mark = false; } |
983 | |
984 void checkpoint_conc_overhead(); | |
985 | 981 |
986 // If an expansion would be appropriate, because recent GC overhead had | 982 // If an expansion would be appropriate, because recent GC overhead had |
987 // exceeded the desired limit, return an amount to expand by. | 983 // exceeded the desired limit, return an amount to expand by. |
988 virtual size_t expansion_amount(); | 984 virtual size_t expansion_amount(); |
989 | 985 |