This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: implementing escape analysis
David Daney wrote:
An object allocated by _Jv_AllocObject can not be stack allocated as it
has a finalizer, but one allocated with _Jv_AllocObjectNoFinalizer can
be, so there has to be some differentiation between all these different
cases.
Stack allocating objects with finalizers is straight-forward.
C++ has done it for decades.
--
--Per Bothner
per@bothner.com http://per.bothner.com/