The problems with StringBuilders...

Andrew Haley aph@redhat.com
Tue Oct 4 13:50:00 GMT 2005


Radu Racaru writes:
 > Escape analysis is an old item on the gcj todo list, fortunately
 > I've seen it working in Excelsior JET to say that it really does
 > what it should do regarding the performance.

Ah, that's interesting.  What do they do with inheritance?  Perhaps
methods have to be final to be analyzed, or they do whole-program
optimization?

 > Sun has implemented the escape analysis logic in their new 1.6
 > version, the first fruit to come is simple lock coarsening
 > (backported to 1.5_05) followed by uncontended synchronization and
 > stack allocation.  I really like to see this technique build on gcj
 > (gcjx)

Sure.  We know how to do most of this stuff, but...

Andrew.



More information about the Java mailing list