usedChunk

fun usedChunk(chunk: L2Chunk)

Deal with the fact that the given chunk has just been invoked, resumed, restarted, or otherwise continued. Optimize for the most common case that the chunk is already in the newest generation, but also make it reasonably quick to move it there from an older generation.

Parameters

chunk

The L2Chunk that has just been used.