--- a/hotspot/src/share/vm/memory/space.hpp Tue May 14 17:08:31 2013 +0200
+++ b/hotspot/src/share/vm/memory/space.hpp Wed May 15 11:05:09 2013 +0200
@@ -537,9 +537,8 @@
* Occasionally, we want to ensure a full compaction, which is determined \
* by the MarkSweepAlwaysCompactCount parameter. \
*/ \
- int invocations = MarkSweep::total_invocations(); \
- bool skip_dead = (MarkSweepAlwaysCompactCount < 1) \
- ||((invocations % MarkSweepAlwaysCompactCount) != 0); \
+ uint invocations = MarkSweep::total_invocations(); \
+ bool skip_dead = ((invocations % MarkSweepAlwaysCompactCount) != 0); \
\
size_t allowed_deadspace = 0; \
if (skip_dead) { \