comparison src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.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
629 // Allocation statistics in support of dynamic adjustment of 629 // Allocation statistics in support of dynamic adjustment of
630 // #blocks to claim per get_from_global_pool() call below. 630 // #blocks to claim per get_from_global_pool() call below.
631 static AdaptiveWeightedAverage 631 static AdaptiveWeightedAverage
632 _blocks_to_claim [CompactibleFreeListSpace::IndexSetSize]; 632 _blocks_to_claim [CompactibleFreeListSpace::IndexSetSize];
633 static size_t _global_num_blocks [CompactibleFreeListSpace::IndexSetSize]; 633 static size_t _global_num_blocks [CompactibleFreeListSpace::IndexSetSize];
634 static int _global_num_workers[CompactibleFreeListSpace::IndexSetSize]; 634 static uint _global_num_workers[CompactibleFreeListSpace::IndexSetSize];
635 size_t _num_blocks [CompactibleFreeListSpace::IndexSetSize]; 635 size_t _num_blocks [CompactibleFreeListSpace::IndexSetSize];
636 636
637 // Internal work method 637 // Internal work method
638 void get_from_global_pool(size_t word_sz, FreeList* fl); 638 void get_from_global_pool(size_t word_sz, FreeList* fl);
639 639