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:
Nov. 25, 2025

Filed:

Jun. 02, 2023
Applicant:

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

Inventors:

Oluwatobi Ajila, Ottawa, CA;

Siwei Lu, Ottawa, CA;

Graham Alan Chapman, Nepean, CA;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/48 (2006.01); G06F 9/455 (2018.01); G06F 9/50 (2006.01); G06F 12/08 (2016.01);
U.S. Cl.
CPC ...
G06F 9/4881 (2013.01); G06F 9/45533 (2013.01); G06F 12/08 (2013.01); G06F 9/5016 (2013.01);
Abstract

Hybrid virtual thread context switching in virtual machines is provided. For virtual threads scheduled to run on a VM, it is determined whether a virtual thread requires a stack. If a stack is required, it is determined whether low memory has space to allocate a stack. If there is space, a stack in low memory is allocated. If not, unused stacks are copied from low to high memory. If the virtual thread does not require a stack, it is determined whether the virtual thread stack is in low memory. If it is not, it is copied from high memory if there is enough space in low memory. If there is not enough space, unused stacks are copied from low memory to high memory. If the stack is in low memory, the method performs a stack switch and schedules the virtual on a carrier thread of the VM.


Find Patent Forward Citations

Loading…