Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9.3
-
Component/s: Runtime: Class Library
-
Labels:None
-
Number of attachments :
Description
Currently character set encoding/decoding is perfomed using CharBuffer.get/put and ByteBuffer.get/put, when these are backed up by arrays (the common case) this is burdensome. By using the hasArray check an array based copying loop should be implemented.
Issue Links
- supercedes
-
RVM-299
possible performance regression on xalan on classpath 0.96
-
This should improve the performance of the following benchmarks (the amount in brackets is the amount of time they currently spend in the encode loop): SpecJVM 98 Jack (2.5%), DaCapo antlr (6.42%), DaCapo lusearch (2.26%), DaCapo xalan (~2.5%).