Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 5972:9a9bb0010c91
7156764: Remove unused size parameter from some CollectedHeap methods
Summary: Some minor cleanups
Reviewed-by: tonyp, jwilhelm
author | brutisso |
---|---|
date | Tue, 27 Mar 2012 10:29:59 +0200 |
parents | a9647476d1a4 |
children | 500023bd0818 |
comparison
equal
deleted
inserted
replaced
5965:cc74fa5a91a9 | 5972:9a9bb0010c91 |
---|---|
938 // The amount of space we copied during a GC. | 938 // The amount of space we copied during a GC. |
939 size_t bytes_copied_during_gc() { | 939 size_t bytes_copied_during_gc() { |
940 return _bytes_copied_during_gc; | 940 return _bytes_copied_during_gc; |
941 } | 941 } |
942 | 942 |
943 // Determine whether the next GC should be mixed. Called to determine | 943 // Determine whether there are candidate regions so that the |
944 // whether to start mixed GCs or whether to carry on doing mixed | 944 // next GC should be mixed. The two action strings are used |
945 // GCs. The two action strings are used in the ergo output when the | 945 // in the ergo output when the method returns true or false. |
946 // method returns true or false. | |
947 bool next_gc_should_be_mixed(const char* true_action_str, | 946 bool next_gc_should_be_mixed(const char* true_action_str, |
948 const char* false_action_str); | 947 const char* false_action_str); |
949 | 948 |
950 // Choose a new collection set. Marks the chosen regions as being | 949 // Choose a new collection set. Marks the chosen regions as being |
951 // "in_collection_set", and links them together. The head and number of | 950 // "in_collection_set", and links them together. The head and number of |