--- a/hotspot/src/share/vm/gc/shared/collectorPolicy.cpp Thu Jun 04 14:19:51 2015 +0200
+++ b/hotspot/src/share/vm/gc/shared/collectorPolicy.cpp Thu Jun 04 14:29:34 2015 +0200
@@ -785,7 +785,7 @@
// free memory should be here, especially if they are expensive. If this
// attempt fails, an OOM exception will be thrown.
{
- UIntFlagSetting flag_change(MarkSweepAlwaysCompactCount, 1); // Make sure the heap is fully compacted
+ UIntXFlagSetting flag_change(MarkSweepAlwaysCompactCount, 1); // Make sure the heap is fully compacted
gch->do_collection(true /* full */,
true /* clear_all_soft_refs */,