Re: RFR: 8301552: Use AtomicReferenceArray for caching instead of CHM in ZoneOffset [v4]

2023-02-01 Thread cheenar
On Wed, 1 Feb 2023 20:16:56 GMT, cheenar wrote: >> Per Minborg has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Simplify benchmark >> - Add benchmark > > test/jdk/java/time/tck/java/time/zone/TCKFix

Re: RFR: 8301552: Use AtomicReferenceArray for caching instead of CHM in ZoneOffset [v4]

2023-02-01 Thread cheenar
On Wed, 1 Feb 2023 13:18:31 GMT, Per Minborg wrote: >> `ZoneOffset` instances are cached by the `ZoneOffset` class itself for >> values in the range [-18h, 18h] for each second that is on an even quarter >> of an hour (i.e. at most 2*18*4+1 = 145 values). >> >> Instead of using a `ConcurrentH