发明名称 method for static 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.
申请公布号 KR101164194(B1) 申请公布日期 2012.07.10
申请号 KR20080125669 申请日期 2008.12.11
申请人 发明人
分类号 G06F9/45;G06F9/46;G06F12/02 主分类号 G06F9/45
代理机构 代理人
主权项
地址