Various startup regressions were introduced in 23-b13 from JDK-8309622. Some of that has been dealt with as enhancements such as JDK-8330802, JDK-8330595 and JDK-8330681, which provide both point fixes and reduce initialization overhead of certain constructs more generally. The remaining issues stem from a set of lambdas added in code for java.util.Locale and jdk.internal.util.BaseLocale causing early bootstrapping of the lambda infrastructure and a bit of class generation.
While the remaining overheads are relatively small and borderline acceptable (< 2-3ms), I think it's still worth acting on them in this particular case since the amount of added bootstrapping overhead is dependent on which locale the system runs under, which complicates testing and comparisons due to spurious differences on different systems.
While the remaining overheads are relatively small and borderline acceptable (< 2-3ms), I think it's still worth acting on them in this particular case since the amount of added bootstrapping overhead is dependent on which locale the system runs under, which complicates testing and comparisons due to spurious differences on different systems.
- relates to
-
JDK-8309622 Re-examine the cache mechanism in BaseLocale
-
- Resolved
-
-
JDK-8338897 Small startup regression remains after JDK-8309622 and JDK-8331932
-
- Resolved
-