Home
last modified time | relevance | path

Searched refs:Isolate (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/v8/test/cctest/
Dtest-lockers.cc61 KangarooThread(v8::Isolate* isolate, in KangarooThread()
70 v8::Isolate::Scope isolate_scope(isolate_); in Run()
71 CHECK_EQ(isolate_, v8::internal::Isolate::Current()); in Run()
80 v8::Isolate::Scope isolate_scope(isolate_); in Run()
91 v8::Isolate* isolate_;
98 v8::Isolate* isolate = v8::Isolate::New(); in TEST()
102 v8::Isolate::Scope isolate_scope(isolate); in TEST()
106 CHECK_EQ(isolate, v8::internal::Isolate::Current()); in TEST()
175 explicit IsolateLockingThreadWithLocalContext(v8::Isolate* isolate) in IsolateLockingThreadWithLocalContext()
182 v8::Isolate::Scope isolate_scope(isolate_); in Run()
[all …]
Dtest-deoptimization.cc44 using ::v8::internal::Isolate;
133 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
149 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
171 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
188 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
212 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
236 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
268 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
289 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
306 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current())); in TEST()
[all …]
Dtest-compiler.cc104 return Isolate::Current()->context()->global()->GetProperty(*symbol); in GetGlobalProperty()
111 Handle<JSObject> global(Isolate::Current()->context()->global()); in SetGlobalProperty()
128 Isolate::Current()->global_context()); in Compile()
141 Handle<JSObject> global(Isolate::Current()->context()->global()); in Inc()
162 Handle<JSObject> global(Isolate::Current()->context()->global()); in Add()
182 Handle<JSObject> global(Isolate::Current()->context()->global()); in Abs()
203 Handle<JSObject> global(Isolate::Current()->context()->global()); in Sum()
224 Handle<JSObject> global(Isolate::Current()->context()->global()); in TEST()
257 Handle<JSObject> global(Isolate::Current()->context()->global()); in TEST()
272 Handle<JSObject> global(Isolate::Current()->context()->global()); in TEST()
[all …]
/external/v8/src/
Dassembler.h60 explicit AssemblerBase(Isolate* isolate);
62 Isolate* isolate() const { return isolate_; } in isolate()
70 Isolate* isolate_;
544 ExternalReference(Builtins::CFunctionId id, Isolate* isolate);
546 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate);
548 ExternalReference(Builtins::Name name, Isolate* isolate);
550 ExternalReference(Runtime::FunctionId id, Isolate* isolate);
552 ExternalReference(const Runtime::Function* f, Isolate* isolate);
554 ExternalReference(const IC_Utility& ic_utility, Isolate* isolate);
557 ExternalReference(const Debug_Address& debug_address, Isolate* isolate);
[all …]
Dapi.cc130 i::VMState __state__(i::Isolate::Current(), i::OTHER); in DefaultFatalErrorHandler()
136 i::Isolate* isolate = i::Isolate::Current(); in GetFatalErrorHandler()
203 i::Isolate* isolate = i::Isolate::Current(); in FatalProcessOutOfMemory()
265 static inline bool IsDeadCheck(i::Isolate* isolate, const char* location) { in IsDeadCheck()
271 static inline bool IsExecutionTerminatingCheck(i::Isolate* isolate) { in IsExecutionTerminatingCheck()
299 static inline bool EnsureInitializedForIsolate(i::Isolate* isolate, in EnsureInitializedForIsolate()
305 ASSERT(isolate == i::Isolate::Current()); in EnsureInitializedForIsolate()
316 static inline i::Isolate* EnterIsolateIfNeeded() { in EnterIsolateIfNeeded()
317 i::Isolate* isolate = i::Isolate::UncheckedCurrent(); in EnterIsolateIfNeeded()
321 i::Isolate::EnterDefaultIsolate(); in EnterIsolateIfNeeded()
[all …]
Disolate.cc68 int thread_id = Thread::GetThreadLocalInt(Isolate::thread_id_key_); in GetCurrentThreadId()
71 Thread::SetThreadLocalInt(Isolate::thread_id_key_, thread_id); in GetCurrentThreadId()
223 friend class Isolate;
229 void Isolate::PreallocatedMemoryThreadStart() { in PreallocatedMemoryThreadStart()
236 void Isolate::PreallocatedMemoryThreadStop() { in PreallocatedMemoryThreadStop()
245 void Isolate::PreallocatedStorageInit(size_t size) { in PreallocatedStorageInit()
257 void* Isolate::PreallocatedStorageNew(size_t size) { in PreallocatedStorageNew()
300 void Isolate::PreallocatedStorageDelete(void* p) { in PreallocatedStorageDelete()
315 Isolate* Isolate::default_isolate_ = NULL;
316 Thread::LocalStorageKey Isolate::isolate_key_;
[all …]
Dcpu-profiler.cc175 Isolate* isolate = Isolate::Current(); in AddCurrentStack()
263 ASSERT(Isolate::Current()->cpu_profiler() != NULL); in StartProfiling()
264 Isolate::Current()->cpu_profiler()->StartCollectingProfile(title); in StartProfiling()
269 ASSERT(Isolate::Current()->cpu_profiler() != NULL); in StartProfiling()
270 Isolate::Current()->cpu_profiler()->StartCollectingProfile(title); in StartProfiling()
275 Isolate* isolate = Isolate::Current(); in StopProfiling()
282 Isolate* isolate = Isolate::Current(); in StopProfiling()
290 ASSERT(Isolate::Current()->cpu_profiler() != NULL); in GetProfilesCount()
292 return Isolate::Current()->cpu_profiler()->profiles_->Profiles( in GetProfilesCount()
298 ASSERT(Isolate::Current()->cpu_profiler() != NULL); in GetProfile()
[all …]
Dassembler.cc123 AssemblerBase::AssemblerBase(Isolate* isolate) in AssemblerBase()
666 Isolate::Current()->deoptimizer_data() != NULL) { in Print()
729 ExternalReference::ExternalReference(Builtins::CFunctionId id, Isolate* isolate) in ExternalReference()
736 Isolate* isolate = NULL) in ExternalReference()
740 ExternalReference::ExternalReference(Builtins::Name name, Isolate* isolate) in ExternalReference()
745 Isolate* isolate) in ExternalReference()
750 Isolate* isolate) in ExternalReference()
755 return ExternalReference(Isolate::Current()); in isolate_address()
760 Isolate* isolate) in ExternalReference()
765 Isolate* isolate) in ExternalReference()
[all …]
Dhandles-inl.h40 inline Isolate* GetIsolateForHandle(Object* obj) { in GetIsolateForHandle()
41 return Isolate::Current(); in GetIsolateForHandle()
44 inline Isolate* GetIsolateForHandle(HeapObject* obj) { in GetIsolateForHandle()
56 Handle<T>::Handle(T* obj, Isolate* isolate) { in Handle()
71 Isolate* isolate = Isolate::Current(); in HandleScope()
81 HandleScope::HandleScope(Isolate* isolate) { in HandleScope()
82 ASSERT(isolate == Isolate::Current()); in HandleScope()
97 ASSERT(isolate_ == Isolate::Current()); in CloseScope()
132 T** HandleScope::CreateHandle(T* value, Isolate* isolate) { in CreateHandle()
133 ASSERT(isolate == Isolate::Current()); in CreateHandle()
[all …]
Dv8threads.cc47 Locker::Locker(v8::Isolate* isolate) in Locker()
50 isolate_(reinterpret_cast<i::Isolate*>(isolate)) { in Locker()
52 isolate_ = i::Isolate::GetDefaultIsolateForLocking(); in Locker()
81 internal::Isolate::EnterDefaultIsolate(); in Locker()
88 bool Locker::IsLocked(v8::Isolate* isolate) { in IsLocked()
89 i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(isolate); in IsLocked()
91 internal_isolate = i::Isolate::GetDefaultIsolateForLocking(); in IsLocked()
118 Unlocker::Unlocker(v8::Isolate* isolate) in Unlocker()
119 : isolate_(reinterpret_cast<i::Isolate*>(isolate)) { in Unlocker()
121 isolate_ = i::Isolate::GetDefaultIsolateForLocking(); in Unlocker()
[all …]
Dheap-profiler.cc55 Isolate* isolate = Isolate::Current(); in SetUp()
63 Isolate* isolate = Isolate::Current(); in TearDown()
72 ASSERT(Isolate::Current()->heap_profiler() != NULL); in TakeSnapshot()
73 return Isolate::Current()->heap_profiler()->TakeSnapshotImpl(name, in TakeSnapshot()
82 ASSERT(Isolate::Current()->heap_profiler() != NULL); in TakeSnapshot()
83 return Isolate::Current()->heap_profiler()->TakeSnapshotImpl(name, in TakeSnapshot()
141 HeapProfiler* profiler = Isolate::Current()->heap_profiler(); in GetSnapshotsCount()
148 HeapProfiler* profiler = Isolate::Current()->heap_profiler(); in GetSnapshot()
155 HeapProfiler* profiler = Isolate::Current()->heap_profiler(); in FindSnapshot()
162 HeapProfiler* profiler = Isolate::Current()->heap_profiler(); in DeleteAllSnapshots()
Disolate.h113 Isolate* __isolate__ = (isolate); \
189 friend class Isolate; variable
234 Isolate* isolate_;
357 class Isolate {
363 ~Isolate();
370 PerIsolateThreadData(Isolate* isolate, ThreadId thread_id) in PerIsolateThreadData()
381 Isolate* isolate() const { return isolate_; } in isolate()
396 bool Matches(Isolate* isolate, ThreadId thread_id) const { in Matches()
401 Isolate* isolate_;
414 friend class Isolate; variable
[all …]
Dv8.cc71 if (i::Isolate::CurrentPerIsolateThreadData() == NULL) { in Initialize()
72 i::Isolate::EnterDefaultIsolate(); in Initialize()
75 ASSERT(i::Isolate::CurrentPerIsolateThreadData() != NULL); in Initialize()
76 ASSERT(i::Isolate::CurrentPerIsolateThreadData()->thread_id().Equals( in Initialize()
78 ASSERT(i::Isolate::CurrentPerIsolateThreadData()->isolate() == in Initialize()
79 i::Isolate::Current()); in Initialize()
83 Isolate* isolate = Isolate::Current(); in Initialize()
102 Isolate* isolate = Isolate::Current(); in TearDown()
168 uint32_t V8::RandomPrivate(Isolate* isolate) { in RandomPrivate()
169 ASSERT(isolate == Isolate::Current()); in RandomPrivate()
[all …]
Druntime-profiler.h37 class Isolate; variable
44 explicit RuntimeProfiler(Isolate* isolate);
78 static inline void IsolateEnteredJS(Isolate* isolate);
79 static inline void IsolateExitedJS(Isolate* isolate);
109 static void HandleWakeUp(Isolate* isolate);
121 Isolate* isolate_;
167 void RuntimeProfiler::IsolateEnteredJS(Isolate* isolate) { in IsolateEnteredJS()
179 void RuntimeProfiler::IsolateExitedJS(Isolate* isolate) { in IsolateExitedJS()
Dexecution.cc75 Isolate* isolate = function->GetIsolate(); in Invoke()
127 ASSERT(*has_pending_exception == Isolate::Current()->has_pending_exception()); in Invoke()
181 return Invoke(true, func, Isolate::Current()->global(), argc, argv, in New()
205 Isolate* isolate = Isolate::Current(); in TryCall()
217 ASSERT(!Isolate::Current()->has_pending_exception()); in TryCall()
218 ASSERT(!Isolate::Current()->external_caught_exception()); in TryCall()
225 Isolate* isolate = Isolate::Current(); in GetFunctionDelegate()
253 Isolate* isolate = Isolate::Current(); in TryGetFunctionDelegate()
283 Isolate* isolate = Isolate::Current(); in GetConstructorDelegate()
311 Isolate* isolate = Isolate::Current(); in TryGetConstructorDelegate()
[all …]
Dcompilation-cache.h41 CompilationSubCache(Isolate* isolate, int generations) in CompilationSubCache()
82 Isolate* isolate() { return isolate_; } in isolate()
85 Isolate* isolate_;
96 CompilationCacheScript(Isolate* isolate, int generations);
139 CompilationCacheEval(Isolate* isolate, int generations) in CompilationCacheEval()
173 CompilationCacheRegExp(Isolate* isolate, int generations) in CompilationCacheRegExp()
263 explicit CompilationCache(Isolate* isolate);
273 Isolate* isolate() { return isolate_; } in isolate()
275 Isolate* isolate_;
286 friend class Isolate; variable
Dframes.h50 class Isolate; variable
60 explicit InnerPointerToCodeCache(Isolate* isolate) : isolate_(isolate) { in InnerPointerToCodeCache()
76 Isolate* isolate_;
231 static inline Code* GetContainingCode(Isolate* isolate, Address pc);
236 static Code* GetSafepointData(Isolate* isolate,
260 Isolate* isolate() const { return isolate_; } in isolate()
274 static Type ComputeType(Isolate* isolate, State* state);
278 Isolate* isolate_;
657 explicit StackFrameIterator(Isolate* isolate);
660 StackFrameIterator(Isolate* isolate, ThreadLocalTop* t);
[all …]
Dv8threads.h82 virtual void VisitThread(Isolate* isolate, ThreadLocalTop* top) = 0;
132 Isolate* isolate_;
134 friend class Isolate; variable
156 ContextSwitcher(Isolate* isolate, int every_n_ms);
158 Isolate* isolate() const { return isolate_; } in isolate()
164 Isolate* isolate_;
Dvm-state.h39 inline VMState(Isolate* isolate, StateTag tag);
43 Isolate* isolate_;
50 inline ExternalCallbackScope(Isolate* isolate, Address callback);
53 Isolate* isolate_;
Dhandles.cc49 Isolate* isolate = Isolate::Current(); in NumberOfHandles()
59 Isolate* isolate = Isolate::Current(); in Extend()
99 void HandleScope::DeleteExtensions(Isolate* isolate) { in DeleteExtensions()
100 ASSERT(isolate == Isolate::Current()); in DeleteExtensions()
117 &Isolate::Current()->handle_scope_data()->level); in current_level_address()
123 &Isolate::Current()->handle_scope_data()->next); in current_next_address()
129 &Isolate::Current()->handle_scope_data()->limit); in current_limit_address()
237 Isolate* isolate = Isolate::Current(); in SetProperty()
250 Isolate* isolate = object->GetIsolate(); in ForceSetProperty()
261 Isolate* isolate = object->GetIsolate(); in ForceDeleteProperty()
[all …]
Dzone.h50 class Isolate; variable
87 inline Isolate* isolate() { return isolate_; } in isolate()
92 friend class Isolate;
142 Isolate* isolate_;
211 INLINE(ZoneScope(Isolate* isolate, ZoneScopeMode mode));
226 Isolate* isolate_;
Dic.h93 IC(FrameDepth depth, Isolate* isolate);
140 Isolate* isolate() const { return isolate_; } in isolate()
180 Isolate* isolate_;
214 CallICBase(Code::Kind kind, Isolate* isolate) in CallICBase()
267 explicit CallIC(Isolate* isolate) : CallICBase(Code::CALL_IC, isolate) { in CallIC()
297 explicit KeyedCallIC(Isolate* isolate) in KeyedCallIC()
324 explicit LoadIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { in LoadIC()
360 return Isolate::Current()->builtins()->builtin( in initialize_stub()
399 explicit KeyedIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) {} in KeyedIC()
469 explicit KeyedLoadIC(Isolate* isolate) : KeyedIC(isolate) { in KeyedLoadIC()
[all …]
Dfunc-name-inferrer.h34 class Isolate; variable
48 explicit FuncNameInferrer(Isolate* isolate);
105 Isolate* isolate() { return isolate_; } in isolate()
116 Isolate* isolate_;
/external/v8/src/mips/
Dsimulator-mips.h53 void*, int*, Address, int, Isolate*);
72 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, in JsLimitFromCLimit()
176 explicit Simulator(Isolate* isolate);
181 static Simulator* current(v8::internal::Isolate* isolate);
211 static void Initialize(Isolate* isolate);
379 v8::internal::Isolate* isolate_;
403 reinterpret_cast<Object*>(Simulator::current(Isolate::Current())->Call( \
407 Simulator::current(Isolate::Current())->Call( \
422 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, in JsLimitFromCLimit()
428 Simulator* sim = Simulator::current(Isolate::Current()); in RegisterCTryCatch()
[all …]
/external/v8/src/arm/
Dsimulator-arm.h52 void*, int*, Address, int, Isolate*);
71 static inline uintptr_t JsLimitFromCLimit(v8::internal::Isolate* isolate, in JsLimitFromCLimit()
148 explicit Simulator(Isolate* isolate);
153 static Simulator* current(v8::internal::Isolate* isolate);
184 static void Initialize(Isolate* isolate);
377 v8::internal::Isolate* isolate_;
401 reinterpret_cast<Object*>(Simulator::current(Isolate::Current())->Call( \
405 Simulator::current(Isolate::Current())->Call( \
420 static inline uintptr_t JsLimitFromCLimit(v8::internal::Isolate* isolate, in JsLimitFromCLimit()
426 Simulator* sim = Simulator::current(Isolate::Current()); in RegisterCTryCatch()
[all …]

12345678910