mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
This commit is contained in:
parent
862b933a2e
commit
5f5af54f95
20 changed files with 97 additions and 55 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue