Invention Grant
US09229775B2 Dynamically adjusting global heap allocation in multi-thread environment 有权
在多线程环境中动态调整全局堆分配

Dynamically adjusting global heap allocation in multi-thread environment
Abstract:
Global heap allocation technologies in a multi-thread environment, and particularly to a system for dynamically adjusting global heap allocation in the multi-thread environment, and more particularly to a method and system for dynamically adjusting global heap allocation by monitoring conflict parameters of the global heap allocation method. The present invention provides a system for dynamically adjusting global heap allocation in multi-thread environment, comprising: identifying a global heap allocation method in an application program; judging whether the global heap allocation method is a multi-thread conflict hot point; and using a local stack to allocate memory space requested by the global heap allocation method in response to a “yes” judging result. The system according to the present invention is adapted to purposefully dynamically adjust the intrinsic global heap allocation method in the program according to a real-time running state, reduce the lock contention on the global heap, and effectively improve a resource allocating efficiency and a resource utilization rate.
Information query
Patent Agency Ranking
0/0