hotspot/src/share/vm/memory/space.hpp
changeset 17392 2f967c0e4246
parent 15482 470d0b0c09f1
child 22827 07d991d45a51
child 22234 da823d78ad65
--- 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) {                                                           \