Aggressive Inlining on Mutable Objects

Bimbo 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.

Bimbo



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.

Andrew.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140902/02f91e0b/attachment.html>


More information about the hotspot-compiler-dev mailing list