Aggressive Inlining on Mutable Objects
aph at redhat.com
Tue Sep 2 07:21:22 UTC 2014
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.
More information about the hotspot-compiler-dev