--- a/hotspot/src/share/vm/memory/collectorPolicy.cpp Tue May 14 17:08:31 2013 +0200
+++ b/hotspot/src/share/vm/memory/collectorPolicy.cpp Wed May 15 11:05:09 2013 +0200
@@ -752,7 +752,7 @@
// free memory should be here, especially if they are expensive. If this
// attempt fails, an OOM exception will be thrown.
{
- IntFlagSetting flag_change(MarkSweepAlwaysCompactCount, 1); // Make sure the heap is fully compacted
+ UIntFlagSetting flag_change(MarkSweepAlwaysCompactCount, 1); // Make sure the heap is fully compacted
gch->do_collection(true /* full */,
true /* clear_all_soft_refs */,