8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint

Reviewed-by: drwhite, stefank
This commit is contained in:
David Lindholm 2015-06-05 09:50:09 +02:00
parent 862b933a2e
commit 5f5af54f95
20 changed files with 97 additions and 55 deletions

View file

@ -75,8 +75,8 @@ bool PSPromotionManager::should_scavenge(narrowOop* p, bool check_to_space) {
return PSScavenge::should_scavenge(p, check_to_space);
}
PSPromotionManager* PSPromotionManager::gc_thread_promotion_manager(int index) {
assert(index >= 0 && index < (int)ParallelGCThreads, "index out of range");
PSPromotionManager* PSPromotionManager::gc_thread_promotion_manager(uint index) {
assert(index < ParallelGCThreads, "index out of range");
assert(_manager_array != NULL, "Sanity");
return &_manager_array[index];
}