vix.ing · top · new · best · stats

Minimising virtual machine support for concurrency

2013/12/10 by Simon Dobson, Alan Dearle, Barry Porter
Computer Science · #cs.PL

paper · pdf · doi:10.4204/eptcs.137.11

published as EPTCS 137, 2013, pp. 135-141 · In Proceedings PLACES 2013, arXiv:1312.2218

arxiv created 2013/12/10 · arxiv updated 2013/12/11

Abstract

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.

Citations