- 27 Jan, 2022 23 commits
-
-
Manos Koukoutos authored
This CL replaces the equirecursive type system for wasm-gc with the isorecursive hybrid type system presented here: https://github.com/WebAssembly/gc/issues/257. In broad strokes, this includes the following changes: - In the module decoder, remove equirecursive types. Implement recursive type groups, subtype definitions, and function/struct/array definitions. Treat nominal modules as syntactic sugar of an isorecursive module, where all types belong in the same recursive group. - Remove rtt.sub and all related infrastructure. - Change subtyping to work with explicit supertypes only. - Add ValidSubtypeDefinition in subtyping, to check that subtype declarations are valid during decoding. - Remove the subtyping cache. - Add support for functions to have specific signature index in WasmModuleBuilder and in test-gc.cc. - Adapt tests. Current restrictions: - Recursive groups are not stored beyond decoding. - Type canonicalization is not implemented. No tests relying on types being considered identical post-canonicalization. - No cross-module subtyping is possible. Tests relying on cross-module subtyping have been commented out. Bug: v8:7748 Change-Id: I69fd04ecc5611f6230c95d5c89d1c520163fffae Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416239Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78816}
-
Igor Sheludko authored
... which was using incorrect cage base value for reading map field. Drive-by: fix CodeDataContainer verifier - the value returned by code().InstructionStart() might not always be equal to cached code entry point value when shared pointer compression cage is enabled. Bug: v8:11880, chromium:1291299 Change-Id: I1338717095a9a1ad2c056f0af0181eabaef88431 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3420308Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/main@{#78815}
-
Andreas Haas authored
With this CL, externref parameters are supported by the generic wrapper. Externref parameters get handled in a separate loop which runs after the loop which converts primitive type parameters from JavaScript values to WebAssembly values. Externref parameters get handled separately because the conversion of primitive type parameters may cause a GC, and it would be hard for the GC to identify stack slots which contain reference parameters which have already been processed. As an optimization we remember in the first loop if we have seen a reference parameter. For functions without a reference parameter we would not iterate the parameters for a second time. R=thibaudm@chromium.org Bug: v8:12565 Change-Id: Ib36bee9d8e6b1606250fcd5f2e9cdbbdfed96356 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3412079Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#78814}
-
Manos Koukoutos authored
Changes: - Introduce {TypeDefinition} for wasm modules. - Introduce an enum {TypeDefinition::Kind} to represent the three different definition types. - Collapse the {types}, {type_kinds} and {supertypes} vectors into a single vector of {TypeDefinition}s. - Use {TypeDefinition} in WasmModuleBuilder. - Drive-by: Remove {kNullIndex} in WasmModuleBuilder. - Drive-by: Tidy-up wasm-module.h. Change-Id: I97c2c268bcad745176243c693cf169bfa5714f94 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416233Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78813}
-
Camillo Bruni authored
Part I: V8_DEPRECATED_SOON => V8_DEPRECATED Bug: v8:11165 Change-Id: I1f7191436ea03d341a0adcb29c8e0c811a12c51d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417434Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#78812}
-
Nico Hartmann authored
Previously, literals in Torque were stored as double values, which made it impossible to precisely represent 64 bit integer values. This CL replaces the old literal expression with an integer and floating point literal expression that are unbounded in size. We allow implicit conversion of these literals to arbitary integer and floating point types respectively and insert a corresponding bounds check into generated CSA. Changes in the reland: Simplified IntegerLiteral to single digit. Bug: v8:7793, chromium:1289282 Change-Id: I31c762c2f31165c7a1d0b07842b764e5851ce189 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3406750Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org> Cr-Commit-Position: refs/heads/main@{#78811}
-
Camillo Bruni authored
Bug: v8:11263 Change-Id: I02c51fae400a9a5d67376ed645ea01be4ef1dc1e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417437Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#78810}
-
Simon Zünd authored
This CL replaces 'InvalidArgument' with 'ServerError' for Runtime#getExceptionDetails. The reason is that the error we raise is on the application level, allowing the DevTools frontend to handle it to a certain degree. 'InvalidArgument' errors would be interpreted as "something went really wrong", which is not the case here. Bug: chromium:1280141 Change-Id: Id72f06ce8daa06875adeb2528638a80ae61d9e55 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3420304Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/main@{#78809}
-
Liu Yu authored
Port commit 54604990 Bug: chromium:757467 Change-Id: I1e6f9a63e864b0927ccd07a433479700808a95bb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3420184 Auto-Submit: Yu Liu <liuyu@loongson.cn> Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn> Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn> Cr-Commit-Position: refs/heads/main@{#78808}
-
Hannes Payer authored
This is the 1. CL in a series of CollectGarbage refactoring CLs. Bug:v8:12503 Change-Id: Ia0871df79bf9e1732d6c416079a387cd494196ac Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3419918Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Hannes Payer <hpayer@chromium.org> Cr-Commit-Position: refs/heads/main@{#78807}
-
Leszek Swirski authored
Add JumpLoop to the list of bytecodes that unconditionally exit a block, so that bytecodes are not emitted after a JumpLoop until there's a bound label. As a drive by, fix the bytecode random iterator's initialisation to use 'done()' directly (the old condition worked for Return, but was failing for wide JumpLoops that ended the bytecode). Change-Id: I63910602efbac8ad2b995a8fe6559a9f8f4b83b9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3419919 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Auto-Submit: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/main@{#78806}
-
Samuel Groß authored
This field points to the start of the WASM memory buffer for the instance, which is an ArrayBuffer and so guaranteed to be located inside the sandbox if it is enabled. As such, this simply turns the field into a sandboxed pointer field. Bug: chromium:1218005 Change-Id: I847aebf5c29fcf1ab1163809350204db5b685a10 Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3359630Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Cr-Commit-Position: refs/heads/main@{#78805}
-
Shu-yu Guo authored
Bug: v8:12584, v8:12007 Change-Id: Iac3c8b1c5935142742dddc7e12293fd7640c06a3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3419736 Auto-Submit: Shu-yu Guo <syg@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#78804}
-
Liu Yu authored
Port commit 99a5bb74 Change-Id: I39c6bc91b487a2c8ec8ae4e226e4db57c018d222 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3419797 Auto-Submit: Yu Liu <liuyu@loongson.cn> Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn> Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn> Cr-Commit-Position: refs/heads/main@{#78803}
-
Samuel Groß authored
This type is no longer required: all ExternalPointers are now sandboxified in turbofan, so we use that type instead. Bug: v8:10391 Change-Id: Ia2bd261bfe3cfd5c7d9c350ba0e553e57a596a42 Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3359632Reviewed-by: Igor Sheludko <ishell@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Cr-Commit-Position: refs/heads/main@{#78802}
-
Igor Sheludko authored
... because of unaligned field address. The fix is to load code cage base and the tagged value separately and then decompress - the same way as it's done in the relaxed accessors of the code field. Bug: v8:11880 Change-Id: Ia4699458e6a00ee16efea06c48cc5c67a82b22f7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416999 Auto-Submit: Igor Sheludko <ishell@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#78801}
-
Jakob Gruber authored
The functionality is unused and we are simplifying OptimizationMarker usage. Drive-by: Remove unused return value of Compiler::CompileOptimized. Drive-by: Don't add kStackSpaceRequiredForCompilation as gap to the stack check when compiling concurrently, i.e. on another thread. Bug: chromium:757467 Change-Id: Ibbe204b82bf937b9eb74f9eb2c3fd2d719d53ef9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416245Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#78800}
-
Patrick Thier authored
CallFunction is only called for targets that are checked not to be class constructors, therefore we can remove the check for class constructors from CallFunction. Change-Id: I3157b885a47f453003201be6ceb0763f7ccbcbf8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416243 Auto-Submit: Patrick Thier <pthier@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#78799}
-
Jakob Kummerow authored
The existing NumberConstant helper subsumes the recently introduced SmiConstant (because it produces Smis when it can), so there is no need for the latter. Change-Id: Ia49d2c9298c6e75a6465b3b6a68745f4de899671 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416240 Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78798}
-
v8-ci-autoroll-builder authored
Rolling v8/third_party/google_benchmark/src: https://chromium.googlesource.com/external/github.com/google/benchmark/+log/d0fbf8a..6d51a11 Fix cross compilation for macOS ARM builds in `cibuildwheel` (#1334) (Nicholas Junge) https://chromium.googlesource.com/external/github.com/google/benchmark/+/6d51a11 R=v8-waterfall-sheriff@grotations.appspotmail.com,mtv-sf-v8-sheriff@grotations.appspotmail.com,mlippautz@chromium.org Change-Id: Icb2da54cba38468912ebf5dfae61156a157fee9c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3418207 Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#78797}
-
v8-ci-autoroll-builder authored
Rolling v8/third_party/icu: https://chromium.googlesource.com/chromium/deps/icu/+log/b9f6d0a..609143a Add Afrikaans and Zulu to ICU on CrOS (mlcui) https://chromium.googlesource.com/chromium/deps/icu/+/609143a Remove debug logging in make_data_assembly.py (Nico Weber) https://chromium.googlesource.com/chromium/deps/icu/+/0881a3c Add Icelandic to ICU on CrOS (mlcui) https://chromium.googlesource.com/chromium/deps/icu/+/2c4f807 Update whitespace in filters JSON (mlcui) https://chromium.googlesource.com/chromium/deps/icu/+/aa0b81a R=v8-waterfall-sheriff@grotations.appspotmail.com,mtv-sf-v8-sheriff@grotations.appspotmail.com,ftang@chromium.org Change-Id: If16d67011070d77d734ea1662593de88bf5ecc79 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3418208 Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#78796}
-
v8-ci-autoroll-builder authored
Rolling v8/build: https://chromium.googlesource.com/chromium/src/build/+log/1c8bf90..45926ba Rolling v8/buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi/+log/e4cc353..df43e1b Rolling v8/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/d05a2e0..d586255 Rolling v8/tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/5518918..b93ee79 Rolling v8/tools/luci-go: git_revision:09f8b3edbbf18dc63d0d5aa7722ae7acc20b11b4..git_revision:7528d700b89db0b6feb32be098d40597f738d3c7 Rolling v8/tools/luci-go: git_revision:09f8b3edbbf18dc63d0d5aa7722ae7acc20b11b4..git_revision:7528d700b89db0b6feb32be098d40597f738d3c7 R=v8-waterfall-sheriff@grotations.appspotmail.com,mtv-sf-v8-sheriff@grotations.appspotmail.com Change-Id: I608a378f689fd501d2db8f36e17287fe68641c77 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3418205 Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#78795}
-
legendecas authored
The Array Grouping proposal [1] reached Stage 3 in December 2021 TC39. [1] https://github.com/tc39/proposal-array-grouping/ Bug: v8:12499 Change-Id: I05b4838d915ab1b0cf8126aa30a3e48f47b9ee59 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3366630Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Chengzhong Wu <legendecas@gmail.com> Cr-Commit-Position: refs/heads/main@{#78794}
-
- 26 Jan, 2022 17 commits
-
-
Milad Fa authored
Change-Id: I6c24b0930d489a9af7e877e783663f2493168604 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417920Reviewed-by: Junliang Yan <junyan@redhat.com> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#78793}
-
Junliang Yan authored
Change-Id: I4f52eff47f32807f6704cbee873fbc2e0a2cd1c4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417916Reviewed-by: Milad Farazmand <mfarazma@redhat.com> Commit-Queue: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/main@{#78792}
-
Shu-yu Guo authored
This is a reland of 5320fe8d Changes since revert: - Remove stale DCHECK in deserializer Original change's description: > Reland "[string] Support shared strings in Value{Serializer,Deserializer}" > > This is a reland of 3cb4039c > > Changes since revert: > - Fix FLAG_stress_scavenge interaction with shared Isolate > - Use the shared Isolate's global handles to keep shared values > alive in transit during a postMessage > > Original change's description: > > [string] Support shared strings in Value{Serializer,Deserializer} > > > > When FLAG_shared_string_table is true, postMessaging strings will share > > instead of copy. > > > > Note that not all operations on shared strings are supported, and shared > > strings may be slower than non-shared strings for some operations. Bug: v8:12007 Change-Id: I70782978ed05558615eca03bafc4c12eba3644ca Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417189Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Shu-yu Guo <syg@chromium.org> Cr-Commit-Position: refs/heads/main@{#78791}
-
Milad Fa authored
Implementations are added to macro-assembler to be shared between liftoff and TF code generator. Change-Id: I0d1c9e8bcd2dfd89b5ed4a273821766763565f54 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417438Reviewed-by: Junliang Yan <junyan@redhat.com> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#78790}
-
Junliang Yan authored
Change-Id: I5771c13c6ba643164ebbdd9d0131a7618872dee3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417501Reviewed-by: Milad Farazmand <mfarazma@redhat.com> Commit-Queue: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/main@{#78789}
-
Junliang Yan authored
Change-Id: I6af342589fc7a3e0661fe1e520e9d15725825678 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417498Reviewed-by: Milad Farazmand <mfarazma@redhat.com> Commit-Queue: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/main@{#78788}
-
Thibaud Michaud authored
Create and return the chained promise, which resumes the suspended wasm continuation once the JS promise resolves: - Add stub for the WasmResume builtin, which will resume the given suspender. - Add the JS function wrapper for the builtin. - On suspension, return promise.then(onFulfilled) to the prompt. R=ahaas@chromium.org CC=fgm@chromium.org Bug: v8:12191 Change-Id: I2d6136b2bd610daa4be1880f347b7bdf897e75ac Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3404776Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Cr-Commit-Position: refs/heads/main@{#78787}
-
Victor Gomes authored
Moves g_root_vmar_base up in the file, so that we have all the globals together. Bug: v8:11232 Change-Id: Ic08cdf3399982962de255028be6718951a17aedb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416249 Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Samuel Groß <saelo@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Cr-Commit-Position: refs/heads/main@{#78786}
-
Camillo Bruni authored
Bug: v8:11165 Change-Id: I6d21b5ace124b6a47df983d5e3370d241f58f056 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3395880Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#78785}
-
Joyee Cheung authored
When reparsing the class scope to collect initializers in sloppy mode, the class scope may still have a scope info without any allocated variables. If its outer scope doesn't have an outer scope (which means the outer scope in the optimized scope chain becomes the script scope), we should also set the scope info in the script scope as is done in Scope::DeserializeScopeChain() for the scope resolution. Bug: chromium:1290587, v8:10704 Change-Id: I7804d53f330e59d4ab0405a11b132569f348b55d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3413647Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Joyee Cheung <joyee@igalia.com> Cr-Commit-Position: refs/heads/main@{#78784}
-
Michael Achenbach authored
No-Try: true Bug: chromium:1256445 Change-Id: If028ec562fe10769e9a3a2dcdba9cf2074cd72a1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417435 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Auto-Submit: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Liviu Rau <liviurau@chromium.org> Commit-Queue: Liviu Rau <liviurau@chromium.org> Cr-Commit-Position: refs/heads/main@{#78783}
-
Alessandro Pignotti authored
This patch takes advantage of memory information from the module to avoid unnecessary reloads of the SSA environment after a Wasm call. As far as I can sse, the SSA envinronment consists of the mem_start and mem_size values. Both these values cannot ever change if: initial_mem_size == max_mem_size. Although this should be obviously true for memories defined in the module itself, some explanation may be necessary for imported memories. During module instantiation, the imported memory is checked as part of InstanceBuilder::ProcessImportedMemory. The following properties are verified: 1) The current size of the imported memory is >= the initial declared size 2) The maximal size of the imported memory is <= the maximal declared size The effective maximal limit will be min(imported_max, declared_max), hence the optimization will only trigger if the imported memory is already as large as it can be. Since memory growth is impossible, there is no point in reloading the environment anyway. Change-Id: Ie6c6ad278175d253b61131972a6db7530bd52b90 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3412082Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#78782}
-
Camillo Bruni authored
web-snapshot.js is sometimes causing timeouts, splitting the test files to prevent this. Bug: v8:12554, v8:11525 Change-Id: I53f8476eab9bd009689f056eabcdfa549c509a0d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416248Reviewed-by: Maya Lekova <mslekova@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#78781}
-
Victor Gomes authored
Change-Id: Ic214ef7ca9bcc543b98f26e77f31ad12f80798fb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417430 Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/main@{#78780}
-
Victor Gomes authored
Adds the archs fuchsia_x64 and fuchsia_arm64. No-Try: true Change-Id: I5e12a436fc206fecc910965e9597b7e05be23e26 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416247 Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#78779}
-
Milad Fa authored
On AIX, calling mmap on a pre-designated address with MAP_FIXED will fail and return -1 unless the application has requested SPEC1170 compliant behaviour with arguments such as `XPG_SUS_ENV=ON`. Therefore an AIX specific implementation has been added under platform-aix.cc. Change-Id: Ib5b8a19a3a9e6d202aed7e792c00a25ddc547c72 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3403045Reviewed-by: Samuel Groß <saelo@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#78778}
-
Marja Hölttä authored
Bug: v8:11525 Change-Id: I765923f6d15959a7fc6ceddd9a6d60338316300a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416246Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/main@{#78777}
-