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. Thanks, Aleksey. On Wed, Jan 7, 2009 at 5:46 PM, Tim Ellison <[email protected]> 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 > >
