RFR: JDK-8074002 java.time.ZoneId.systemDefault() should be faster (original) (raw)
Peter Levart peter.levart at gmail.com
Wed May 6 12:21:43 UTC 2015
- Previous message: JEP 132: More-prompt finalization
- Next message: RFR: JDK-8074002 java.time.ZoneId.systemDefault() should be faster
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Any official Reviewers with a couple of cycles to spare?
Thanks,
Peter Levart
On 04/27/2015 08:24 PM, Stephen Colebourne wrote:
This seems like a good enhancement. Stephen
On 27 April 2015 at 16:26, Peter Levart <peter.levart at gmail.com> wrote: Hi,
Please review the following improvement that caches default ZoneId object and makes the frequently executed ZoneId.systemDefault() method faster: http://cr.openjdk.java.net/~plevart/jdk9-dev/ZoneId.systemDefault/webrev.04/ The patch is just a rebased version of webrev.03 + some comments added about the importance of defensive cloning in TimeZone.setDefault(). There was already a discussion about this patch a while ago and Stephen basically approved it in this form: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-February/031714.html
Thanks, Peter Levart
- Previous message: JEP 132: More-prompt finalization
- Next message: RFR: JDK-8074002 java.time.ZoneId.systemDefault() should be faster
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]