[10] RFR: 8176041: Optimize handling of comment lines in Properties$LineReader.readLine

Aleksey Shipilev shade at redhat.com
Wed Mar 1 17:17:45 UTC 2017


On 03/01/2017 06:11 PM, Claes Redestad wrote:
> Sure, with a bit of fix-up this drops another 170k executed bytecodes
> to read in the java.security file (original: 1882k, now: 980k):
> 
> http://cr.openjdk.java.net/~redestad/8176041/jdk.02/

Ok, that's fine.

This is slightly more idiomatic, you might want to change before pushing:
  c = (char)(b & 0xFF);

Thanks,
-Aleksey



More information about the core-libs-dev mailing list