On Mon, 2007-09-17 at 12:17 +1000, Robin Garner wrote: > [ping] > > Robin Garner wrote: > > GCC Bugzilla Bug 32541 > > > > On JikesRVM (and possibly other VMs), dacapo xalan performs lots of > > small IO using the default character encoding. OutputStreamWriter > > currently buffers characters when converting between character sets, > > but bypasses this when not converting. Applying the buffering > > uniformly speeds up dacapo xalan by 2x on JikesRVM. > > > > Also, for single character IO, a new char array is allocated per IO > > operation. Avoiding this allocation gives a ~5% speedup.
Hi! I'm not really the Java guy here and don't know the IO code, but this sounds very good to me. What is OpenJDK doing in this area? - twisti
