发明名称 |
Performing garbage collection using a virtual thread in operating system without kernel thread support |
摘要 |
Techniques are provided to allow concurrent operation of threads in an operating system that does not support kernel threads. A first process may create a first thread. The first thread may create a second process. The second process is granted access to a portion of the address space of the first thread. Synchronization information is passed between the first thread and the second process over a communications channel. |
申请公布号 |
US9274819(B2) |
申请公布日期 |
2016.03.01 |
申请号 |
US201313846992 |
申请日期 |
2013.03.19 |
申请人 |
Hewlett Packard Enterprise Development LP |
发明人 |
Velayutham Thirusenthilanda Arasu |
分类号 |
G06F9/455;G06F9/54;G06F12/02 |
主分类号 |
G06F9/455 |
代理机构 |
Hewlett Packard Enterprise Patent Department |
代理人 |
Hewlett Packard Enterprise Patent Department |
主权项 |
1. A method comprising:
starting, in a computer running an operating system that does not support kernel threads, a virtual machine as a first process; creating a virtual thread, within the first process, to execute a task comprising returning unused memory of the virtual machine to a memory pool; creating a second process from the virtual thread, wherein the first process and the second process are each an independent schedulable entity to be run by the operating system and each has a separate address space; delegating execution of the task to the second process, wherein the delegating comprises passing, by the virtual thread to the second process, an instruction to perform the task; requesting, by the virtual thread, the operating system to grant, to the second process, access to at least a portion of the address space allocated to the first process; and executing, by the second process, the task using granted access to the portion of the address space. |
地址 |
Houston TX US |