1.1 --- a/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp Wed Dec 21 07:53:53 2011 -0500 1.2 +++ b/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp Wed Dec 14 13:34:57 2011 -0800 1.3 @@ -264,7 +264,7 @@ 1.4 // or some improperly initialized variable with leads to no 1.5 // active threads, protect against that in a product build. 1.6 n_threads = MAX2(G1CollectedHeap::heap()->workers()->active_workers(), 1.7 - 1); 1.8 + 1U); 1.9 } 1.10 size_t max_waste = n_threads * chunkSize; 1.11 // it should be aligned with respect to chunkSize