The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 26, 2022

Filed:

May. 13, 2020
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Andrew James Craik, North York, CA;

Vijay Sundaresan, North York, CA;

Attorneys:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 8/41 (2018.01); G06F 9/455 (2018.01); G06F 8/656 (2018.01); G06F 11/36 (2006.01); G06F 9/448 (2018.01);
U.S. Cl.
CPC ...
G06F 8/4441 (2013.01); G06F 8/4434 (2013.01); G06F 9/45516 (2013.01); G06F 8/656 (2018.02); G06F 9/4488 (2018.02); G06F 11/362 (2013.01); G06F 11/3664 (2013.01);
Abstract

An embodiment performs escape analysis of a function as a compiler optimization and stack-allocates an object referenced by the function. At runtime, the embodiment includes detecting a hot code replacement of a portion of the function while the referenced object is stored in stack memory. Responsive to detecting the hot code replacement, the embodiment includes allocating heap memory for the object and moving the object from the stack memory to the allocated heap memory. The embodiment also updates references to the object that were pointing to the object in the stack memory to instead point to the object in the heap memory.


Find Patent Forward Citations

Loading…