Lines Matching refs:safepoint
5 #include "src/heap/safepoint.h"
40 // Local safepoint can only be initiated on the isolate's main thread.
60 IsolateSafepoint* safepoint() const { return heap()->safepoint(); }
282 SafepointScope::SafepointScope(Heap* heap) : safepoint_(heap->safepoint()) {
354 // Try to initiate safepoint for all clients. Fail immediately when the
358 client->heap()->safepoint()->TryInitiateGlobalSafepointScope(
363 CHECK(shared_isolate_->heap()->safepoint()->local_heaps_mutex_.TryLock());
366 shared_isolate_->heap()->safepoint()->AssertMainThreadIsOnlyThread();
368 // Iterate all clients again to initiate the safepoint for all of them - even
372 client.safepoint()->InitiateGlobalSafepointScope(initiator, &client);
383 // of all clients reached a safepoint.
386 client.safepoint()->WaitUntilRunningThreadsInSafepoint(&client);
391 shared_isolate_->heap()->safepoint()->local_heaps_mutex_.Unlock();
395 client_heap->safepoint()->LeaveGlobalSafepointScope(initiator);
406 initiator_->heap()->safepoint()->EnterLocalSafepointScope();
414 initiator_->heap()->safepoint()->LeaveLocalSafepointScope();