[Sablevm-bugs] [ sablevm-Bugs-736139 ] class loader memory manager
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2004-03-26 22:36:05
|
Bugs item #736139, was opened at 2003-05-11 16:14 Message generated for change (Comment added) made by davidbelanger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=736139&group_id=5523 Category: None Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: David Bélanger (davidbelanger) >Assigned to: David Bélanger (davidbelanger) Summary: class loader memory manager Initial Comment: The class loader memory manager seems to have 2 problems. I noticed that the class_loader_info->memory_block_list is empty for some class loaders. This is what explains it: 1) _svmf_init_cl_alloc does not seem to be called for other class loaders than the bootstrap class loader. However, I did not try to locate the code that should call it. 2) new memory blocks allocated via malloc are not added to the memory_block_list. The patch included fixes the 2nd problem. Note that it also fixes somewhat the first problem, the list being empty, a new block (the first allocated block) is allocated and added to the list. Note: This is a quick patch and it should be reviewed/modified before integrating it. Note: The patch also fixes a typo in a comment. David ---------------------------------------------------------------------- >Comment By: David Bélanger (davidbelanger) Date: 2004-03-26 17:36 Message: Logged In: YES user_id=694080 This bug also is fixed in staging. David ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=736139&group_id=5523 |