-
Enhancement
-
Resolution: Fixed
-
P3
-
6u17
-
1.4
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2207332 | 7 | Joe Wang | P3 | Closed | Fixed | b112 |
These two methods could be refactored to avoid unnecessary calls to Math.round(double). In workloads which make frequent calls to these two methods could experience high sys CPU time if Math.round(double) if what Math.round(double) calls invokes native methods.
com.sun.org.apache.xalan.internal.xsltc.runtime.BasicLibrary.substringF(String,double,double)
com.sun.org.apache.xalan.internal.xsltc.runtime.BasicLibrary.substringF(String,double)
It is also possible a modern JVM's JIT compiler could better optimize a refactored version.
com.sun.org.apache.xalan.internal.xsltc.runtime.BasicLibrary.substringF(String,double,double)
com.sun.org.apache.xalan.internal.xsltc.runtime.BasicLibrary.substringF(String,double)
It is also possible a modern JVM's JIT compiler could better optimize a refactored version.
- backported by
-
JDK-2207332 refactor com.sun.org.apache.xalan.internal.xsltc.runtime.BasicLibrary.substringF() variants
- Closed
- relates to
-
JDK-6908131 Pure Java implementations of java.lang.StrictMath.floor(double) & java.lang.StrictMath.ceil(double)
- Resolved