RFR: 8333103: Re-examine the console provider loading
Alan Bateman
alanb at openjdk.org
Thu May 30 10:05:05 UTC 2024
On Wed, 29 May 2024 19:51:36 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> There is an initialization code in `Console` class that searches for the Console implementations. Refactoring the init code not to use lambda/stream would reduce the (initial) number of loaded classes by about 100 for java.base implementations. This would become relevant when the java.io.IO (JEP 477) uses Console as the underlying framework.
Would it be possible to provide more context/background here? This is not code that is used during startup. Is there benchmark data to share for first use of java.io.IO ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19467#issuecomment-2139208694
More information about the core-libs-dev
mailing list