--- old/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp 2015-03-26 12:07:05.778631731 +0300 +++ new/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp 2015-03-26 12:07:05.590537738 +0300 @@ -343,7 +343,7 @@ uint gc_cost_ratio); // Return number default GC threads to use in the next GC. - static int calc_default_active_workers(uintx total_workers, + static uint calc_default_active_workers(uintx total_workers, const uintx min_workers, uintx active_workers, uintx application_workers); @@ -358,12 +358,12 @@ // GC workers from the calls above. For example, // a CMS parallel remark uses the same number of GC // workers as the most recent ParNew collection. - static int calc_active_workers(uintx total_workers, + static uint calc_active_workers(uintx total_workers, uintx active_workers, uintx application_workers); // Return number of GC threads to use in the next concurrent GC phase. - static int calc_active_conc_workers(uintx total_workers, + static uint calc_active_conc_workers(uintx total_workers, uintx active_workers, uintx application_workers);