Home
last modified time | relevance | path

Searched refs:local_isolate (Results 1 – 25 of 40) sorted by relevance

12

/third_party/node/deps/v8/src/heap/
Dparked-scope.h19 explicit ParkedScope(LocalIsolate* local_isolate) in ParkedScope() argument
20 : ParkedScope(local_isolate->heap()) {} in ParkedScope()
35 explicit UnparkedScope(LocalIsolate* local_isolate) in UnparkedScope() argument
36 : UnparkedScope(local_isolate->heap()) {} in UnparkedScope()
51 explicit ParkedMutexGuard(LocalIsolate* local_isolate, base::Mutex* mutex) in ParkedMutexGuard() argument
52 : ParkedMutexGuard(local_isolate->heap(), mutex) {} in ParkedMutexGuard()
75 ParkedSharedMutexGuardIf(LocalIsolate* local_isolate, in ParkedSharedMutexGuardIf() argument
77 : ParkedSharedMutexGuardIf(local_isolate->heap(), mutex, enable_mutex) {} in ParkedSharedMutexGuardIf()
/third_party/node/deps/v8/src/maglev/
Dmaglev-concurrent-dispatcher.cc26 maglev::MaglevCompilationInfo* info, LocalIsolate* local_isolate) { in AttachLocalIsolateForMaglev() argument
29 local_isolate_ = local_isolate; in AttachLocalIsolateForMaglev()
59 LocalIsolate* local_isolate) in LocalIsolateScope() argument
61 info_->broker()->AttachLocalIsolateForMaglev(info_, local_isolate); in LocalIsolateScope()
102 RuntimeCallStats* stats, LocalIsolate* local_isolate) { in ExecuteJobImpl() argument
103 LocalIsolateScope scope{info(), local_isolate}; in ExecuteJobImpl()
104 maglev::MaglevCompiler::Compile(local_isolate, in ExecuteJobImpl()
132 LocalIsolate local_isolate(isolate(), ThreadKind::kBackground); in Run() local
133 DCHECK(local_isolate.heap()->IsParked()); in Run()
140 CompilationJob::Status status = job->ExecuteJob(rcs, &local_isolate); in Run()
Dmaglev-compiler.h27 static void Compile(LocalIsolate* local_isolate,
36 explicit MaglevCompiler(LocalIsolate* local_isolate, in MaglevCompiler() argument
38 : local_isolate_(local_isolate), in MaglevCompiler()
47 LocalIsolate* local_isolate() { return local_isolate_; } in local_isolate() function
Dmaglev-compiler.cc142 void MaglevCompiler::Compile(LocalIsolate* local_isolate, in Compile() argument
144 MaglevCompiler compiler(local_isolate, toplevel_compilation_unit); in Compile()
164 MaglevGraphBuilder graph_builder(local_isolate(), toplevel_compilation_unit_); in Compile()
Dmaglev-compilation-unit.h35 LocalIsolate* local_isolate() const;
Dmaglev-concurrent-dispatcher.h54 LocalIsolate* local_isolate) override;
Dmaglev-graph-builder.h28 explicit MaglevGraphBuilder(LocalIsolate* local_isolate,
251 operand_index, local_isolate())))); in GetRefOperand()
519 LocalIsolate* local_isolate() const { return local_isolate_; } in local_isolate() function
Dmaglev-graph-builder.cc36 MaglevGraphBuilder::MaglevGraphBuilder(LocalIsolate* local_isolate, in MaglevGraphBuilder() argument
38 : local_isolate_(local_isolate), in MaglevGraphBuilder()
/third_party/node/deps/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.cc46 LocalIsolate local_isolate(isolate_, ThreadKind::kBackground); in RunInternal() local
47 DCHECK(local_isolate.heap()->IsParked()); in RunInternal()
50 RCS_SCOPE(&local_isolate, in RunInternal()
62 dispatcher_->CompileNext(dispatcher_->NextInput(&local_isolate), in RunInternal()
63 &local_isolate); in RunInternal()
85 LocalIsolate* local_isolate) { in NextInput() argument
96 LocalIsolate* local_isolate) { in CompileNext() argument
101 job->ExecuteJob(local_isolate->runtime_call_stats(), local_isolate); in CompileNext()
Doptimizing-compile-dispatcher.h75 void CompileNext(TurbofanCompilationJob* job, LocalIsolate* local_isolate);
76 TurbofanCompilationJob* NextInput(LocalIsolate* local_isolate);
/third_party/node/deps/v8/src/baseline/
Dbaseline-batch-compiler.cc48 void Compile(LocalIsolate* local_isolate) { in Compile() argument
49 BaselineCompiler compiler(local_isolate, shared_function_info_, bytecode_); in Compile()
51 maybe_code_ = local_isolate->heap()->NewPersistentMaybeHandle( in Compile()
52 compiler.Build(local_isolate)); in Compile()
55 local_isolate->heap()->RegisterCodeObject(code); in Compile()
119 void Compile(LocalIsolate* local_isolate) { in Compile() argument
120 local_isolate->heap()->AttachPersistentHandles(std::move(handles_)); in Compile()
122 task.Compile(local_isolate); in Compile()
125 handles_ = local_isolate->heap()->DetachPersistentHandles(); in Compile()
153 LocalIsolate local_isolate(isolate_, ThreadKind::kBackground); in Run() local
[all …]
Dbaseline.cc63 LocalIsolate* local_isolate = isolate->main_thread_local_isolate(); in GenerateBaselineCode() local
64 baseline::BaselineCompiler compiler(local_isolate, shared, bytecode); in GenerateBaselineCode()
66 MaybeHandle<Code> code = compiler.Build(local_isolate); in GenerateBaselineCode()
Dbaseline-compiler.h55 explicit BaselineCompiler(LocalIsolate* local_isolate,
60 MaybeHandle<Code> Build(LocalIsolate* local_isolate);
Dbaseline-compiler.cc266 LocalIsolate* local_isolate, in BaselineCompiler() argument
269 : local_isolate_(local_isolate), in BaselineCompiler()
270 stats_(local_isolate->runtime_call_stats()), in BaselineCompiler()
273 masm_(local_isolate->GetMainThreadIsolateUnsafe(), in BaselineCompiler()
277 zone_(local_isolate->allocator(), ZONE_NAME), in BaselineCompiler()
321 MaybeHandle<Code> BaselineCompiler::Build(LocalIsolate* local_isolate) { in Build() argument
323 __ GetCode(local_isolate->GetMainThreadIsolateUnsafe(), &desc); in Build()
327 bytecode_offset_table_builder_.ToBytecodeOffsetTable(local_isolate); in Build()
329 Factory::CodeBuilder code_builder(local_isolate, desc, CodeKind::BASELINE); in Build()
333 handle(shared_function_info_->interpreter_data(), local_isolate)); in Build()
/third_party/node/deps/v8/src/compiler/
Djs-heap-broker.h139 isolate(), local_isolate()->heap()); in DEFINE_OPERATORS_FOR_FLAGS()
152 LocalIsolate* local_isolate); in DEFINE_OPERATORS_FOR_FLAGS()
161 LocalIsolate* local_isolate); in DEFINE_OPERATORS_FOR_FLAGS()
240 return local_isolate() == nullptr || local_isolate()->is_main_thread(); in DEFINE_OPERATORS_FOR_FLAGS()
243 LocalIsolate* local_isolate() const { return local_isolate_; } in DEFINE_OPERATORS_FOR_FLAGS()
249 return local_isolate() != nullptr ? local_isolate() in DEFINE_OPERATORS_FOR_FLAGS()
275 DCHECK_NOT_NULL(local_isolate()); in DEFINE_OPERATORS_FOR_FLAGS()
277 local_isolate()->heap()->NewPersistentHandle(obj).location(); in DEFINE_OPERATORS_FOR_FLAGS()
312 RecursiveSharedMutexGuardIfNeeded(LocalIsolate* local_isolate, in DEFINE_OPERATORS_FOR_FLAGS()
317 shared_mutex_guard_(local_isolate, mutex, initial_mutex_depth_ == 0) { in DEFINE_OPERATORS_FOR_FLAGS()
[all …]
Dheap-refs.cc1264 &maybe_char, broker()->isolate(), broker()->local_isolate(), *object(), in GetCharAsStringOrUndefined()
1314 return object()->Get(index, broker()->local_isolate()); in GetChar()
1330 return TryStringToDouble(broker()->local_isolate(), object()); in ToNumber()
1562 bytecode_array = object()->GetBytecodeArray(broker()->local_isolate()); in HEAP_ACCESSOR_C()
1578 : object()->GetInlineability(broker()->local_isolate()); in BROKER_SFI_FIELDS()
1843 &maybe_element, broker()->isolate(), broker()->local_isolate(), *holder, in GetOwnConstantElementFromHeap()
/third_party/node/deps/v8/src/interpreter/
Dinterpreter.cc41 LocalIsolate* local_isolate);
178 LocalIsolate* local_isolate) in InterpreterCompilationJob() argument
183 local_isolate_(local_isolate), in InterpreterCompilationJob()
184 generator_(local_isolate, &zone_, &compilation_info_, in InterpreterCompilationJob()
311 LocalIsolate* local_isolate) { in NewCompilationJob() argument
314 local_isolate); in NewCompilationJob()
321 LocalIsolate* local_isolate) { in NewSourcePositionCollectionJob() argument
323 parse_info, literal, Handle<Script>(), allocator, nullptr, local_isolate); in NewSourcePositionCollectionJob()
Dinterpreter.h52 LocalIsolate* local_isolate);
61 LocalIsolate* local_isolate);
/third_party/node/deps/v8/src/snapshot/
Dcode-serializer.cc332 LocalIsolate local_isolate(isolate_, ThreadKind::kBackground); in Run() local
333 UnparkedScope unparked_scope(&local_isolate); in Run()
334 LocalHandleScope handle_scope(&local_isolate); in Run()
336 CodeSerializer::StartDeserializeOffThread(&local_isolate, cached_data_); in Run()
471 CodeSerializer::StartDeserializeOffThread(LocalIsolate* local_isolate, in StartDeserializeOffThread() argument
475 DCHECK(!local_isolate->heap()->HasPersistentHandles()); in StartDeserializeOffThread()
489 local_isolate, &scd, &result.scripts); in StartDeserializeOffThread()
492 local_isolate->heap()->NewPersistentMaybeHandle(local_maybe_result); in StartDeserializeOffThread()
493 result.persistent_handles = local_isolate->heap()->DetachPersistentHandles(); in StartDeserializeOffThread()
/third_party/node/deps/v8/src/execution/
Dlocal-isolate.cc72 bool StackLimitCheck::HasOverflowed(LocalIsolate* local_isolate) { in HasOverflowed() argument
73 return GetCurrentStackPosition() < local_isolate->stack_limit(); in HasOverflowed()
/third_party/node/deps/v8/src/handles/
Dlocal-handles-inl.h34 LocalHandleScope::LocalHandleScope(LocalIsolate* local_isolate) in LocalHandleScope() argument
35 : LocalHandleScope(local_isolate->heap()) {} in LocalHandleScope()
Dlocal-handles.h46 explicit inline LocalHandleScope(LocalIsolate* local_isolate);
/third_party/node/deps/v8/src/objects/
Dlookup.h347 Object* result_out, Isolate* isolate, LocalIsolate* local_isolate,
355 LocalIsolate* local_isolate,
364 Isolate* isolate, LocalIsolate* local_isolate,
Dstring-inl.h39 explicit SharedStringAccessGuardIfNeeded(LocalIsolate* local_isolate) { in SharedStringAccessGuardIfNeeded() argument
40 if (IsNeeded(local_isolate)) { in SharedStringAccessGuardIfNeeded()
41 mutex_guard.emplace(local_isolate->internalized_string_access()); in SharedStringAccessGuardIfNeeded()
62 static bool IsNeeded(LocalIsolate* local_isolate) { in IsNeeded() argument
64 return local_isolate && !local_isolate->heap()->is_main_thread(); in IsNeeded()
815 uint16_t String::Get(int index, LocalIsolate* local_isolate) const { in Get() argument
816 SharedStringAccessGuardIfNeeded scope(local_isolate); in Get()
817 return GetImpl(index, local_isolate, scope); in Get()
Dlookup.cc1480 Object* result_out, Isolate* isolate, LocalIsolate* local_isolate, in TryGetOwnConstantElement() argument
1530 static_cast<String*>(result_out), isolate, local_isolate, in TryGetOwnConstantElement()
1544 String* result_out, Isolate* isolate, LocalIsolate* local_isolate, in TryGetOwnChar() argument
1562 SharedStringAccessGuardIfNeeded access_guard(local_isolate); in TryGetOwnChar()
1579 Isolate* isolate, LocalIsolate* local_isolate, in TryGetPropertyCell() argument
1604 isolate, handle(*maybe_cached_property_name, local_isolate), in TryGetPropertyCell()

12