hotspot/src/share/vm/gc/cms/compactibleFreeListSpace.cpp
changeset 37433 f8fd0bcc60af
parent 37245 70413a0266d4
child 37457 79f4b6032f9e
equal deleted inserted replaced
37432:4a57933cebfa 37433:f8fd0bcc60af
  2834 
  2834 
  2835   // Otherwise, we'll split a block from the dictionary.
  2835   // Otherwise, we'll split a block from the dictionary.
  2836   par_get_chunk_of_blocks_dictionary(word_sz, n, fl);
  2836   par_get_chunk_of_blocks_dictionary(word_sz, n, fl);
  2837 }
  2837 }
  2838 
  2838 
       
  2839 const size_t CompactibleFreeListSpace::max_flag_size_for_task_size() const {
       
  2840   const size_t ergo_max = _old_gen->reserved().word_size() / (CardTableModRefBS::card_size_in_words * BitsPerWord);
       
  2841   return ergo_max;
       
  2842 }
       
  2843 
  2839 // Set up the space's par_seq_tasks structure for work claiming
  2844 // Set up the space's par_seq_tasks structure for work claiming
  2840 // for parallel rescan. See CMSParRemarkTask where this is currently used.
  2845 // for parallel rescan. See CMSParRemarkTask where this is currently used.
  2841 // XXX Need to suitably abstract and generalize this and the next
  2846 // XXX Need to suitably abstract and generalize this and the next
  2842 // method into one.
  2847 // method into one.
  2843 void
  2848 void