gcj internals documentation
Paul Biggar
paul.biggar@gmail.com
Wed Oct 4 10:59:00 GMT 2006
> > Is there anything else that describes the workings of the gcj
> > front-end and run-time libraries. I'm particularly interested is
> > descriptions of how the synchronization works.
> Sounds like you've got what there is. Ask away. Any list discussion
> can be turned into a Wiki.
Fair enough. I came up with a quick list of things that have been bugging me :)
How does synchronization work in gcj?
I've heard there's a hashtable containing the synchronization
primitives, that they're added lazily, and that monitorenter and
monitorexit are somehow involved. So how does it all work? Where and
under what circumstances is the synchronization code inserted by the
compiler?
Is the synchronization model accurate to Java1.4? Will it change when
the ecj compiler is put in, and we model Java 1.5? Which Java language
documents does gcj try to conform to, and how good a job does it do?
How does this all relate the the StringBuilder/StringBuffer problem?
Assuming I have working inter-procedural escape analysis, how do I go
about fixing the problems described in
http://gcc.gnu.org/ml/java/2005-10/msg00006.html?
Thanks
Paul
--
Paul Biggar
paul.biggar@gmail.com
More information about the Java
mailing list