Integrated: 8283781: Avoid allocating unused lastRulesCaches

Claes Redestad redestad at openjdk.java.net
Tue Mar 29 09:35:48 UTC 2022


On Mon, 28 Mar 2022 11:52:38 GMT, Claes Redestad <redestad at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 0e788e0e
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0e788e0ecbf44f1feee817fe22123a8523da5ee3
Stats:     16 lines in 1 file changed: 9 ins; 2 del; 5 mod

8283781: Avoid allocating unused lastRulesCaches

Reviewed-by: rriggs, naoto

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

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


More information about the core-libs-dev mailing list