8013794: JDK-8006220 caused an octane performance regression.
authorjlaskey
Thu, 02 May 2013 13:22:46 -0300
changeset 17515 953eaa0cb8d5
parent 17513 b9a691fc1df5
child 17516 de95f0ccc5cf
8013794: JDK-8006220 caused an octane performance regression. Reviewed-by: lagergren, sundar Contributed-by: james.laskey@oracle.com
nashorn/src/jdk/nashorn/internal/codegen/ObjectCreator.java
--- a/nashorn/src/jdk/nashorn/internal/codegen/ObjectCreator.java	Tue Apr 30 10:05:42 2013 -0300
+++ b/nashorn/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;
     }
 
     /**