RFR: 8366101: Replace the use of ThreadTracker with ScopedValue in java.util.jar.JarFile [v2]
Jaikiran Pai
jpai at openjdk.org
Wed Dec 3 05:21:55 UTC 2025
On Tue, 2 Dec 2025 23:42:10 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Yes, but I think would be prudent to run startup benchmarks if you change that.
>
> Using a lambda is probably fine given the AOT cache can archive lambdas and avoid the bytecode generation cost.
Hello Volkan, like Alan notes, for classes that get used very early in the startup, like the JarFile, we have avoided using lambdas so that it doesn't bring in additional lambda related infrastructure during the early startup.
I don't plan to run any performance analysis for this change, so I'll let the change stay in its current form.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28609#discussion_r2583654376
More information about the security-dev
mailing list