--- a/hotspot/src/share/vm/gc/parallel/psPromotionManager.cpp Thu Jun 04 14:29:34 2015 +0200
+++ b/hotspot/src/share/vm/gc/parallel/psPromotionManager.cpp Fri Jun 05 09:50:09 2015 +0200
@@ -75,8 +75,8 @@
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];
}