Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8176041

Optimize handling of comment lines in Properties$LineReader.readLine

XMLWordPrintable

    • b160
    • Not verified

        The properties line reader has some relevance to startup, e.g., when reading the java.security file, and as more documentation content has been added to this file it has been made apparent that the handling of comment lines is inefficient due to treating every character after a comment line marker ('#' or '!') as any other character (writes it to an internal buffer etc) when it could trigger a fast-path consuming the rest of the line.

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: