[Fwd: Re: hg: jdk7/tl/jdk: 6642323: Speeding up Single Byte Decoders; ...]

Christian Thalinger Christian.Thalinger at Sun.COM
Sat Jan 17 10:51:37 PST 2009


On Sat, 2009-01-17 at 18:39 +0100, Ulf Zibis wrote:
> Hi Christian,
> 
> here I send you some benchmark, which was written by Sherman, the
> inventor ? of the +128 trick.
> I didn't try it yet.
> 
> You also can refer to:
> Cr #6785335
> https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/trunk/test/SpeedTest.java?rev=&view=markup
> https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/trunk/bin/
> 
> For the latter, I'm afraid, you have to setup my project
> https://java-nio-charset-enhanced.dev.java.net/ by help of NetBeans.

Thanks for the benchmark, but it seems it does not use any unsigned byte
loads.  Can you point me to a place in the JDK where this +128 trick is
used?

-- Christian




More information about the hotspot-dev mailing list