< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page
rev 9431 : dihop-changes
rev 9433 : imported patch erik-jmasa-review
rev 9434 : imported patch fix-evac-failure-needs-stats
rev 9435 : [mq]: mikael-erik-review


 268 
 269   size_t _rs_lengths_prediction;
 270 
 271 #ifndef PRODUCT
 272   bool verify_young_ages(HeapRegion* head, SurvRateGroup *surv_rate_group);
 273 #endif // PRODUCT
 274 
 275   void adjust_concurrent_refinement(double update_rs_time,
 276                                     double update_rs_processed_buffers,
 277                                     double goal_ms);
 278 
 279   uintx no_of_gc_threads() { return _no_of_gc_threads; }
 280   void set_no_of_gc_threads(uintx v) { _no_of_gc_threads = v; }
 281 
 282   double _pause_time_target_ms;
 283 
 284   size_t _pending_cards;
 285 
 286   // The amount of allocated bytes in old gen during the last mutator and the following
 287   // young GC phase.
 288   size_t _last_old_allocated_bytes;
 289 
 290   G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
 291 public:
 292   const G1Predictions& predictor() const { return _predictor; }
 293 
 294   // Add the given number of bytes to the total number of allocated bytes in the old gen.
 295   void add_last_old_allocated_bytes(size_t bytes) { _last_old_allocated_bytes += bytes; }
 296 
 297   // Accessors
 298 
 299   void set_region_eden(HeapRegion* hr, int young_index_in_cset) {
 300     hr->set_eden();
 301     hr->install_surv_rate_group(_short_lived_surv_rate_group);
 302     hr->set_young_index_in_cset(young_index_in_cset);
 303   }
 304 
 305   void set_region_survivor(HeapRegion* hr, int young_index_in_cset) {
 306     assert(hr->is_survivor(), "pre-condition");
 307     hr->install_surv_rate_group(_survivor_surv_rate_group);
 308     hr->set_young_index_in_cset(young_index_in_cset);
 309   }
 310 
 311 #ifndef PRODUCT
 312   bool verify_young_ages();
 313 #endif // PRODUCT
 314 
 315   void record_max_rs_lengths(size_t rs_lengths) {




 268 
 269   size_t _rs_lengths_prediction;
 270 
 271 #ifndef PRODUCT
 272   bool verify_young_ages(HeapRegion* head, SurvRateGroup *surv_rate_group);
 273 #endif // PRODUCT
 274 
 275   void adjust_concurrent_refinement(double update_rs_time,
 276                                     double update_rs_processed_buffers,
 277                                     double goal_ms);
 278 
 279   uintx no_of_gc_threads() { return _no_of_gc_threads; }
 280   void set_no_of_gc_threads(uintx v) { _no_of_gc_threads = v; }
 281 
 282   double _pause_time_target_ms;
 283 
 284   size_t _pending_cards;
 285 
 286   // The amount of allocated bytes in old gen during the last mutator and the following
 287   // young GC phase.
 288   size_t _bytes_allocated_in_old_since_last_gc;
 289 
 290   G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
 291 public:
 292   const G1Predictions& predictor() const { return _predictor; }
 293 
 294   // Add the given number of bytes to the total number of allocated bytes in the old gen.
 295   void add_bytes_allocated_in_old_since_last_gc(size_t bytes) { _bytes_allocated_in_old_since_last_gc += bytes; }
 296 
 297   // Accessors
 298 
 299   void set_region_eden(HeapRegion* hr, int young_index_in_cset) {
 300     hr->set_eden();
 301     hr->install_surv_rate_group(_short_lived_surv_rate_group);
 302     hr->set_young_index_in_cset(young_index_in_cset);
 303   }
 304 
 305   void set_region_survivor(HeapRegion* hr, int young_index_in_cset) {
 306     assert(hr->is_survivor(), "pre-condition");
 307     hr->install_surv_rate_group(_survivor_surv_rate_group);
 308     hr->set_young_index_in_cset(young_index_in_cset);
 309   }
 310 
 311 #ifndef PRODUCT
 312   bool verify_young_ages();
 313 #endif // PRODUCT
 314 
 315   void record_max_rs_lengths(size_t rs_lengths) {


< prev index next >