Oopenharmony_ciinclude/v8-version.h + 1
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[cppgc] Add static_assert to Visitor::Trace(const T&) Enforce that the Visitor::Trace(const T&) method that is used for non-reference fields (e.g. embedded DISALLOW_NEW objects) is never called for GCed types. Change-Id: Id896ff1dcec3c42a7e9bc11c4a64e850d8e7e143 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7046265 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Commit-Queue: Omer Katz <omerkatz@chromium.org> Cr-Commit-Position: refs/heads/main@{#103236} | 8 个月前 | |
translate Signed-off-by: huanghan18 <huanghan18@huawei.com> | 25 天前 | |
Move inspector protocol definitions to include/ This does not delete the files in the old locations yet since we need to fix up the references in Chrome and Node.js. Bug: v8:9247 Change-Id: I75dd469e19b6d4249ed187dd6d095d306f1b6c45 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649355 Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#62258} | 6 年前 | |
[api] Add base class for Object::Wrap() inputs Object::Wrap() has the implicit assumption that its input is a cppgc object. This CL introduces a new base class, called Wrappable, that should eventually make this assumption explicit. Most inputs of Object::Wrap() have already two kinds of information: 1) type information for type checking; 2) name information for debugging; Both kinds of information could be organized by the embedder themselves, but that would typically require multiple inheritance, which has negative effects on the object size. Since most expected subclasses of Wrappable will have these kinds of information anyways, they are required by Wrappable already, which allows smaller object sizes. Bug: 345640553 Change-Id: I859025eb6f7dda07da365051b3d40b05ba54dca4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6611420 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#100653} | 1 年前 | |
buganizer: fix component IDs in DIR_METADATA This only matches the old monorail components. Bug: 341800538 Change-Id: Id74fbdb3b9be0c858b77af84966c6c37adf78c5c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6025833 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Paul Semel <paulsemel@chromium.org> Commit-Queue: Paul Semel <paulsemel@chromium.org> Cr-Commit-Position: refs/heads/main@{#97252} | 1 年前 | |
Update OWNERS files Overall: - Remove adamk - Remove syg test/test262/OWNERS: - Add olivf - Add rezvan third_party/v8/codegen/OWNERS: - Add gdeepti Change-Id: I0d72f60050a688ad5ec46ae4733c98ec323c9539 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6695598 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Olivier Flückiger <olivf@chromium.org> Cr-Commit-Position: refs/heads/main@{#101239} | 1 年前 | |
Move inspector protocol definitions to include/ This does not delete the files in the old locations yet since we need to fix up the references in Chrome and Node.js. Bug: v8:9247 Change-Id: I75dd469e19b6d4249ed187dd6d095d306f1b6c45 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1649355 Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#62258} | 6 年前 | |
[inspector] Remove Type Profiler See https://docs.google.com/document/d/1dJHFRXKE4NUchvYweuyzsolXDEWACr-jJZEPyC6f9EQ/edit?usp=sharing Change-Id: Ie5b30db30d55ba701a336d8a59dbff7771276e96 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3936281 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/main@{#83593} | 3 年前 | |
Add trustedtype to subtypes enum With crbug.com/40051421 inspector in V8 can report subtypes coming from the embedder. We do not have mechanism to extend .pdl enums with embedder-specific values. Therefore, this CL is a workaround to list known embedder values as possible outputs for client-side code generation. An ideal solution would be to remove these enums and replace the type with string. Fixed: 444471169 Change-Id: I0240849d101c9fbd43586786e669e4a0d5b2a265 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6943290 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Cr-Commit-Position: refs/heads/main@{#102499} | 9 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
OOM use hisysevent Signed-off-by: jiang-qunchao <jiangqunchao@huawei.com> | 26 天前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
Reland "[api] Introduce CppHeapExternal" This is a reland of c6c2d15dd468cfd8166967560f22eab9f2841c07 The unit tests were relying an on-stack handle to keep the test object alive after GC with StackState::kNoHeapPointers, which doesn't work with CSS. Instead, use a a GCed object with a TracedReference to the CppHeapExternal, and keep that GCed object alive with a Persistent as needed. Tests: https://ci.chromium.org/ui/p/v8/builders/try/v8_linux64_css_dbg/b8718488560320906769/overview Original change's description: > [api] Introduce CppHeapExternal > > CppHeapExternal is an on-heap version of External, allowing embedders to > store GarbageCollected objects in JS values that aren't exposed to > JavaScript, and therefore aren't associated with a particular Context. > > Unlike JS wrapper objects, this new type extends HeapObject rather than > JSObject since it is not exposed to JavaScript. To support this, the > existing Cpp heap pointer logic is being updated to support objects with > different layouts. The Cpp object is otherwise handled in the same way > as Object::Wrap and Object::Unwrap, including using CppHeapPointerTag > (we'll use distinct tags in Blink to separate these objects from > ScriptWrappable objects; see crrev.com/c/6350413). > > Bug: 380911428 > Change-Id: I8777f7ce5c5447437557111be064ea195eaba175 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6343961 > Reviewed-by: Michael Lippautz <mlippautz@chromium.org> > Reviewed-by: Igor Sheludko <ishell@chromium.org> > Commit-Queue: Scott Haseley <shaseley@chromium.org> > Cr-Commit-Position: refs/heads/main@{#99676} Bug: 380911428 Change-Id: I6a5460b914a2435ea5ce74e11b12af044b71aae1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6434692 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Scott Haseley <shaseley@chromium.org> Cr-Commit-Position: refs/heads/main@{#99702} | 1 年前 | |
[api] Promote CppHeap::Terminate to V8_DEPRECATED R=mlippautz Bug: 42203693 Change-Id: I2cd3e19254968a9c7e901224445940cf2d0209cf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6289407 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#98857} | 1 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
Introduce v8::StackTrace::CurrentScriptId This CL introduces a dedicated API to retrieve the current (w.r.t the JS stack) script id. This is equivalent to CurrentScriptNameOrSourceURL but returns the id instead of the script name. Bug: 432760817 Change-Id: I258c8ffee65474bb00164843ac4dd6b894671507 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6774545 Commit-Queue: Josh Karlin <jkarlin@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Olivier Flückiger <olivf@chromium.org> Cr-Commit-Position: refs/heads/main@{#101621} | 11 个月前 | |
[heap] Parallelize processing of young wrapper reclamation Weak young wrapper objects can be reclaimed (i.e., treated weakly) when they are otherwise unreachable and follow certain conditions. Processing is split into 3 phases: 1. computing weakness; 2. processing strong objects; 3. clearing weak objects; This CL implements parallel processing for phases 1. and 3. It revives an idea that was first explored in issue 40264139. Since the initial inception the area around traced handles has been reworked and so the implementation can now nicely parallelize based on blocks (TracedNodeBlock) instead of creating an artificial view on top of a large vector. The main idea of the new approach is: A. Free the handle concurrently on a block which is exclusively owned; B. Post process block afterwards which should be cheap; Parallel processing is currently disabled behind --js-flags=--parallel_reclaim_unmodified_wrappers Impact on S3: 👍 TodoMVC-jQuery [ -1.3%, -0.1%] Bug: 398773905 Change-Id: I8354309381f58fcc01408ab489f7060f627f9166 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6286229 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#98887} | 1 年前 | |
[snapshot] Pass Isolate::CreateParams to SnapshotCreator SnapshotCreator's Isolate should not ignore Isolate::CreateParams. This is needed to guarantee that V8 Isolate sees CppHeap on initialization. Bug: v8:13754 Change-Id: I2cae5325171969fa67a7e79e73c27fc4725ef520 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5062929 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#91297} | 2 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
Reland "[include] Split out v8.h" This is a reland of d1b27019d3bf86360ea838c317f8505fac6d3a7e Fixes include: Adding missing file to bazel build Forward-declaring classing before friend-classing them to fix win/gcc Add missing v8-isolate.h include for vtune builds Original change's description: > [include] Split out v8.h > > This moves every single class/function out of include/v8.h into a > separate header in include/, which v8.h then includes so that > externally nothing appears to have changed. > > Every include of v8.h from inside v8 has been changed to a more > fine-grained include. > > Previously inline functions defined at the bottom of v8.h would call > private non-inline functions in the V8 class. Since that class is now > in v8-initialization.h and is rarely included (as that would create > dependency cycles), this is not possible and so those methods have been > moved out of the V8 class into the namespace v8::api_internal. > > None of the previous files in include/ now #include v8.h, which means > if embedders were relying on this transitive dependency then it will > give compile failures. > > v8-inspector.h does depend on v8-scripts.h for the time being to ensure > that Chrome continue to compile but that change will be reverted once > those transitive #includes in chrome are changed to include it directly. > > Full design: > https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing > > Bug: v8:11965 > Change-Id: I53b84b29581632710edc80eb11f819c2097a2877 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448 > Reviewed-by: Yang Guo <yangguo@chromium.org> > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> > Reviewed-by: Leszek Swirski <leszeks@chromium.org> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org> > Commit-Queue: Dan Elphick <delphick@chromium.org> > Cr-Commit-Position: refs/heads/main@{#76424} Cq-Include-Trybots: luci.v8.try:v8_linux_vtunejit Bug: v8:11965 Change-Id: I99f5d3a73bf8fe25b650adfaf9567dc4e44a09e6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3113629 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/main@{#76460} | 4 年前 | |
[gc] Expose ExternalMemoryAccounter publicly To replace AdjustAmountOfExternalAllocatedMemory. Bug: 42203776 Change-Id: Ib7bde62ce953832c5631a57a39000e849b9a6b89 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6015340 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Cr-Commit-Position: refs/heads/main@{#97427} | 1 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[api] Deprecate old External::New and External::Value With this CL all tests use type tags for calls to External::New and External::Value. With that the deprecation of the original v8::External APIs can be started. Bug: 436799229 Change-Id: Ib3e8899960e3a00fb2d9c9e267d536b8df73e546 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6999207 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#102885} | 9 个月前 | |
[api] Add DictionaryTemplate to instantiate dictionary objects The dictinary alllows declaring data properties that are then used later to instantiate an instance. The strings for V8 properties are immediately created and kept alive from the template. On instantiation the values are optional and may be left out which is signaled via empty MaybeLocals. Change-Id: I0ef688604a4ed8d8b32d673f6188478ebfc3d9f8 Bug: chromium:1499222 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5192785 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#91948} | 2 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[handles] Align "fake" and real direct handle implementations Since https://crrev.com/c/5929103, a distinct DirectHandle class has been introduced in non-direct-handle builds. Such direct handles are "fake", in the sense that they contain indirect handles and delegate all operations to them. The rationale behind this was to catch compiler errors related to direct handles in non-css builds. This CL continues in the same direction: 1. It lays the ground for checking that "fake" direct handles are allocated on the stack (in builds with slow DCHECKs), just as it happens with real direct handles. This will help catch a specific type of run-time errors related to direct handles in non-css builds. The check is currently not enabled for non-CSS builds. 2. Similarly, it converts the DCHECK that existed for CSS builds to a slow DCHECK. The check is currently enabled for CSS builds. 3. It further aligns the implementation of DirectHandleVector for "fake" and real direct handles. Bug: 42203211 Change-Id: I2b41640a9e67c69a028d65a5ca956534a75a5954 Cq-Include-Trybots: luci.v8.try:v8_linux64_css_dbg Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6038833 Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#97710} | 1 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
Fix LINT exceptions across the code base The category name changed in https://crrev.com/c/2159690 (in depot_tools), hence presubmit tests start failing whenever someone touches a file which still refers to the old category. R=zhin@chromium.org TBR=machenbach@chromium.org No-Try: true No-Tree-Checks: true Change-Id: I62813a42d63e512d421c4fe94229d04a56056978 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2165760 Reviewed-by: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#67403} | 6 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
【CVE-2026-4450】【487746373】【490642836】【CVE-2026-4457】【488803413】[CVE-2026-4461][490558172][489159859][481749436][491191100][492077213][496629079][472181383][480442279][481295170][485784597][474402856][483220222] Signed-off-by: Marja Hölttä <marja@chromium.org> | 26 天前 | |
OOM use hisysevent Signed-off-by: jiang-qunchao <jiangqunchao@huawei.com> | 26 天前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[include] Modernize V8 headers to use C++20 features unconditionally Remove conditional compilation for old compiler compatibility and adopt C++20 features throughout v8-internal.h and v8-memory-span.h. Changes: - Remove V8_HAVE_SPACESHIP_OPERATOR macro and conditional includes. - Use <compare> header unconditionally for spaceship operators. - Replace manual operator implementations with = default. - Modernize template constraints using C++20 concepts and requires. - Replace SFINAE patterns with cleaner concept-based constraints. Bug: None Change-Id: Ib46301240fd3136fabc5fa604a9743a930167866 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7005863 Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Ho Cheung <hocheung@chromium.org> Cr-Commit-Position: refs/heads/main@{#102891} | 9 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[wasm][metrics] Use designated initializers Instead of having a constructor that takes exactly the struct fields, use designated initializers. Note that even though this is in the public API of V8, those structs should not be created outside of V8, so we remove the constructor without deprecating it first. R=jkummerow@chromium.org, leszeks@chromium.org Change-Id: Icbde69af54d0b8283ead53713aa0b5863b435f19 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7021911 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#103205} | 8 个月前 | |
[api] Remove several APIs deprecated in version 12.6 Deleted in this CL: - PersistentValueVector and references - Operator overloads in BasicTracedReference - kGCTypeMinorMarkCompact enum value - Deprecated ScriptOrigin constructor - Deprecated MicrotasksScope constructor - SafeForTerminationScope and only_terminate_in_safe_scope Isolate param Change-Id: I119048cb946ec895d6ba5b7b93c5dcd6b99da6bb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5539888 Reviewed-by: Rezvan Mahdavi Hezaveh <rezvan@chromium.org> Commit-Queue: Adam Klein <adamk@chromium.org> Cr-Commit-Position: refs/heads/main@{#93899} | 2 年前 | |
Reland "[include] Split out v8.h" This is a reland of d1b27019d3bf86360ea838c317f8505fac6d3a7e Fixes include: Adding missing file to bazel build Forward-declaring classing before friend-classing them to fix win/gcc Add missing v8-isolate.h include for vtune builds Original change's description: > [include] Split out v8.h > > This moves every single class/function out of include/v8.h into a > separate header in include/, which v8.h then includes so that > externally nothing appears to have changed. > > Every include of v8.h from inside v8 has been changed to a more > fine-grained include. > > Previously inline functions defined at the bottom of v8.h would call > private non-inline functions in the V8 class. Since that class is now > in v8-initialization.h and is rarely included (as that would create > dependency cycles), this is not possible and so those methods have been > moved out of the V8 class into the namespace v8::api_internal. > > None of the previous files in include/ now #include v8.h, which means > if embedders were relying on this transitive dependency then it will > give compile failures. > > v8-inspector.h does depend on v8-scripts.h for the time being to ensure > that Chrome continue to compile but that change will be reverted once > those transitive #includes in chrome are changed to include it directly. > > Full design: > https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing > > Bug: v8:11965 > Change-Id: I53b84b29581632710edc80eb11f819c2097a2877 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448 > Reviewed-by: Yang Guo <yangguo@chromium.org> > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> > Reviewed-by: Leszek Swirski <leszeks@chromium.org> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org> > Commit-Queue: Dan Elphick <delphick@chromium.org> > Cr-Commit-Position: refs/heads/main@{#76424} Cq-Include-Trybots: luci.v8.try:v8_linux_vtunejit Bug: v8:11965 Change-Id: I99f5d3a73bf8fe25b650adfaf9567dc4e44a09e6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3113629 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/main@{#76460} | 4 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
heap_dump_1 for jsvm Signed-off-by: huanghan18 <huanghan18@huawei.com> | 25 天前 | |
Reland "[include] Split out v8.h" This is a reland of d1b27019d3bf86360ea838c317f8505fac6d3a7e Fixes include: Adding missing file to bazel build Forward-declaring classing before friend-classing them to fix win/gcc Add missing v8-isolate.h include for vtune builds Original change's description: > [include] Split out v8.h > > This moves every single class/function out of include/v8.h into a > separate header in include/, which v8.h then includes so that > externally nothing appears to have changed. > > Every include of v8.h from inside v8 has been changed to a more > fine-grained include. > > Previously inline functions defined at the bottom of v8.h would call > private non-inline functions in the V8 class. Since that class is now > in v8-initialization.h and is rarely included (as that would create > dependency cycles), this is not possible and so those methods have been > moved out of the V8 class into the namespace v8::api_internal. > > None of the previous files in include/ now #include v8.h, which means > if embedders were relying on this transitive dependency then it will > give compile failures. > > v8-inspector.h does depend on v8-scripts.h for the time being to ensure > that Chrome continue to compile but that change will be reverted once > those transitive #includes in chrome are changed to include it directly. > > Full design: > https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing > > Bug: v8:11965 > Change-Id: I53b84b29581632710edc80eb11f819c2097a2877 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448 > Reviewed-by: Yang Guo <yangguo@chromium.org> > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> > Reviewed-by: Leszek Swirski <leszeks@chromium.org> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org> > Commit-Queue: Dan Elphick <delphick@chromium.org> > Cr-Commit-Position: refs/heads/main@{#76424} Cq-Include-Trybots: luci.v8.try:v8_linux_vtunejit Bug: v8:11965 Change-Id: I99f5d3a73bf8fe25b650adfaf9567dc4e44a09e6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3113629 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/main@{#76460} | 4 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
heap_dump_1 for jsvm Signed-off-by: huanghan18 <huanghan18@huawei.com> | 25 天前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[sandbox] Activate sandbox hardware support in cctests Similar to crrev.com/c/6718196 with this CL we now activate sandbox hardware support (if available) for cctests. As there are now a lot more thread entrypoints that need to perform the per-thread initialization of sandbox hardware support, with this CL we now also introduce a convenience function for that purpose: v8::SandboxHardwareSupport::PrepareCurrentThreadForHardwareSandboxing. Bug: 350324877, 431949927 Cq-Include-Trybots: luci.v8.try:v8_linux64_pku_dbg,v8_linux64_pku_rel Change-Id: Ic693a71736785215503f7125a1cec908fe7d3905 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6734245 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Cr-Commit-Position: refs/heads/main@{#101421} | 11 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[debug] Only pass SourceLocation in debug in TurboShaft SourceLocation is almost only used for debug messages in TurboShaft, so pass it only in debug mode. Additionally, std::source_location (that it wraps) is a single pointer, so we can efficiently pass it by value rather than const ref. This reduces release build d8 by ~170kb, of which ~4kb is the by-value passing. Change-Id: Ia6b592f094dad0987b8a886bf16a7d3fe8611eb1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6888815 Auto-Submit: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#102072} | 10 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
[perfetto] Add V8_USE_PERFETTO_SDK build flag Add a build time flag to use Perfetto SDK header perfetto.h. Refs: https://github.com/nodejs/diagnostics/issues/654 Bug: 457135433 Change-Id: Ifefa3687d7bd7b1f1af78a681bb48ded39f84f57 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7111260 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net> Cr-Commit-Position: refs/heads/main@{#103565} | 7 个月前 | |
[cleanup] Modernize std::*::value and ::type Mechanically replacing std::foo<X>::value with std::foo_v<X>, and the same for ::type -> _t. Change-Id: I543dda07ba4c95534cdcd51f1f438f2626be8273 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6491388 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#99940} | 1 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
S390x: remove support for s390 32-bit, part 1 s390 has been out of support for a long time now. This CL removes the following from v8 codebase: - V8_TARGET_ARCH_S390 - V8_HOST_ARCH_S390 - V8_TARGET_ARCH_S390_LE_SIM - v8_current_cpu == "s390" - arch == s390 Change-Id: I97d4cafe0be65c91c872466b94dd835f695aaeab Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5857023 Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Reviewed-by: Junliang Yan <junyan@redhat.com> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#96110} | 1 年前 | |
[logging] Append IDLE_EXTERNAL to StateTag to preserve log compatibility A new VM state IDLE_EXTERNAL was added in https://crrev.com/c/6714365, but inserted in the middle of StateTag enum instead of appended to the end. Because the numeric value of StateTag is written into tick events in V8 log and used to attribute time, inserting a value mid-enum shifted all subsequent state codes (LOGGING changed from 9->10). This CL moves IDLE_EXTERNAL to the end of the enum to restore previous numeric codes for existing states. This is a minimal change that re-establishes compatibility for current and historical logs. Bug: 440481920 Change-Id: I2afa73f5140fd87f74721af9312f5fe7b29aac51 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6875647 Commit-Queue: Roman Dvornov <romandvornov@microsoft.com> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#102026} | 10 个月前 | |
[handles] Clean up direct handle configurations This CL merges the direct handle and direct local configurations, that were until now behind two different compile-time flags and two different macros. V8_ENABLE_DIRECT_HANDLE is now used to control both. It is set with v8_enable_direct_handle=true and (unless overriden) it is also implied by v8_enable_conservative_stack_scanning=true. The compile-time flag and macro for direct locals are removed. Bug: 41480448 Bug: 42203211 Change-Id: I358495659fa7d2c6dfbd8c36e016ad75d3b3fcaa Cq-Include-Trybots: luci.v8.try:v8_linux64_css_dbg Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5736205 Reviewed-by: Omer Katz <omerkatz@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Cr-Commit-Position: refs/heads/main@{#95297} | 1 年前 | |
Include guards should be at the top of files. For the include guard optimization to kick in the include guards should be the first thing in the file, not counting comments. In some cases the guard has been moved above a comment for consistency even though this does not matter. A couple of include guards have been renamed for uniqueness. git cl upload complained about some lint nits which have been fixed. Change-Id: Iaa208ea6557c36c84bc7bb77c787ba9feb7cf037 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6275067 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Erik Corry <erikcorry@chromium.org> Cr-Commit-Position: refs/heads/main@{#98907} | 1 年前 | |
[objects] Determine host objects with serializer delegate Enable custom host objects filter with ValueSerializer::Delegate when ValueSerializer::Delegate::HasCustomHostObject returns true. This allows the embedder to serialize JavaScript implemented host objects. Bug: v8:11927 Change-Id: I70e7aa70b10dc1053c113d521479cbe746febc7e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4385565 Commit-Queue: Chengzhong Wu (legendecas) <legendecas@gmail.com> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#87055} | 3 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
Fix LINT exceptions across the code base The category name changed in https://crrev.com/c/2159690 (in depot_tools), hence presubmit tests start failing whenever someone touches a file which still refers to the old category. R=zhin@chromium.org TBR=machenbach@chromium.org No-Try: true No-Tree-Checks: true Change-Id: I62813a42d63e512d421c4fe94229d04a56056978 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2165760 Reviewed-by: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#67403} | 6 年前 | |
include/v8-version.h + 1 Signed-off-by: jiang-qunchao <jiangqunchao@huawei.com> | 2 天前 | |
Fix LINT exceptions across the code base The category name changed in https://crrev.com/c/2159690 (in depot_tools), hence presubmit tests start failing whenever someone touches a file which still refers to the old category. R=zhin@chromium.org TBR=machenbach@chromium.org No-Try: true No-Tree-Checks: true Change-Id: I62813a42d63e512d421c4fe94229d04a56056978 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2165760 Reviewed-by: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#67403} | 6 年前 | |
Fix LINT exceptions across the code base The category name changed in https://crrev.com/c/2159690 (in depot_tools), hence presubmit tests start failing whenever someone touches a file which still refers to the old category. R=zhin@chromium.org TBR=machenbach@chromium.org No-Try: true No-Tree-Checks: true Change-Id: I62813a42d63e512d421c4fe94229d04a56056978 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2165760 Reviewed-by: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#67403} | 6 年前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I00194d339064f999dedfc211cd5af5501cbed0fb | 3 个月前 | |
Fix clang plugin violations in V8 Bug: 402564649 Change-Id: Ib81be42ab888210e5269ab1c5a0fae3d3c73aee1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6348644 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Omer Katz <omerkatz@chromium.org> Cr-Commit-Position: refs/heads/main@{#99256} | 1 年前 | |
Include guards should be at the top of files. For the include guard optimization to kick in the include guards should be the first thing in the file, not counting comments. In some cases the guard has been moved above a comment for consistency even though this does not matter. A couple of include guards have been renamed for uniqueness. git cl upload complained about some lint nits which have been fixed. Change-Id: Iaa208ea6557c36c84bc7bb77c787ba9feb7cf037 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6275067 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Erik Corry <erikcorry@chromium.org> Cr-Commit-Position: refs/heads/main@{#98907} | 1 年前 | |
translate Signed-off-by: huanghan18 <huanghan18@huawei.com> | 25 天前 |