Home
last modified time | relevance | path

Searched refs:V8 (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/node/deps/v8/src/logging/
H A Dcounters-definitions.h1 // Copyright 2019 the V8 project authors. All rights reserved.
15 HR(background_marking, V8.GCBackgroundMarking, 0, 10000, 101) \
16 HR(background_sweeping, V8.GCBackgroundSweeping, 0, 10000, 101) \
17 HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) \
18 HR(errors_thrown_per_context, V8.ErrorsThrownPerContext, 0, 200, 20) \
19 HR(debug_feature_usage, V8.DebugFeatureUsage, 1, 7, 7) \
20 HR(incremental_marking_reason, V8.GCIncrementalMarkingReason, 0, \
22 HR(incremental_marking_sum, V8.GCIncrementalMarkingSum, 0, 10000, 101) \
23 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, \
25 HR(gc_finalize_clear, V8
[all...]
H A Dmetrics.cc1 // Copyright 2020 the V8 project authors. All rights reserved.
37 foreground_task_runner_ = V8::GetCurrentPlatform()->GetForegroundTaskRunner( in SetEmbedderRecorder()
/third_party/node/deps/v8/src/init/
H A Dv8.cc1 // Copyright 2012 the V8 project authors. All rights reserved.
41 v8::Platform* V8::platform_ = nullptr;
65 // v8::V8::InitializePlatform(platform); in AdvanceStartupState()
66 // v8::V8::Initialize(); in AdvanceStartupState()
70 // v8::V8::Dispose(); in AdvanceStartupState()
71 // v8::V8::DisposePlatform(); in AdvanceStartupState()
77 "Multiple threads are initializating V8 in the wrong order: expected " in AdvanceStartupState()
90 void V8::InitializePlatform(v8::Platform* platform) { in InitializePlatform()
107 bool V8::InitializeSandbox() { in InitializeSandbox()
122 void V8
[all...]
H A Disolate-allocator.cc1 // Copyright 2018 the V8 project authors. All rights reserved.
94 // initializing V8, in which case this CHECK will likely fail. in InitializeOncePerProcess()
105 V8::FatalProcessOutOfMemory( in InitializeOncePerProcess()
107 "Failed to reserve virtual memory for process-wide V8 " in InitializeOncePerProcess()
117 V8::FatalProcessOutOfMemory( in IsolateAllocator()
119 "Failed to reserve memory for Isolate V8 pointer compression cage"); in IsolateAllocator()
H A Dv8.h1 // Copyright 2011 the V8 project authors. All rights reserved.
19 class V8 : public AllStatic { class
H A Dstartup-data-util.cc1 // Copyright 2015 the V8 project authors. All rights reserved.
71 Load(snapshot_blob, &g_snapshot, v8::V8::SetSnapshotDataBlob); in LoadFromFile()
/third_party/node/test/cctest/
H A Dnode_test_fixture.cc22 v8::V8::InitializePlatform(NodeZeroIsolateTestFixture::platform.get()); in SetUp()
24 ASSERT_TRUE(v8::V8::InitializeSandbox()); in SetUp()
28 v8::V8::Initialize(); in SetUp()
32 v8::V8::Dispose(); in TearDown()
33 v8::V8::DisposePlatform(); in TearDown()
/third_party/node/test/embedding/
H A Dembedtest.cc18 using v8::V8;
42 V8::InitializePlatform(platform.get()); in main()
43 V8::Initialize(); in main()
48 V8::Dispose(); in main()
49 V8::DisposePlatform(); in main()
/third_party/node/deps/v8/src/snapshot/
H A Dmksnapshot.cc1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
240 v8::V8::InitializeICUDefaultLocation(argv[0]); in main()
242 v8::V8::InitializePlatform(platform.get()); in main()
244 if (!v8::V8::InitializeSandbox()) { in main()
248 v8::V8::Initialize(); in main()
310 v8::V8::Dispose(); in main()
311 v8::V8::DisposePlatform(); in main()
/third_party/node/deps/v8/src/heap/
H A Dcode-range.cc1 // Copyright 2021 the V8 project authors. All rights reserved.
207 V8::FatalProcessOutOfMemory( in RemapEmbeddedBuiltins()
239 V8::FatalProcessOutOfMemory(isolate, in RemapEmbeddedBuiltins()
246 V8::FatalProcessOutOfMemory(isolate, in RemapEmbeddedBuiltins()
263 V8::FatalProcessOutOfMemory( in EnsureProcessWideCodeRange()
H A Dscavenge-job.cc1 // Copyright 2015 the V8 project authors. All rights reserved.
45 V8::GetCurrentPlatform()->GetForegroundTaskRunner(isolate); in ScheduleTaskIfNeeded()
56 TRACE_EVENT_CALL_STATS_SCOPED(isolate(), "v8", "V8.Task"); in RunInternal()
/third_party/node/deps/v8/src/profiler/
H A Dtracing-cpu-profiler.cc1 // Copyright 2016 the V8 project authors. All rights reserved.
17 V8::GetCurrentPlatform()->GetTracingController()->AddTraceStateObserver(this); in TracingCpuProfilerImpl()
22 V8::GetCurrentPlatform()->GetTracingController()->RemoveTraceStateObserver( in ~TracingCpuProfilerImpl()
/third_party/node/src/
H A Dnode.cc140 using v8::V8;
150 // Tells whether the per-process V8::Initialize() is called and
500 // calls elsewhere in the program (e.g., any logging from V8.) in PlatformInit()
585 // Tell V8 to disable emitting WebAssembly in PlatformInit()
588 // and pass the signal context to V8. in PlatformInit()
601 V8::EnableWebAssemblyTrapHandler(false); in PlatformInit()
743 // is removed in V8. in ProcessGlobalArgs()
771 V8::SetFlagsFromCommandLine(&argc, v8_args_as_char_ptr.data(), true); in ProcessGlobalArgs()
775 // Anything that's still in v8_argv is not a V8 or a node option. in ProcessGlobalArgs()
819 // Should come before the call to V8 in InitializeNodeWithArgs()
[all...]
/third_party/node/tools/snapshot/
H A Dnode_mksnapshot.cc49 // calls elsewhere in the program (e.g., any logging from V8.)
54 v8::V8::SetFlagsFromString("--random_seed=42");
55 v8::V8::SetFlagsFromString("--harmony-import-assertions");
/third_party/node/deps/v8/include/v8-include/
H A Dv8-initialization.h1 // Copyright 2021 the V8 project authors. All rights reserved.
17 // We reserve the V8_* prefix for macros defined in V8 public API and
58 class V8_EXPORT V8 { class
61 * Hand startup data to V8, in case the embedder has chosen to build
62 * V8 with external startup data.
65 * - By default the startup data is linked into the V8 library, in which
67 * - If this needs to be called, it needs to be called before V8
69 * - To avoid unnecessary copies of data, V8 will point directly into the
70 * given data blob, so pretty please keep it around until V8 exit.
81 * Sets V8 flag
[all...]
H A Dv8-statistics.h1 // Copyright 2021 the V8 project authors. All rights reserved.
90 * Collection of shared per-process V8 memory information.
93 * v8::V8::GetSharedMemoryStatistics to get shared memory statistics from V8.
109 friend class V8;
114 * Collection of V8 heap information.
117 * get heap statistics from V8.
137 * Returns a 0/1 boolean, which signifies whether the V8 overwrite heap
158 friend class V8;
/third_party/node/deps/v8/include/
H A Dv8-initialization.h1 // Copyright 2021 the V8 project authors. All rights reserved.
17 // We reserve the V8_* prefix for macros defined in V8 public API and
58 class V8_EXPORT V8 { class
61 * Hand startup data to V8, in case the embedder has chosen to build
62 * V8 with external startup data.
65 * - By default the startup data is linked into the V8 library, in which
67 * - If this needs to be called, it needs to be called before V8
69 * - To avoid unnecessary copies of data, V8 will point directly into the
70 * given data blob, so pretty please keep it around until V8 exit.
81 * Sets V8 flag
[all...]
H A Dv8-statistics.h1 // Copyright 2021 the V8 project authors. All rights reserved.
90 * Collection of shared per-process V8 memory information.
93 * v8::V8::GetSharedMemoryStatistics to get shared memory statistics from V8.
109 friend class V8;
114 * Collection of V8 heap information.
117 * get heap statistics from V8.
137 * Returns a 0/1 boolean, which signifies whether the V8 overwrite heap
158 friend class V8;
/third_party/node/deps/v8/src/tracing/
H A Dtracing-category-observer.cc1 // Copyright 2016 the V8 project authors. All rights reserved.
19 i::V8::GetCurrentPlatform()->GetTracingController()->AddTraceStateObserver( in SetUp()
24 i::V8::GetCurrentPlatform()->GetTracingController()->RemoveTraceStateObserver( in TearDown()
/third_party/node/deps/v8/src/zone/
H A Dzone.cc1 // Copyright 2012 the V8 project authors. All rights reserved.
149 V8::FatalProcessOutOfMemory(nullptr, "Zone"); in NewExpand()
161 V8::FatalProcessOutOfMemory(nullptr, "Zone"); in NewExpand()
166 V8::FatalProcessOutOfMemory(nullptr, "Zone"); in NewExpand()
H A Daccounting-allocator.cc1 // Copyright 2016 the V8 project authors. All rights reserved.
71 V8::GetCurrentPlatform()->GetZoneBackingAllocator()->GetMallocFn()), in AccountingAllocator()
73 V8::GetCurrentPlatform()->GetZoneBackingAllocator()->GetFreeFn()) { in AccountingAllocator()
/third_party/node/deps/v8/src/utils/
H A Dallocation.cc1 // Copyright 2012 the V8 project authors. All rights reserved.
53 page_allocator_ = V8::GetCurrentPlatform()->GetPageAllocator(); in PageAllocatorInitializer()
122 V8::FatalProcessOutOfMemory(nullptr, "Malloced operator new"); in operator new()
166 V8::FatalProcessOutOfMemory(nullptr, "AlignedAlloc"); in AlignedAlloc()
240 if (!V8::GetCurrentPlatform()->OnCriticalMemoryPressure(length)) { in OnCriticalMemoryPressure()
241 V8::GetCurrentPlatform()->OnCriticalMemoryPressure(); in OnCriticalMemoryPressure()
/third_party/node/test/fuzzers/
H A Dfuzz_env.cc46 v8::V8::InitializePlatform(platform.get()); in LLVMFuzzerInitialize()
47 v8::V8::Initialize(); in LLVMFuzzerInitialize()
/third_party/node/deps/v8/src/sandbox/
H A Dexternal-pointer-table-inl.h1 // Copyright 2021 the V8 project authors. All rights reserved.
28 V8::FatalProcessOutOfMemory( in Init()
35 V8::FatalProcessOutOfMemory( in Init()
/third_party/node/benchmark/napi/function_args/
H A Dindex.js1 // Show the difference between calling a V8 binding C++ function
15 console.error(`${__filename}: V8 Binding failed to load`);

Completed in 10 milliseconds

12345