发明名称 Heap and stack layout for multithreaded processes in a processing system
摘要 A method and system in accordance with the present invention comprises a thread stack/thread heap combination, wherein the thread heap is for thread local memory usage and wherein the thread stack and thread heap grow in opposite directions. In the present invention the thread specific heap is allocated next to the thread's stack and grows in the opposite direction from that of the stack. This improvement allows the current space management of thread stacks, which spread out the memory placement of multiple stacks to avoid collision, to also be used for the heaps without additional overhead or complexity. It also allows the existing growth scheme of adding memory pages to the process for the stack to be used again because the growth is simply in the opposite direction. Thread specific heaps eliminate the need for expensive synchronization when allocating from a shared heap in a multiprocessor environment.
申请公布号 US7447829(B2) 申请公布日期 2008.11.04
申请号 US20030687221 申请日期 2003.10.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 WILDING MARK FRANCIS;WOOD DANIEL ALAN
分类号 G06F9/46;G06F9/50;G06F12/00 主分类号 G06F9/46
代理机构 代理人
主权项
地址