Character.java methods are slower than Surrogate.java's

Christian Thalinger Christian.Thalinger at Sun.COM
Mon Dec 7 10:19:56 UTC 2009


On Wed, 2009-10-28 at 22:44 +0100, Ulf Zibis wrote:
> Hi Christian,
> 
> for a benchmark test I have replaced all sun.nio.cs.Surrogate methods in 
> sun.nio.cs.ext.EUC_TW with corresponding ones from java.lang.Character.
> 
> As result, the overall encoding performance was 10 % worse, so 
> java.lang.Character's methods must be much worser.
> 
> Can you have a look, if there is a chance to better optimize 
> java.lang.Character methods from HotSpot compiler side.

I think you're already looking into this yourself.  -- Christian




More information about the core-libs-dev mailing list