hotspot/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp
changeset 11396 917d8673b5ef
parent 11174 fccee5238e70
child 11756 28b6fe22e43d
--- a/hotspot/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp	Wed Dec 21 07:53:53 2011 -0500
+++ b/hotspot/src/share/vm/gc_implementation/g1/collectionSetChooser.cpp	Wed Dec 14 13:34:57 2011 -0800
@@ -264,7 +264,7 @@
     // or some improperly initialized variable with leads to no
     // active threads, protect against that in a product build.
     n_threads = MAX2(G1CollectedHeap::heap()->workers()->active_workers(),
-                     1);
+                     1U);
   }
   size_t max_waste = n_threads * chunkSize;
   // it should be aligned with respect to chunkSize