On Wed, 25 Jun 2025 22:29:39 GMT, Chen Liang <li...@openjdk.org> wrote:
> For startup time, I believe this should have little impact: String itself, > without allocation of its storage array, should be as expensive as generic > record objects. This should have similar impact of declaring new records > (minimal), and in addition, this doesn't introduce new classes, so there will > be even less of an effect. Yes, but the comparison should be against the non-allocating (current implementation) not the initial implementation in the PR. Startup measurement are done periodically and if there is any impact it will show up. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25290#issuecomment-3008503533