534 535 // Process any reference objects discovered. 536 void process_discovered_references(G1ParScanThreadStateSet* per_thread_states); 537 538 // If during a concurrent start pause we may install a pending list head which is not 539 // otherwise reachable, ensure that it is marked in the bitmap for concurrent marking 540 // to discover. 541 void make_pending_list_reachable(); 542 543 // Merges the information gathered on a per-thread basis for all worker threads 544 // during GC into global variables. 545 void merge_per_thread_state_info(G1ParScanThreadStateSet* per_thread_states); 546 547 void verify_numa_regions(const char* desc); 548 549 public: 550 G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; } 551 552 WorkGang* workers() const { return _workers; } 553 554 // Runs the given AbstractGangTask with the current active workers. 555 virtual void run_task(AbstractGangTask* task); 556 557 // Runs the given AbstractGangTask with the current active workers, 558 // returning the total time taken. 559 Tickspan run_task_timed(AbstractGangTask* task); 560 561 G1Allocator* allocator() { 562 return _allocator; 563 } 564 565 G1HeapVerifier* verifier() { 566 return _verifier; 567 } 568 569 G1MonitoringSupport* g1mm() { 570 assert(_g1mm != NULL, "should have been initialized"); 571 return _g1mm; 572 } 573 574 void resize_heap_if_necessary(); 575 576 G1NUMA* numa() const { return _numa; } | 534 535 // Process any reference objects discovered. 536 void process_discovered_references(G1ParScanThreadStateSet* per_thread_states); 537 538 // If during a concurrent start pause we may install a pending list head which is not 539 // otherwise reachable, ensure that it is marked in the bitmap for concurrent marking 540 // to discover. 541 void make_pending_list_reachable(); 542 543 // Merges the information gathered on a per-thread basis for all worker threads 544 // during GC into global variables. 545 void merge_per_thread_state_info(G1ParScanThreadStateSet* per_thread_states); 546 547 void verify_numa_regions(const char* desc); 548 549 public: 550 G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; } 551 552 WorkGang* workers() const { return _workers; } 553 554 // Runs the given AbstractGangTask with the current active workers, 555 // returning the total time taken. 556 Tickspan run_task_timed(AbstractGangTask* task); 557 558 G1Allocator* allocator() { 559 return _allocator; 560 } 561 562 G1HeapVerifier* verifier() { 563 return _verifier; 564 } 565 566 G1MonitoringSupport* g1mm() { 567 assert(_g1mm != NULL, "should have been initialized"); 568 return _g1mm; 569 } 570 571 void resize_heap_if_necessary(); 572 573 G1NUMA* numa() const { return _numa; } |