[heap] Add TPH-related flag-implication rules
This disables the following features for --enable-third-party-heap: - inline allocation: all allocation are directed to runtime for now until we have support for TPH inline allocation. - allocation site pretenuring: this feature relies on ephemeral memento objects placed after ordinary objects and is tightly coupled with V8's GC. - allocation folding in TurboFan: this feature assumes that objects of different size and type can be allocated on the same page using bump-pointer allocation. Bug: v8:9533 Change-Id: Idbdf1dac566f37db379e5d4b43e0741886f4e69b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2463004 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#70468}
This commit is contained in:
parent
0040d5cdf1
commit
7015a0d17d
1
AUTHORS
1
AUTHORS
@ -117,6 +117,7 @@ Janusz Majnert <jmajnert@gmail.com>
|
||||
Jay Freeman <saurik@saurik.com>
|
||||
James Pike <g00gle@chilon.net>
|
||||
James M Snell <jasnell@gmail.com>
|
||||
Javad Amiri <javad.amiri@anu.edu.au>
|
||||
Jianghua Yang <jianghua.yjh@alibaba-inc.com>
|
||||
Jiawen Geng <technicalcute@gmail.com>
|
||||
Jiaxun Yang <jiaxun.yang@flygoat.com>
|
||||
|
@ -365,6 +365,10 @@ DEFINE_IMPLICATION(lite_mode, optimize_for_size)
|
||||
#define V8_ENABLE_THIRD_PARTY_HEAP_BOOL false
|
||||
#endif
|
||||
|
||||
DEFINE_NEG_IMPLICATION(enable_third_party_heap, inline_new)
|
||||
DEFINE_NEG_IMPLICATION(enable_third_party_heap, allocation_site_pretenuring)
|
||||
DEFINE_NEG_IMPLICATION(enable_third_party_heap, turbo_allocation_folding)
|
||||
|
||||
DEFINE_BOOL_READONLY(enable_third_party_heap, V8_ENABLE_THIRD_PARTY_HEAP_BOOL,
|
||||
"Use third-party heap")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user