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

Optimize handling of comment lines in Properties$LineReader.readLine

    XMLWordPrintable

Details

    • b160
    • Not verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: