implementing escape analysis
Per Bothner
per@bothner.com
Thu Feb 16 18:57:00 GMT 2006
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/
More information about the Java
mailing list