Aggressive Inlining on Mutable Objects
lang.bimbo at yahoo.com
Tue Sep 2 09:55:55 UTC 2014
I'm just thinking the same sequence of instructions might be visible at runtime over and over again. Thus, making the sequence of instructions seem to be a good candidate for being "static".
iirc, I have read a similar concept but I don't know if this is exactly it.
On Tuesday, September 2, 2014 3:21 PM, Andrew Haley <aph at redhat.com> wrote:
On 01/09/14 05:41, Bimbo wrote:
> I'm just wondering whether when there are a lot of calls to
> concatenation on multiple threads using the single instance of
> MultiThreadingClass, the compiler will maintain a single
> Stringbuilder instance for all the currently running threads.
I really can't think of any reason the compiler would do such a thing.
It wouldn't help performance, and it would be incorrect.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev