On Tue, 16 Jan 2024 10:19:44 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

> There are 3 methods in `java.util.TimeZone` which are `public static` and 
> marked as `synchronized`:
> 1. getTimeZone(String)
> 2. getAvailableIDs(int)
> 3. getAvailableIDs()
> 
> This means it is a bottle neck for the whole VM.
> I've checked the implementation and concluded that `synchronized` is 
> unnecessary.

This pull request has now been integrated.

Changeset: bef5f565
Author:    Andrey Turbanov <aturba...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/bef5f56544ded9307e5f1095bd42ae46fdc2adda
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8291027: Some of TimeZone methods marked 'synchronized' unnecessarily

Reviewed-by: liach, naoto, jlu

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

PR: https://git.openjdk.org/jdk/pull/17441

Reply via email to