| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[sandbox] Activate sandbox hardware support in unittests With this CL, if enabled at compile time we now activate sandbox hardware support at runtime for all unittests. This requires opting out a few unittests that are currently incompatible with hardware sandboxing support, mostly due to the use of signal handlers. Bug: 350324877 Change-Id: Ib6414003abe34f41da5f1d2a3e44544644e812d6 Cq-Include-Trybots: luci.v8.try:v8_linux64_pku_dbg,v8_linux64_pku_rel Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6718196 Commit-Queue: Samuel Groß <saelo@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#101392} | 11 个月前 | |
[zone] BitVector: Fix broken move operations The BitVector has an "inline" mode where it points to its own member. Given the following code: 1| BitVector a; 2| a = BitVector(8, zone); 3| a.Add(1); In line 2 a temporary will be constructed with data_begin_ pointing to its data_ member. The move construtor will copy over these members meaning the data_begin_ of a points to the data_ member of the temporary. Line 3 then modifies the temporary after it's been destructed causing all kinds of potential memory corruptions. Change-Id: I316856ecb682b83c401ee5f9e22b85146f79093c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5210479 Auto-Submit: Matthias Liedtke <mliedtke@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Commit-Queue: Daniel Lehmann <dlehmann@chromium.org> Cr-Commit-Position: refs/heads/main@{#91971} | 2 年前 | |
Move unittest files R=sigurds@chromium.org Bug: v8:9247 Change-Id: I25743f048e3e6cd22a18e003e77c8b78f147b630 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1630680 Reviewed-by: Sigurd Schneider <sigurds@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#61836} | 7 年前 | |
[heap] Use task with kUserVisible priority instead of idle task This CL switches from idle tasks to kUserVisible tasks for "context disposal" GCs. @etiennep thankfully notices that this can improve JS score quite a bit. As we have no guarantee when this task will be run after being scheduled, we use gc_count() to only trigger a GC if no GC has been performed in-between. For idle tasks we limit this based on time, the task had to run within two frames (=16ms*2). Unlike idle tasks the regular tasks don't get a deadline, instead we use a hard coded limit of 5ms. In addition to the previous condition, we only perform the GC if the estimated time for it is less than 5ms. This CL improves JS2 by about +0.7%, JS3 by about +0.2%. Bug: 460477160 Change-Id: I9d084d59dca53a57d5cb6e81f26c122f037f15f7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6734023 Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#104016} | 7 个月前 | |
[cleanup] Replace simple typedefs by using This replaces all typedefs that define types and not functions by the equivalent "using" declaration. This was done mostly automatically using this command: ag -l '\btypedef\b' src test | xargs -L1 \ perl -i -p0e 's/typedef ([^*;{}]+) (\w+);/using \2 = \1;/sg' Patchset 2 then adds some manual changes for typedefs for pointer types, where the regular expression did not match. R=mstarzinger@chromium.org TBR=yangguo@chromium.org, jarin@chromium.org Bug: v8:9183 Change-Id: I6f6ee28d1793b7ac34a58f980b94babc21874b78 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1631409 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#61849} | 7 年前 | |
[utils] Introduce SparseBitVector We currently have a BitVector implementation which is used a lot by the two (mid-tier and top-tier) register allocators. Their size is the number of virtual registers or the number of blocks in the function. If one of those numbers gets huge, the BitVector does not perform well any more, and it consumes huge amounts of memory (we see up to several GBs for huge Wasm functions). This CL introduces a SparseBitVector implementation with a compatible interface, meant to replace the BitVector implementation. Usages will be introduced in follow-up CLs, first for the mid-tier allocator, then top-tier. This will allow us to assess performance changes better, and revert individual usages. R=mslekova@chromium.org Bug: chromium:1313379, v8:12780 Change-Id: I804311e0c188526961f70e88a43dd1ea26497cda Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3634780 Commit-Queue: Clemens Backes <clemensb@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/main@{#80546} | 4 年前 | |
Revert "Reland "Use SIMD memcmp for 2-byte and 1-byte vs 2-byte string comparison"" This reverts commit 6adca50f16460f9debe21975569ac0c582cb4365. Reason for revert: ITW Crashes: https://crbug.com/461758647 Original change's description: > Reland "Use SIMD memcmp for 2-byte and 1-byte vs 2-byte string comparison" > > This is a reland of commit 754e7ba956b06231c487e09178aab9baba1f46fe > > Changes since revert: > - Fix increment for 2-byte > - Add unittest > > Original change's description: > > Use SIMD memcmp for 2-byte and 1-byte vs 2-byte string comparison > > > > Change-Id: Ie531186afdfa04570bd2d57bccd21e6648aff428 > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5361781 > > Commit-Queue: Patrick Thier <pthier@chromium.org> > > Reviewed-by: Anton Bikineev <bikineev@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#103363} > > Change-Id: I9dac7e7c1256b04dfd184fe9f688e43ff301836b > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7090241 > Commit-Queue: Patrick Thier <pthier@chromium.org> > Reviewed-by: Anton Bikineev <bikineev@chromium.org> > Cr-Commit-Position: refs/heads/main@{#103742} Change-Id: I108aa2e889374769924a0242822a085a55dcddbb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7164736 Commit-Queue: Patrick Thier <pthier@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#103795} | 7 个月前 | |
[test] Move cctest/test-version to unittests/utils/ ... version-unittest. Bug: v8:12781 Change-Id: If5bd862533c265bb87ee21008da27e8defebe863 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3675734 Commit-Queue: 王澳 <wangao.james@bytedance.com> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#80800} | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
| 2 年前 | ||
| 7 年前 | ||
| 7 个月前 | ||
| 7 年前 | ||
| 4 年前 | ||
| 7 个月前 | ||
| 4 年前 |