300 G1CollectorPolicy();
301
302 virtual ~G1CollectorPolicy();
303
304 virtual G1CollectorPolicy* as_g1_policy() { return this; }
305
306 G1CollectorState* collector_state() const;
307
308 G1GCPhaseTimes* phase_times() const { return _phase_times; }
309
310 // Check the current value of the young list RSet lengths and
311 // compare it against the last prediction. If the current value is
312 // higher, recalculate the young list target length prediction.
313 void revise_young_list_target_length_if_necessary(size_t rs_lengths);
314
315 // This should be called after the heap is resized.
316 void record_new_heap_size(uint new_number_of_regions);
317
318 void init();
319
320 virtual void note_gc_start(uint num_active_workers);
321
322 // Create jstat counters for the policy.
323 virtual void initialize_gc_policy_counters();
324
325 bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0);
326
327 bool about_to_start_mixed_phase() const;
328
329 // Record the start and end of an evacuation pause.
330 void record_collection_pause_start(double start_time_sec);
331 void record_collection_pause_end(double pause_time_ms, size_t cards_scanned, size_t heap_used_bytes_before_gc);
332
333 // Record the start and end of a full collection.
334 void record_full_collection_start();
335 void record_full_collection_end();
336
337 // Must currently be called while the world is stopped.
338 void record_concurrent_mark_init_end(double mark_init_elapsed_time_ms);
339
340 // Record start and end of remark.
|
300 G1CollectorPolicy();
301
302 virtual ~G1CollectorPolicy();
303
304 virtual G1CollectorPolicy* as_g1_policy() { return this; }
305
306 G1CollectorState* collector_state() const;
307
308 G1GCPhaseTimes* phase_times() const { return _phase_times; }
309
310 // Check the current value of the young list RSet lengths and
311 // compare it against the last prediction. If the current value is
312 // higher, recalculate the young list target length prediction.
313 void revise_young_list_target_length_if_necessary(size_t rs_lengths);
314
315 // This should be called after the heap is resized.
316 void record_new_heap_size(uint new_number_of_regions);
317
318 void init();
319
320 virtual void note_gc_start();
321
322 // Create jstat counters for the policy.
323 virtual void initialize_gc_policy_counters();
324
325 bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0);
326
327 bool about_to_start_mixed_phase() const;
328
329 // Record the start and end of an evacuation pause.
330 void record_collection_pause_start(double start_time_sec);
331 void record_collection_pause_end(double pause_time_ms, size_t cards_scanned, size_t heap_used_bytes_before_gc);
332
333 // Record the start and end of a full collection.
334 void record_full_collection_start();
335 void record_full_collection_end();
336
337 // Must currently be called while the world is stopped.
338 void record_concurrent_mark_init_end(double mark_init_elapsed_time_ms);
339
340 // Record start and end of remark.
|