PING! - RFR 7032154: Performance tuning of sun.misc.FloatingDecimal/FormattedFloatingDecimal

Iris Clark iris.clark at
Thu May 30 18:15:20 UTC 2013

Hi, Brian.

This looks fantastic.

The changes in Formatter look fine to me.  

I also took a quick look at FormattedFloatingDecimal and am thrilled.  I think you changes have also addressed this bug:

5057835-  FormattedFloatingDecimal: massive code duplication in J2SE

I think you're good to go once you verify that you successfully ran the regression tests in test/java/util/Formatter.


-----Original Message-----
From: Martin Buchholz [mailto:martinrb at] 
Sent: Wednesday, May 29, 2013 4:58 PM
To: Brian Burkhalter
Cc: core-libs-dev
Subject: Re: PING! - RFR 7032154: Performance tuning of sun.misc.FloatingDecimal/FormattedFloatingDecimal

I would like to see the real world-class experts on this scary math stuff (Alan Eliasen, Tim Buktu) be made honorary jdk reviewers, just for their area of specialization, if that was bureaucratically possible.  Shouldn't the original authors be cc'ed?

The code is awesome.  My thorough review found only these defects:

Use third person in the first sentence of a javadoc - e.g.


Don't use the denigrated C style
char zero[] =
Instead use
char[] zero =

This looks odd:

normalized as a//binary*

The original comment looked more normal:

normalized as a *binary*


Otherwise, approved!

On Fri, May 24, 2013 at 10:09 AM, Brian Burkhalter < brian.burkhalter at> wrote:

> Originally posted one month ago today.
> .html
> Thanks,
> Brian

More information about the core-libs-dev mailing list