hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp
changeset 6759 67b1a69ef5aa
parent 6423 1ef0582c27c2
child 6762 f8d1b560700e
equal deleted inserted replaced
6451:516540f1f076 6759:67b1a69ef5aa
   727   size_t*    _cursor;
   727   size_t*    _cursor;
   728   ChunkArray* _survivor_plab_array;
   728   ChunkArray* _survivor_plab_array;
   729 
   729 
   730   // Support for marking stack overflow handling
   730   // Support for marking stack overflow handling
   731   bool take_from_overflow_list(size_t num, CMSMarkStack* to_stack);
   731   bool take_from_overflow_list(size_t num, CMSMarkStack* to_stack);
   732   bool par_take_from_overflow_list(size_t num, OopTaskQueue* to_work_q);
   732   bool par_take_from_overflow_list(size_t num,
       
   733                                    OopTaskQueue* to_work_q,
       
   734                                    int no_of_gc_threads);
   733   void push_on_overflow_list(oop p);
   735   void push_on_overflow_list(oop p);
   734   void par_push_on_overflow_list(oop p);
   736   void par_push_on_overflow_list(oop p);
   735   // the following is, obviously, not, in general, "MT-stable"
   737   // the following is, obviously, not, in general, "MT-stable"
   736   bool overflow_list_is_empty() const;
   738   bool overflow_list_is_empty() const;
   737 
   739 
   766   // the amount of "useful work" done.
   768   // the amount of "useful work" done.
   767   size_t preclean_work(bool clean_refs, bool clean_survivors);
   769   size_t preclean_work(bool clean_refs, bool clean_survivors);
   768   void abortable_preclean(); // Preclean while looking for possible abort
   770   void abortable_preclean(); // Preclean while looking for possible abort
   769   void initialize_sequential_subtasks_for_young_gen_rescan(int i);
   771   void initialize_sequential_subtasks_for_young_gen_rescan(int i);
   770   // Helper function for above; merge-sorts the per-thread plab samples
   772   // Helper function for above; merge-sorts the per-thread plab samples
   771   void merge_survivor_plab_arrays(ContiguousSpace* surv);
   773   void merge_survivor_plab_arrays(ContiguousSpace* surv, int no_of_gc_threads);
   772   // Resets (i.e. clears) the per-thread plab sample vectors
   774   // Resets (i.e. clears) the per-thread plab sample vectors
   773   void reset_survivor_plab_arrays();
   775   void reset_survivor_plab_arrays();
   774 
   776 
   775   // final (second) checkpoint work
   777   // final (second) checkpoint work
   776   void checkpointRootsFinalWork(bool asynch, bool clear_all_soft_refs,
   778   void checkpointRootsFinalWork(bool asynch, bool clear_all_soft_refs,