comparison src/share/vm/memory/genCollectedHeap.hpp @ 4728:441e946dc1af

7121618: Change type of number of GC workers to unsigned int. Summary: Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id). Reviewed-by: brutisso, tonyp
author jmasa
date Wed, 14 Dec 2011 13:34:57 -0800
parents 3c648b9ad052
children b632e80fc9dc
comparison
equal deleted inserted replaced
4727:67fdcb391461 4728:441e946dc1af
417 417
418 // Convenience function to be used in situations where the heap type can be 418 // Convenience function to be used in situations where the heap type can be
419 // asserted to be this type. 419 // asserted to be this type.
420 static GenCollectedHeap* heap(); 420 static GenCollectedHeap* heap();
421 421
422 void set_par_threads(int t); 422 void set_par_threads(uint t);
423
424 423
425 // Invoke the "do_oop" method of one of the closures "not_older_gens" 424 // Invoke the "do_oop" method of one of the closures "not_older_gens"
426 // or "older_gens" on root locations for the generation at 425 // or "older_gens" on root locations for the generation at
427 // "level". (The "older_gens" closure is used for scanning references 426 // "level". (The "older_gens" closure is used for scanning references
428 // from older generations; "not_older_gens" is used everywhere else.) 427 // from older generations; "not_older_gens" is used everywhere else.)