Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / doc / hacker-guide / runtime.tex
CommitLineData
7f918cf1
CE
1\chap{The runtime}{runtime}
2
3There are multiple, possibly orthogonal issues. Limit checks and garbage
4collections are a little overloaded in their roles, because they also
5support preemptive thread switching and interupt handling. Forcing
6frontier to be 0 and hitting a limit check (even a zero byte limit check)
7will invoke the GC, which will switch to the pending thread.
8
9Recall that a limit check with bytes = 0 really means a check for LIMIT\_SLOP
10bytes (currently LIMIT\_SLOP = 512).