assertInSafePoint

fun assertInSafePoint()

Assert that we're currently inside a safe point. This should only be checked while running a safe point task (good) or an interpreter task (should fail).