changeset 243:7563c56ca565

8013794: JDK-8006220 caused an octane performance regression. Reviewed-by: lagergren, sundar Contributed-by: james.laskey@oracle.com
author jlaskey
date Thu, 02 May 2013 13:22:46 -0300
parents b754fb89367d
children 9c2376a250b6
files src/jdk/nashorn/internal/codegen/ObjectCreator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk/nashorn/internal/codegen/ObjectCreator.java	Tue Apr 30 10:05:42 2013 -0300
+++ b/src/jdk/nashorn/internal/codegen/ObjectCreator.java	Thu May 02 13:22:46 2013 -0300
@@ -92,7 +92,7 @@
             }
         }
 
-        paddedFieldCount = (fieldCount + FIELD_PADDING + FIELD_ROUNDING - 1) / FIELD_ROUNDING * FIELD_ROUNDING;
+        paddedFieldCount = fieldCount + FIELD_PADDING;
     }
 
     /**