-
Bug
-
Resolution: Fixed
-
P4
-
25
-
b02
-
generic
-
generic
Locale has a few use sites that defer initialization. Lazy strategies such as CHM, nested static classes, and local inner classes are employed. These would all be better if replaced by StableValues.
While Locale and BaseLocale can take advantage of SVs to simplify the caching mechanism, care needs to be taken to not introduce startup degradation. Particularly, with lambda usage.
While Locale and BaseLocale can take advantage of SVs to simplify the caching mechanism, care needs to be taken to not introduce startup degradation. Particularly, with lambda usage.
- relates to
-
JDK-8358732 Improve lazy computation in InternalLocaleBuilder
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/cd9b1bc8
-
Review(master) openjdk/jdk/25646