Memory overflow in kaffe

Frank Mehnert Frank.Mehnert at mchp.siemens.de
Wed Mar 19 07:17:56 PST 1997


Hi,

There is no heap checking in kaffe (-mx option doesn't work) so if
malloc/calloc/realloc returns NULL we should get an OutOfMemory exception.
But throwException does need memory itself - couldn't we include memory
overflow checkings before malloc? Possibly as macros (can be disabled if
one work on UNIX machines with an 'infinitly' amount of memory)?

Frank

Frank Mehnert
email: Frank.Mehnert at mchp.siemens.de



More information about the kaffe mailing list