8013794: JDK-8006220 caused an octane performance regression.
Reviewed-by: lagergren, sundar
Contributed-by: james.laskey@oracle.com
--- 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;
}
/**