comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 6819:2e6857353b2c

8000311: G1: ParallelGCThreads==0 broken Summary: Divide by zero error, if ParallelGCThreads is 0, when adjusting the PLAB size. Reviewed-by: jmasa, jcoomes
author johnc
date Thu, 04 Oct 2012 10:04:13 -0700
parents b2ef234911c9
children ad747ee9d0b1 9412b1915547
comparison
equal deleted inserted replaced
6818:22b8d3d181d9 6819:2e6857353b2c
324 324
325 // It initializes the GC alloc regions at the start of a GC. 325 // It initializes the GC alloc regions at the start of a GC.
326 void init_gc_alloc_regions(); 326 void init_gc_alloc_regions();
327 327
328 // It releases the GC alloc regions at the end of a GC. 328 // It releases the GC alloc regions at the end of a GC.
329 void release_gc_alloc_regions(); 329 void release_gc_alloc_regions(uint no_of_gc_workers);
330 330
331 // It does any cleanup that needs to be done on the GC alloc regions 331 // It does any cleanup that needs to be done on the GC alloc regions
332 // before a Full GC. 332 // before a Full GC.
333 void abandon_gc_alloc_regions(); 333 void abandon_gc_alloc_regions();
334 334
650 // allocated block, or else "NULL". 650 // allocated block, or else "NULL".
651 HeapWord* expand_and_allocate(size_t word_size); 651 HeapWord* expand_and_allocate(size_t word_size);
652 652
653 // Process any reference objects discovered during 653 // Process any reference objects discovered during
654 // an incremental evacuation pause. 654 // an incremental evacuation pause.
655 void process_discovered_references(); 655 void process_discovered_references(uint no_of_gc_workers);
656 656
657 // Enqueue any remaining discovered references 657 // Enqueue any remaining discovered references
658 // after processing. 658 // after processing.
659 void enqueue_discovered_references(); 659 void enqueue_discovered_references(uint no_of_gc_workers);
660 660
661 public: 661 public:
662 662
663 G1MonitoringSupport* g1mm() { 663 G1MonitoringSupport* g1mm() {
664 assert(_g1mm != NULL, "should have been initialized"); 664 assert(_g1mm != NULL, "should have been initialized");