------- Additional Comments From mckinlay at redhat dot com  2005-07-11 15:44 
-------
There might be a way to implement this without additional _Jv_AllocObject cost
and without adding new ABI tables. 

If abstract classes and interfaces were given a zero or negative value in their
size field, I think the GC will call GC_oom_fn if an attempt were made to
allocate them. We could then throw InstantiationException instead of
OutOfMemoryError in this case.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22377

Reply via email to