/third_party/node/deps/v8/src/heap/ |
H A D | parked-scope.h | 19 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/compiler-dispatcher/ |
H A D | optimizing-compile-dispatcher.cc | 46 LocalIsolate local_isolate(isolate_, ThreadKind::kBackground); 47 DCHECK(local_isolate.heap()->IsParked()); 50 RCS_SCOPE(&local_isolate, 62 dispatcher_->CompileNext(dispatcher_->NextInput(&local_isolate), 63 &local_isolate); 85 LocalIsolate* local_isolate) { in NextInput() 96 LocalIsolate* local_isolate) { in CompileNext() 101 job->ExecuteJob(local_isolate->runtime_call_stats(), local_isolate); in CompileNext() 84 NextInput( LocalIsolate* local_isolate) NextInput() argument 95 CompileNext(TurbofanCompilationJob* job, LocalIsolate* local_isolate) CompileNext() argument
|
H A D | optimizing-compile-dispatcher.h | 75 void CompileNext(TurbofanCompilationJob* job, LocalIsolate* local_isolate); 76 TurbofanCompilationJob* NextInput(LocalIsolate* local_isolate);
|
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-concurrent-dispatcher.cc | 26 maglev::MaglevCompilationInfo* info, LocalIsolate* local_isolate) { in AttachLocalIsolateForMaglev() 29 local_isolate_ = local_isolate; in AttachLocalIsolateForMaglev() 55 // attached to the LocalHeap inside {local_isolate}. 59 LocalIsolate* local_isolate) in LocalIsolateScope() 61 info_->broker()->AttachLocalIsolateForMaglev(info_, local_isolate); in LocalIsolateScope() 102 RuntimeCallStats* stats, LocalIsolate* local_isolate) { in ExecuteJobImpl() 103 LocalIsolateScope scope{info(), local_isolate}; in ExecuteJobImpl() 104 maglev::MaglevCompiler::Compile(local_isolate, in ExecuteJobImpl() 132 LocalIsolate local_isolate(isolate(), ThreadKind::kBackground); 133 DCHECK(local_isolate 25 AttachLocalIsolateForMaglev( maglev::MaglevCompilationInfo* info, LocalIsolate* local_isolate) AttachLocalIsolateForMaglev() argument 58 LocalIsolateScope(MaglevCompilationInfo* info, LocalIsolate* local_isolate) LocalIsolateScope() argument 101 ExecuteJobImpl( RuntimeCallStats* stats, LocalIsolate* local_isolate) ExecuteJobImpl() argument [all...] |
H A D | maglev-compiler.h | 27 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 in v8::internal::maglev::MaglevCompiler
|
H A D | maglev-compiler.cc | 142 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()
|
H A D | maglev-compilation-unit.h | 35 LocalIsolate* local_isolate() const;
|
H A D | maglev-graph-builder.h | 28 explicit MaglevGraphBuilder(LocalIsolate* local_isolate, 251 operand_index, local_isolate())))); in GetRefOperand() 519 LocalIsolate* local_isolate() const { return local_isolate_; } in local_isolate() function in v8::internal::maglev::MaglevGraphBuilder
|
H A D | maglev-concurrent-dispatcher.h | 54 LocalIsolate* local_isolate) override;
|
H A D | maglev-graph-builder.cc | 36 MaglevGraphBuilder::MaglevGraphBuilder(LocalIsolate* local_isolate, in MaglevGraphBuilder() argument 38 : local_isolate_(local_isolate), in MaglevGraphBuilder()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-heap-broker.h | 139 isolate(), local_isolate()->heap()); in feedback_nexus_config() 152 LocalIsolate* local_isolate); 161 LocalIsolate* local_isolate); 240 return local_isolate() == nullptr || local_isolate()->is_main_thread(); in IsMainThread() 243 LocalIsolate* local_isolate() const { return local_isolate_; } in local_isolate() function in v8::internal::compiler::JSHeapBroker 249 return local_isolate() != nullptr ? local_isolate() in local_isolate_or_isolate() 275 DCHECK_NOT_NULL(local_isolate()); in CanonicalPersistentHandle() 277 local_isolate() in CanonicalPersistentHandle() 312 RecursiveSharedMutexGuardIfNeeded(LocalIsolate* local_isolate, base::SharedMutex* mutex, int* mutex_depth_address) RecursiveSharedMutexGuardIfNeeded() argument 506 LocalIsolate* local_isolate = broker->local_isolate(); UnparkedScopeIfNeeded() local [all...] |
H A D | heap-refs.cc | 1264 &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 GetBytecodeArray() 1578 : object()->GetInlineability(broker()->local_isolate()); in GetInlineability() 1843 &maybe_element, broker()->isolate(), broker()->local_isolate(), *holder, in GetOwnConstantElementFromHeap()
|
/third_party/node/deps/v8/src/baseline/ |
H A D | baseline-batch-compiler.cc | 48 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 154 UnparkedScope unparked_scope(&local_isolate); global() variable 155 LocalHandleScope handle_scope(&local_isolate); global() variable [all...] |
H A D | baseline.cc | 63 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()
|
H A D | baseline-compiler.h | 55 explicit BaselineCompiler(LocalIsolate* local_isolate, 60 MaybeHandle<Code> Build(LocalIsolate* local_isolate);
|
H A D | baseline-compiler.cc | 266 LocalIsolate* local_isolate, in BaselineCompiler() 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() 265 BaselineCompiler( LocalIsolate* local_isolate, Handle<SharedFunctionInfo> shared_function_info, Handle<BytecodeArray> bytecode) BaselineCompiler() argument [all...] |
/third_party/node/deps/v8/src/interpreter/ |
H A D | interpreter.cc | 41 LocalIsolate* local_isolate); 178 LocalIsolate* local_isolate) in InterpreterCompilationJob() 183 local_isolate_(local_isolate), in InterpreterCompilationJob() 184 generator_(local_isolate, &zone_, &compilation_info_, in InterpreterCompilationJob() 311 LocalIsolate* local_isolate) { in NewCompilationJob() 314 local_isolate); in NewCompilationJob() 321 LocalIsolate* local_isolate) { in NewSourcePositionCollectionJob() 323 parse_info, literal, Handle<Script>(), allocator, nullptr, local_isolate); in NewSourcePositionCollectionJob() 174 InterpreterCompilationJob( ParseInfo* parse_info, FunctionLiteral* literal, Handle<Script> script, AccountingAllocator* allocator, std::vector<FunctionLiteral*>* eager_inner_literals, LocalIsolate* local_isolate) InterpreterCompilationJob() argument 307 NewCompilationJob( ParseInfo* parse_info, FunctionLiteral* literal, Handle<Script> script, AccountingAllocator* allocator, std::vector<FunctionLiteral*>* eager_inner_literals, LocalIsolate* local_isolate) NewCompilationJob() argument 318 NewSourcePositionCollectionJob( ParseInfo* parse_info, FunctionLiteral* literal, Handle<BytecodeArray> existing_bytecode, AccountingAllocator* allocator, LocalIsolate* local_isolate) NewSourcePositionCollectionJob() argument
|
H A D | interpreter.h | 52 LocalIsolate* local_isolate); 61 LocalIsolate* local_isolate);
|
/third_party/node/deps/v8/src/execution/ |
H A D | local-isolate.cc | 72 bool StackLimitCheck::HasOverflowed(LocalIsolate* local_isolate) { in HasOverflowed() argument 73 return GetCurrentStackPosition() < local_isolate->stack_limit(); in HasOverflowed()
|
/third_party/node/deps/v8/src/snapshot/ |
H A D | code-serializer.cc | 332 LocalIsolate local_isolate(isolate_, ThreadKind::kBackground); 333 UnparkedScope unparked_scope(&local_isolate); variable 334 LocalHandleScope handle_scope(&local_isolate); variable 336 CodeSerializer::StartDeserializeOffThread(&local_isolate, cached_data_); 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/handles/ |
H A D | local-handles-inl.h | 34 LocalHandleScope::LocalHandleScope(LocalIsolate* local_isolate) in LocalHandleScope() argument 35 : LocalHandleScope(local_isolate->heap()) {} in LocalHandleScope()
|
H A D | local-handles.h | 46 explicit inline LocalHandleScope(LocalIsolate* local_isolate);
|
/third_party/node/deps/v8/src/objects/ |
H A D | lookup.h | 347 Object* result_out, Isolate* isolate, LocalIsolate* local_isolate, 355 LocalIsolate* local_isolate, 364 Isolate* isolate, LocalIsolate* local_isolate,
|
H A D | string-inl.h | 39 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 63 // TODO(leszeks): Remove the nullptr check for local_isolate. in IsNeeded() 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() 816 SharedStringAccessGuardIfNeeded scope(local_isolate); in Get() 817 return GetImpl(index, local_isolate, scop in Get() [all...] |
H A D | lookup.cc | 1480 Object* result_out, Isolate* isolate, LocalIsolate* local_isolate, in TryGetOwnConstantElement() 1530 static_cast<String*>(result_out), isolate, local_isolate, in TryGetOwnConstantElement() 1544 String* result_out, Isolate* isolate, LocalIsolate* local_isolate, in TryGetOwnChar() 1562 SharedStringAccessGuardIfNeeded access_guard(local_isolate); in TryGetOwnChar() 1579 Isolate* isolate, LocalIsolate* local_isolate, in TryGetPropertyCell() 1604 isolate, handle(*maybe_cached_property_name, local_isolate), in TryGetPropertyCell() 1479 TryGetOwnConstantElement( Object* result_out, Isolate* isolate, LocalIsolate* local_isolate, JSObject holder, FixedArrayBase elements, ElementsKind elements_kind, size_t index) TryGetOwnConstantElement() argument 1543 TryGetOwnChar( String* result_out, Isolate* isolate, LocalIsolate* local_isolate, String string, size_t index) TryGetOwnChar() argument 1578 TryGetPropertyCell( Isolate* isolate, LocalIsolate* local_isolate, Handle<JSGlobalObject> holder, Handle<Name> name) TryGetPropertyCell() argument
|