arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1312.2707cs.PL
收藏

最小化虚拟机对并发的支持

Minimising virtual machine support for concurrency

Simon Dobson, Alan Dearle, Barry Porter

摘要:

合作和抢占式调度通常被认为是线程的互补模型。在虚拟机的情况下,我们表明,它们可以统一使用一个单一的概念,有界执行的线程的控制,基本上提供了一个一流的表示的计算,因为它是减少。此外,这种技术可以用于将语言的线程调度器表面化到语言本身中,允许程序在虚拟机中没有任何额外支持的情况下提供它们自己的线程调度器,并且允许相同的虚拟机同时支持不同的线程模型而无需重新编译。

英文摘要:

Co-operative and pre-emptive scheduling are usually considered to be complementary models of threading. In the case of virtual machines, we show that they can be unified using a single concept, the bounded execution of a thread of control, essentially providing a first-class representation of a computation as it is reduced. Furthermore this technique can be used to surface the thread scheduler of a language into the language itself, allowing programs to provide their own schedulers without any additional support in the virtual machine, and allowing the same virtual machine to support different thread models simultaneously and without re-compilation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑