Invention Grant
- Patent Title: Dynamically adjusting global heap allocation in multi-thread environment
- Patent Title (中): 在多线程环境中动态调整全局堆分配
-
Application No.: US13851540Application Date: 2013-03-27
-
Publication No.: US09229775B2Publication Date: 2016-01-05
- Inventor: Xiao Jun Dai , Rui Bo Han , Wei Liu , Zhi Da Luo
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Yee & Associates, P.C.
- Agent Lisa Ulrich
- Priority: CN201210086688 20120328
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F12/00 ; G06F9/50 ; G06F12/02

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.
Public/Granted literature
- US20130263149A1 Dynamically Adjusting Global Heap Allocation in Multi-Thread Environment Public/Granted day:2013-10-03
Information query