--- old/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp 2015-03-26 12:07:05.218351756 +0300 +++ new/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp 2015-03-26 12:07:05.034259765 +0300 @@ -97,7 +97,7 @@ // Calculate the number of GC threads based on the size of the heap. // Use the larger. -int AdaptiveSizePolicy::calc_default_active_workers(uintx total_workers, +uint AdaptiveSizePolicy::calc_default_active_workers(uintx total_workers, const uintx min_workers, uintx active_workers, uintx application_workers) { @@ -178,7 +178,7 @@ return new_active_workers; } -int AdaptiveSizePolicy::calc_active_workers(uintx total_workers, +uint AdaptiveSizePolicy::calc_active_workers(uintx total_workers, uintx active_workers, uintx application_workers) { // If the user has specifically set the number of @@ -188,7 +188,7 @@ // or the users has requested a specific number, set the active // number of workers to all the workers. - int new_active_workers; + uint new_active_workers; if (!UseDynamicNumberOfGCThreads || (!FLAG_IS_DEFAULT(ParallelGCThreads) && !ForceDynamicNumberOfGCThreads)) { new_active_workers = total_workers; @@ -202,14 +202,14 @@ return new_active_workers; } -int AdaptiveSizePolicy::calc_active_conc_workers(uintx total_workers, +uint AdaptiveSizePolicy::calc_active_conc_workers(uintx total_workers, uintx active_workers, uintx application_workers) { if (!UseDynamicNumberOfGCThreads || (!FLAG_IS_DEFAULT(ConcGCThreads) && !ForceDynamicNumberOfGCThreads)) { return ConcGCThreads; } else { - int no_of_gc_threads = calc_default_active_workers( + uint no_of_gc_threads = calc_default_active_workers( total_workers, 1, /* Minimum number of workers */ active_workers,