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 |