use of com.oracle.truffle.api.TruffleSafepoint in project graal by oracle.
the class LLVMContext method finalizeContext.
void finalizeContext() {
// join all created pthread - threads
pThreadContext.joinAllThreads();
TruffleSafepoint sp = TruffleSafepoint.getCurrent();
boolean prev = sp.setAllowActions(false);
try {
cleanUpNoGuestCode();
} finally {
sp.setAllowActions(prev);
}
}
Aggregations