Fix overflow issue in Zone::New

When requesting a large allocation near the end of the address space,
the computation could overflow and erroneously *not* grow the Zone
as required.

BUG=chromium:606115
LOG=y

Review-Url: https://codereview.chromium.org/1930873002
Cr-Commit-Position: refs/heads/master@{#35903}
1 file changed
tree: 3132dc90398ede2fca1fd4785d387bf65208e287
  1. .clang-format
  2. .gitignore
  3. .ycm_extra_conf.py
  4. AUTHORS
  5. BUILD.gn
  6. CODE_OF_CONDUCT.md
  7. ChangeLog
  8. DEPS
  9. LICENSE
  10. LICENSE.strongtalk
  11. LICENSE.v8
  12. LICENSE.valgrind
  13. Makefile
  14. Makefile.android
  15. Makefile.nacl
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
  20. benchmarks/
  21. build/
  22. codereview.settings
  23. docs/
  24. gypfiles/
  25. include/
  26. infra/
  27. samples/
  28. snapshot_toolchain.gni
  29. src/
  30. test/
  31. testing/
  32. third_party/
  33. tools/
README.md

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://github.com/v8/v8/wiki

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 on the V8 wiki.