Class BackgroundCompileQueue

java.lang.Object
com.oracle.truffle.runtime.BackgroundCompileQueue

public class BackgroundCompileQueue extends Object
The compilation queue accepts compilation requests, and schedules compilations. The current queuing policy is to first schedule all the first tier compilation requests, and only handle second tier compilation requests when there are no first tier compilations left. Between the compilation requests of the same optimization tier, the queuing policy is FIFO (first-in-first-out). Note that all the compilation requests are second tier when the multi-tier option is turned off.