harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev" <aleksey.shipi...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-6056) [classlib][jit][opt][performance] Optimize heap allocations in String(String, int) constructor for JIT
Date Wed, 07 Jan 2009 14:55:37 GMT
Ok, we can implement the in-place Integer.toString() and specialize
the radix-10 conversion in Integer. Then Classlib performance guys
might use the inplace conversion to optimize StringBuilder performance
or even catch the concatenation like J9 does.

My idea is to share whatever optimization between all VMs that use the Classlib.


On Wed, Jan 7, 2009 at 5:46 PM, Tim Ellison <t.p.ellison@gmail.com> wrote:
> Aleksey Shipilev wrote:
>> Am I understanding right that private String(String, int) is inlined
>> by J9 JIT when (String)s1 + (int)v1 is required?
> Yes - so for DRLVM, Kevin's patch in HARMONY-6056 will be impotent.
> Regards,
> Tim

View raw message