483a5e94a7
This is a reland of 9efe315ee2
after marking
box2d slow.
Original change's description:
> Mark functions for optimization only on bytecode budget interrupts
>
> We used to mark functions for optimization on any interrupt. This sometimes
> causes functions to OSR when not needed. The implementation was such because
> we didn't have a different runtime function to distinguish bytecode budget
> interrupts from other interrupts. For lazy feedback allocation we added a
> new runtime function for bytecode budget interrupts so it makes it easier
> to actually mark functions only when needed.
>
> This also includes a fix to reduce the stack limits for interrupts when
> entering a scope that allows interrupts from a postponed interrupt scope.
>
> Bug: chromium:993061
> Change-Id: Iaf7b4dccb7a503e5b6bfcbb993bc7482aa593955
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1829218
> Reviewed-by: Leszek Swirski <leszeks@chromium.org>
> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
> Commit-Queue: Mythri Alle <mythria@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#64048}
Bug: chromium:993061
Change-Id: I24dae03357d6c368e4173db3f071e8ab09e9d6dc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1832173
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64082}
84 lines
3.0 KiB
Plaintext
84 lines
3.0 KiB
Plaintext
# Copyright 2013 the V8 project authors. All rights reserved.
|
|
# Redistribution and use in source and binary forms, with or without
|
|
# modification, are permitted provided that the following conditions are
|
|
# met:
|
|
#
|
|
# * Redistributions of source code must retain the above copyright
|
|
# notice, this list of conditions and the following disclaimer.
|
|
# * Redistributions in binary form must reproduce the above
|
|
# copyright notice, this list of conditions and the following
|
|
# disclaimer in the documentation and/or other materials provided
|
|
# with the distribution.
|
|
# * Neither the name of Google Inc. nor the names of its
|
|
# contributors may be used to endorse or promote products derived
|
|
# from this software without specific prior written permission.
|
|
#
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
[
|
|
[ALWAYS, {
|
|
# Too slow in Debug mode.
|
|
'octane/mandreel': [PASS, SLOW, ['mode == debug', SKIP]],
|
|
# TODO(turbofan): Too slow in debug mode for now.
|
|
'octane/pdfjs': [PASS, ['mode == debug', SKIP]],
|
|
|
|
# Slow tests.
|
|
'kraken/imaging-gaussian-blur': [PASS, SLOW],
|
|
'octane/typescript': [PASS, SLOW],
|
|
'octane/box2d': [PASS, SLOW],
|
|
}], # ALWAYS
|
|
|
|
# Slow variants.
|
|
['variant in [jitless, nooptimization, stress]', {
|
|
# Slow tests.
|
|
'kraken/ai-astar': [PASS, SLOW],
|
|
'kraken/imaging-desaturate': [PASS, SLOW],
|
|
'octane/code-load': [PASS, SLOW],
|
|
'octane/crypto': [PASS, SLOW],
|
|
'octane/gbemu-part1': [PASS, SLOW],
|
|
'octane/pdfjs': [PASS, SLOW],
|
|
'octane/regexp': [PASS, SLOW],
|
|
}],
|
|
|
|
['variant == stress', {
|
|
# Too slow for stress mode.
|
|
'octane/mandreel': [SKIP],
|
|
'octane/typescript': [SKIP],
|
|
|
|
# Too memory hungry on Odroid devices: https://crbug.com/v8/8963
|
|
'kraken/stanford-crypto-ccm': [PASS, ['arch == arm and not simulator_run', SKIP]],
|
|
}],
|
|
|
|
['variant == jitless', {
|
|
# Too slow for jitless mode.
|
|
'octane/zlib': [SKIP],
|
|
}],
|
|
|
|
['gc_fuzzer', {
|
|
# Too slow for gc fuzzing.
|
|
'octane/earley-boyer' : [PASS, SLOW, ['mode == debug', SKIP]],
|
|
'octane/splay': [SKIP],
|
|
'octane/typescript': [SKIP],
|
|
}], # 'gc_fuzzer'
|
|
|
|
['predictable', {
|
|
# https://crbug.com/v8/8537
|
|
'octane/typescript': [SKIP],
|
|
}], # 'predictable'
|
|
|
|
##############################################################################
|
|
['variant == jitless and not embedded_builtins', {
|
|
'*': [SKIP],
|
|
}], # variant == jitless and not embedded_builtins
|
|
]
|