Review Request for CR : 7050528 Improve performance of java.text.DecimalFormat.format() call stack (original) (raw)
Olivier Lagneau olivier.lagneau at oracle.com
Wed Sep 12 17:19:24 UTC 2012
- Previous message: hg: jdk8/tl/jdk: 7193406: Clean-up JDK Build Warnings in java.util, java.io
- Next message: Review Request for CR : 7050528 Improve performance of java.text.DecimalFormat.format() call stack
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Please review The implementation of a fast-path algorithm for optimizing the DecimalFormat.format(double, ...) call stack.
The webrev is here : http://cr.openjdk.java.net/~olagneau/7050528/webrev.02/
As described in the CR evaluation and suggested fix, the speed-up on a dedicated micro-benchmark is more than x10 on either SPARC or x86 architectures. The footprint cost is ~6kbytes from a static char array constant data to collect digits from integer values.
There is an associated regression test, together with a micro-benchmark that may be run optionally.
-- Olivier Lagneau, olivier.lagneau at oracle.com Oracle, 180 Av. de l'Europe, ZIRST de Montbonnot, 38334 Saint Ismier, FRANCE Phone : +33 4 76 18 80 09 Fax : +33 4 76 18 80 23
- Previous message: hg: jdk8/tl/jdk: 7193406: Clean-up JDK Build Warnings in java.util, java.io
- Next message: Review Request for CR : 7050528 Improve performance of java.text.DecimalFormat.format() call stack
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]