[ping] Robin Garner wrote:
GCC Bugzilla Bug 32541On 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.
