hotspot/src/share/vm/gc/g1/collectionSetChooser.hpp
changeset 30874 18714bae50db
parent 30764 fec48bf5a827
child 31346 a70d45c06136
equal deleted inserted replaced
30873:4e2d1bd16703 30874:18714bae50db
   119   // Serial version.
   119   // Serial version.
   120   void add_region(HeapRegion *hr);
   120   void add_region(HeapRegion *hr);
   121 
   121 
   122   // Must be called before calls to claim_array_chunk().
   122   // Must be called before calls to claim_array_chunk().
   123   // n_regions is the number of regions, chunk_size the chunk size.
   123   // n_regions is the number of regions, chunk_size the chunk size.
   124   void prepare_for_par_region_addition(uint n_regions, uint chunk_size);
   124   void prepare_for_par_region_addition(uint n_threads, uint n_regions, uint chunk_size);
   125   // Returns the first index in a contiguous chunk of chunk_size indexes
   125   // Returns the first index in a contiguous chunk of chunk_size indexes
   126   // that the calling thread has reserved.  These must be set by the
   126   // that the calling thread has reserved.  These must be set by the
   127   // calling thread using set_region() (to NULL if necessary).
   127   // calling thread using set_region() (to NULL if necessary).
   128   uint claim_array_chunk(uint chunk_size);
   128   uint claim_array_chunk(uint chunk_size);
   129   // Set the marked array entry at index to hr.  Careful to claim the index
   129   // Set the marked array entry at index to hr.  Careful to claim the index