Long valueOf instead of new Long
Otávio Gonçalves de Santana
otaviojava at java.net
Thu Jun 26 10:15:17 UTC 2014
Thank you Chris.
I don't know if is better, but I did with all wrapper in this path.
http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-June/027285.html
But if will better, I can split each wrapper as path.
On Thu, Jun 26, 2014 at 6:58 AM, Chris Hegarty <chris.hegarty at oracle.com>
wrote:
> Otavio,
>
> I skimmed over the patches and they look ok to me. I think they would be
> suitable for inclusion in jdk9/dev.
>
> -Chris.
>
> P.S. I do not currently have time to sponsor this, but I cc’ed Pavel who
> may be able to help get his in.
>
> On 14 Jun 2014, at 14:46, Otávio Gonçalves de Santana <otaviojava at java.net>
> wrote:
>
> > Reason: The Long class has cache and using it, will save memory and will
> > faster than using create new instance of Long.
> >
> > webrev:
> > https://dl.dropboxusercontent.com/u/16109193/open_jdk/long_value_of.zip
> >
> > similar: https://bugs.openjdk.java.net/browse/JDK-8044461
> > --
> > Otávio Gonçalves de Santana
> >
> > blog: http://otaviosantana.blogspot.com.br/
> > twitter: http://twitter.com/otaviojava
> > site: http://www.otaviojava.com.br
> > (11) 98255-3513
> >
> <sun_tools.diff><sun_security.diff><sun_nio.diff><sun_management.diff><sun_jvmstat.diff><javax_swing.diff><javax-management.diff><java_text.diff><java_awt_image.diff><internal_org_objectweb.diff><com_sun_tools.diff><com_sun_security.diff><com_sun_jmx_snmp.diff><com_sun_jdni_ldap.diff><com_sun_imageio.diff>
>
>
--
Atenciosamente.
Otávio Gonçalves de Santana
blog: http://otaviosantana.blogspot.com.br/
twitter: http://twitter.com/otaviojava
site: http://www.otaviojava.com.br
(11) 98255-3513
More information about the core-libs-dev
mailing list