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

Reduce number of Charset classes loaded on bootstrap

    XMLWordPrintable

    Details

      Backports

        Description

        A small startup overhead was added as part of the compact strings work in that java.nio.charset.StandardCharsets (and all charsets defined there) are loaded in eagerly.

        By short-cutting the load of StandardCharsets we can reduce number of classes loaded and code executed eagerly during VM bootstrap.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: