diff src/share/vm/gc_implementation/shared/allocationStats.hpp @ 3256:c69b1043dfb1

7036482: clear argument is redundant and unused in cardtable methods Summary: Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added a pair of clarifying parens in AllocationStats constructor. Reviewed-by: brutisso, jcoomes
author ysr
date Thu, 14 Apr 2011 12:10:15 -0700
parents 1d1603768966
children f75137faa7fe
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/allocationStats.hpp	Wed Apr 13 17:56:43 2011 -0700
+++ b/src/share/vm/gc_implementation/shared/allocationStats.hpp	Thu Apr 14 12:10:15 2011 -0700
@@ -76,7 +76,7 @@
     _beforeSweep = 0;
     _coalBirths = 0;
     _coalDeaths = 0;
-    _splitBirths = split_birth? 1 : 0;
+    _splitBirths = (split_birth ? 1 : 0);
     _splitDeaths = 0;
     _returnedBytes = 0;
   }