Withdrawn: 8291027: Some of TimeZone methods marked 'synchronized' unnecessarily
duke
duke at openjdk.org
Thu May 9 04:03:10 UTC 2024
On Tue, 16 Jan 2024 10:19:44 GMT, Andrey Turbanov <aturbanov at 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 been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/17441
More information about the core-libs-dev
mailing list