<i18n dev> RFR: 8283781: Avoid allocating unused lastRulesCaches

Claes Redestad redestad at openjdk.java.net
Mon Mar 28 12:00:52 UTC 2022


This address a minor inefficiency in that the `ZoneRules` of any `ZoneOffset` (and some `ZoneRegion`s) allocate `lastRulesCache` unnecessarily.

-------------

Commit messages:
 - Merge branch 'master' into lastRulesCache
 - Avoid allocating unused lastRulesCaches

Changes: https://git.openjdk.java.net/jdk/pull/7990/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7990&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283781
  Stats: 16 lines in 1 file changed: 9 ins; 2 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7990.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7990/head:pull/7990

PR: https://git.openjdk.java.net/jdk/pull/7990


More information about the i18n-dev mailing list