Dynamically adjusting global heap allocation in multi-thread environment
US9229775B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 27, 2013 |
| Grant date | Jan 5, 2016 |
| Priority date | — |
| Expiry date | Mar 4, 2034 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F12/023
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.