Hybrid virtual thread context switching mechanism
AssigneeInternational Business Machines Corporation
InventorsOluwatobi Ajila, Siwei Lu, Graham Alan Chapman
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsOluwatobi Ajila, Siwei Lu, Graham Alan Chapman
Estimating the term…
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.
A computer-implemented method for hybrid virtual thread context switching in virtual machines, the method comprising:
A system for hybrid virtual thread context switching, the system comprising:
A computer program product for hybrid virtual thread context switching, the computer program product comprising:
Dependencies are inferred from the claim text.