Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084932 | emb-9 | Peter Levart | P4 | Resolved | Fixed | team |
Obtaining default system ZoneId is a frequent call. It should have as little overhead as possible. This call is implemented as: TimeZone.getDefault().toZoneId(), so the opportunity is to cache the instance inside default TimeZone instance.
- backported by
-
JDK-8084932 java.time.ZoneId.systemDefault() should be faster
-
- Resolved
-
- relates to
-
JDK-8299675 ZoneId.systemDefault() doesn't reflect the change of system default time-zone because of cache
-
- Closed
-
-
JDK-8074023 Clock.system(ZoneId) could be optimized to always return the same clock for a given zone.
-
- Open
-