equal
deleted
inserted
replaced
44 class HeapRegion; |
44 class HeapRegion; |
45 class G1CollectionSet; |
45 class G1CollectionSet; |
46 class CollectionSetChooser; |
46 class CollectionSetChooser; |
47 class G1IHOPControl; |
47 class G1IHOPControl; |
48 class G1Analytics; |
48 class G1Analytics; |
|
49 class G1SurvivorRegions; |
49 class G1YoungGenSizer; |
50 class G1YoungGenSizer; |
50 class GCPolicyCounters; |
51 class GCPolicyCounters; |
51 |
52 |
52 class G1DefaultPolicy: public G1Policy { |
53 class G1DefaultPolicy: public G1Policy { |
53 private: |
54 private: |
345 // next GC should be mixed. The two action strings are used |
346 // next GC should be mixed. The two action strings are used |
346 // in the ergo output when the method returns true or false. |
347 // in the ergo output when the method returns true or false. |
347 bool next_gc_should_be_mixed(const char* true_action_str, |
348 bool next_gc_should_be_mixed(const char* true_action_str, |
348 const char* false_action_str) const; |
349 const char* false_action_str) const; |
349 |
350 |
350 virtual void finalize_collection_set(double target_pause_time_ms); |
351 virtual void finalize_collection_set(double target_pause_time_ms, G1SurvivorRegions* survivor); |
351 private: |
352 private: |
352 // Set the state to start a concurrent marking cycle and clear |
353 // Set the state to start a concurrent marking cycle and clear |
353 // _initiate_conc_mark_if_possible because it has now been |
354 // _initiate_conc_mark_if_possible because it has now been |
354 // acted on. |
355 // acted on. |
355 void initiate_conc_mark(); |
356 void initiate_conc_mark(); |
394 |
395 |
395 virtual bool should_process_references() const { |
396 virtual bool should_process_references() const { |
396 return true; |
397 return true; |
397 } |
398 } |
398 |
399 |
|
400 void transfer_survivors_to_cset(const G1SurvivorRegions* survivors); |
|
401 |
399 private: |
402 private: |
400 // |
403 // |
401 // Survivor regions policy. |
404 // Survivor regions policy. |
402 // |
405 // |
403 |
406 |