发明名称 |
METHOD FOR STATICALLY ALLOCATING STACK BASED ON MULTI THREAD |
摘要 |
Provided is a method for statically allocating a stack based on multi thread. The method includes arbitrarily dividing a heap area and a stack area; allocating a stack space of each thread to the heap area at a predetermined size before executing the thread; swapping the stack of each thread in a stack area and measuring a stack size during executing the corresponding thread; and varying the heap area according to the measured stack size and reallocating the stack space of each thread allocated to the heap area. The provided executes programs without analyzing a complicated source code to expect the proper stack size of the thread while effectively using the stack memory during execution time as maximally as possible and statically allocates a stack memory based on the used amount of the measured stack to remove an overhead that moves the stack.
|
申请公布号 |
US2010153677(A1) |
申请公布日期 |
2010.06.17 |
申请号 |
US20090609164 |
申请日期 |
2009.10.30 |
申请人 |
ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE |
发明人 |
KIM SANGCHEOL;KIM HAEYONG;MAH PYEONGSOO |
分类号 |
G06F12/02;G06F12/00 |
主分类号 |
G06F12/02 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|