Go to file
Patrick Thier 6ff1129ca3 [sparkplug] Batch compilation
Instead of compiling a function with baseline immediately when the
interrupt budget is hit, we compile functions in batches to save some
memory protection flips on code pages.

This CL introduces batch compilation behind --baseline-batch-compilation
(enabled on future) and adds a flag
--baseline-batch-compilation-threshold to control the size of batches.

Bug: v8:11790

Change-Id: I3efc360424a14e4b07c6570e48860509ae59e591
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2891656
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Patrick Thier <pthier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74913}
2021-06-02 11:41:33 +00:00
.github
build_overrides
custom_deps
docs
gni Make Google benchmark dependency a default 2021-04-21 12:19:40 +00:00
include Add exception metadata handling to V8 inspector 2021-06-02 09:33:58 +00:00
infra [infra] Switch back to Xenial on a slow variant 2021-05-27 14:41:03 +00:00
samples Reland "[api] Add v8::Isolate::ThrowError helper" 2021-04-16 11:48:05 +00:00
src [sparkplug] Batch compilation 2021-06-02 11:41:33 +00:00
test [sparkplug] Batch compilation 2021-06-02 11:41:33 +00:00
testing
third_party Manually update google_benchmark 2021-05-27 10:42:13 +00:00
tools Reland "[mjsunit][tools][d8] Full roundtrip tickprocessor test" 2021-06-02 07:02:48 +00:00
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore
.gn [infra] Force Python 3 to be used in build. 2021-05-11 12:04:34 +00:00
.mailmap Add placeholder .mailmap file 2021-05-26 22:56:59 +00:00
.vpython
.ycm_extra_conf.py
AUTHORS [tools] Refactor, use built-in Array.flat() instead of custom flatten method 2021-05-31 07:46:15 +00:00
BUILD.gn [sparkplug] Batch compilation 2021-06-02 11:41:33 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS Remove petermarshall from OWNERS 2021-03-31 11:00:22 +00:00
DEPS Update V8 DEPS. 2021-06-02 03:44:37 +00:00
DIR_METADATA
ENG_REVIEW_OWNERS
INFRA_OWNERS
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
MIPS_OWNERS
OWNERS [WATCHLISTS] Add a watchlist for regexp 2021-05-18 19:00:57 +00:00
PPC_OWNERS
PRESUBMIT.py [bigint] Move multiplication to src/bigint/ 2021-04-19 15:40:43 +00:00
README.md
RISCV_OWNERS [riscv64] Change one of the owners for RISCV. 2021-04-20 14:39:26 +00:00
S390_OWNERS
WATCHLISTS [WATCHLISTS] Add a watchlist for regexp 2021-05-18 19:00:57 +00:00

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.