Character.java methods are slower than Surrogate.java's
Ulf.Zibis at gmx.de
Mon Dec 7 05:48:10 PST 2009
Am 07.12.2009 11:19, Christian Thalinger schrieb:
> 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
Yes, correct, I'm trying...
More information about the hotspot-compiler-dev