synchronization in gcj

Tom Tromey tromey@cygnus.com
Fri Jan 15 10:18:00 GMT 1999


>>>>> "Jerry" == Jerry Kramskoy <Jerry.Kramskoy@isltd.insignia.com> writes:

Jerry> Out of interest, what approach has your runtime taken to
Jerry> freeing up all monitors acquired during method execution, when
Jerry> an exception goes off ?

Well, we currently assume that the entire program is compiled.
Dealing with this sort of cleanup is handled by the compiler using the
same mechanism used to run C++ destructors when an exception is
thrown.

Tom



More information about the Java mailing list