Method, device, and program product for collecting or shooting memory bullets
AssigneeDell Products L.P.
InventorsMing Zhang, Chen Gong, Shuning Zhang, Huan Chen
Life of this patent
Estimating the term…
Abstract
Techniques collect or shoot memory bullets. Each magazine includes at least one address pointer for at least one memory bullet. Such techniques involve: obtaining memory bullets to be collected or shot; determining whether remaining address pointers in multiple magazines of a first core have a capacity to collect or shoot a memory bullet; and borrowing a magazine as needed from a second core in response to determining that the remaining address pointers in the first core have no capacity to collect or shoot a memory bullet. Such techniques can achieve a balance of magazines among multiple cores, thereby facilitating memory pool allocation.
Claims20
A method for collecting or shooting memory bullets, comprising:
- obtaining memory bullets to be collected or shot, the memory bullets being to be collected to or shot out from a first core comprising multiple magazines, wherein each magazine comprises at least one address pointer specific to at least one memory bullet;
- determining whether remaining address pointers in the multiple magazines of the first core have a capacity to collect or shoot a memory bullet;
- and
- borrowing a magazine as needed from a second core in response to determining that the remaining address pointers in the first core have no capacity to collect or shoot a memory bullet.
An electronic device, comprising:
- a processor;
- and
- a memory coupled to the processor, wherein the memory has instructions stored therein, and the instructions, when executed by the processor, cause the device to perform actions of collecting or shooting memory bullets, the actions comprising:
- obtaining memory bullets to be collected or shot, the memory bullets being to be collected to or shot out from a first core comprising multiple magazines, wherein each magazine comprises at least one address pointer specific to at least one memory bullet;
- determining whether remaining address pointers in the multiple magazines of the first core have a capacity to collect or shoot a memory bullet;
- and
- borrowing a magazine as needed from a second core in response to determining that the remaining address pointers in the first core have no capacity to collect or shoot a memory bullet.
A computer program product having a non-transitory computer readable medium which stores a set of instructions to collect or shoot memory bullets;
- the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:
- obtaining memory bullets to be collected or shot, the memory bullets being to be collected to or shot out from a first core comprising multiple magazines, wherein each magazine comprises at least one address pointer specific to at least one memory bullet;
- determining whether remaining address pointers in the multiple magazines of the first core have a capacity to collect or shoot a memory bullet;
- and
- borrowing a magazine as needed from a second core in response to determining that the remaining address pointers in the first core have no capacity to collect or shoot a memory bullet.
Dependencies are inferred from the claim text.