<i18n dev> Review Request for CR : 7050528 Improve performance of java.text.DecimalFormat.format() call stack

Olivier Lagneau olivier.lagneau at oracle.com
Tue Sep 13 07:11:40 PDT 2011


Please review The implementation of a fast-path algorithm for optimizing the
DecimalFormat(double, ...) call stack.

The webrev is here :
http://cr.openjdk.java.net/~alanb/7050528/webrev.01

As described in the CR evaluation and suggested fix,
the speed-up on a micro-benchmark is ~x11 on Sparc-USIV arch and ~x10 on 
Sparc-T4.
The footprint cost is ~6kbytes of static char array constant data to 
collect digits from integer values.

New test dedicated at checking fast-path algorithm, as well as 
micro-benchmark,
are coming soon in a subsequent webrev containing them.

-- 
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





More information about the i18n-dev mailing list