From: Perry Cheng <perryche@us...> - 2002-05-01 20:58:46
It's possible that the allocators would allocate space depending on the
class type (e.g. BIBOPS) so I am not sure it would be general enough. On
the other hand, good software engineering would argue for abstracting it
now and perhaps enrichnig the interface later if and when we write such a
collector. So I give it a tentative ok.
David P Grove/Watson/IBM@...@www-124.southbury.usf.ibm.com on 05/01/2002
Please respond to jikesrvm-core@...
Sent by: jikesrvm-core-admin@...
Subject: [Jikesrvm-core] proposed change to VM_Allocator "interface"
Observation: the code for allocateScalar, allocateArray, cloneScalar, and
cloneArray is pretty much identical in all versions of VM_Allocator. I'd
like to move this code into VM_Runtime.XXX VM_Allocator would then export
a single function getHeapSpaceFast(size) that would be called by the
allocation routines in VM_Runtime. Any objections?
Jikesrvm-core mailing list