发明名称 Method and apparatus for memory allocation in a multi-threaded virtual machine
摘要 Methods and apparatus for the efficient allocation of shared memory in a multi-threaded computer system are disclosed. In accordance with one embodiment of the present invention, a computer-implemented method for allocating memory shared by multiple threads in a multi-threaded computing system includes partitioning the shared memory into a plurality of blocks, and grouping the multiple threads into at least a first group and a second group. A selected block is allocated to a selected thread which may attempt to allocate an object in the selected block. The allocation of the selected block to the selected thread is based at least partially upon whether the selected thread is a part of the first group or the second group. In one embodiment, grouping the multiple threads into the first group and the second group includes identifying a particular thread and determining whether the particular thread is a fast allocating thread. In such an embodiment, when the particular thread is fast allocating, the particular thread is grouped into the first group.
申请公布号 US6510498(B1) 申请公布日期 2003.01.21
申请号 US20000724737 申请日期 2000.11.28
申请人 SUN MICROSYSTEMS, INC. 发明人 HOELZLE URS;GRARUP STEFFEN
分类号 G06F9/46;G06F9/50;G06F12/00;G06F12/02;G06F12/08;(IPC1-7):G06F12/00 主分类号 G06F9/46
代理机构 代理人
主权项
地址