Lines Matching refs:Locker
40 // Track whether this V8 instance has ever called v8::Locker. This allows the
42 bool Locker::active_ = false;
45 Locker::Locker() {
50 // Once the Locker is initialized, the current thread will be guaranteed to have
52 void Locker::Initialize(v8::Isolate* isolate) {
57 // Record that the Locker has been used at least once.
66 // initialize here, before anyone can call ~Locker() or Unlocker().
73 // This may be a locker within an unlocker in which case we have to
91 bool Locker::IsLocked(v8::Isolate* isolate) {
98 bool Locker::IsActive() {
103 Locker::~Locker() {
146 void Locker::StartPreemption(int every_n_ms) {
151 void Locker::StopPreemption() {
444 ASSERT(Locker::IsLocked(reinterpret_cast<v8::Isolate*>(isolate)));
461 ASSERT(Locker::IsLocked(reinterpret_cast<v8::Isolate*>(isolate)));
487 ASSERT(Locker::IsLocked(i::Isolate::GetDefaultIsolateForLocking()));