On 02/17/09 03:15, Christian Thalinger wrote:
On Mon, 2009-02-16 at 14:33 -0800, Xiaobin Lu wrote:
Webrev: http://webrev.invokedynamic.info/xiaobin.lu/6622432/
6622432: RFE: Performance improvements to java.math.BigDecimal
snip
As you know, the division operation is expensive
Changeset: 8d2efec31d78
Author:xlu
Date: 2009-05-24 16:29 -0700
URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/8d2efec31d78
6622432: RFE: Performance improvements to java.math.BigDecimal
Reviewed-by: darcy
! src/share/classes/java/math/BigDecimal.java
!
Changeset: 3994c5c669cb
Author:xlu
Date: 2009-05-24 16:35 -0700
URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3994c5c669cb
6806261: BigDecimal.longValueExact() method throws NullPointerException
Summary: add various tests to test the change to 6622432
Reviewed-by: darcy
+
Would anyone please let me know why we convert the incoming argument of
Thread.setName() to a char array? Why can't we just store the incoming
argument to the name since String is immutable anyways?
Thanks,
-Xiaobin