--- 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