3c422d1c5e
The serializer currently cannot handle a heap state containing arbitrary compiled Code objects. As a quick fix for the --stress-snapshot d8 flag, we clear compiled data from the isolate prior to the serialize-deserialize-verify pass. With this change, mjsunit tests pass on x64. The %SerializeDeserializeNow() runtime function would require more work, since it is not possible to mutate the heap to this extent while still preserving a runnable host context and isolate. We will need another solution there. Drive-by: Skip the stress_snapshot variant except for the mjsunit suite. Tbr: machenbach@chromium.org Bug: v8:10493,v8:10416 Change-Id: Ie110da8b51613fcd69c7f391d3cf8589d6b04dd8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2182429 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#67585}
91 lines
3.2 KiB
Plaintext
91 lines
3.2 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],
|
|
}],
|
|
|
|
['variant == stress_incremental_marking', {
|
|
# Too slow for stress_incremental_marking.
|
|
'octane/box2d': [SKIP],
|
|
'octane/typescript': [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 == stress_snapshot', {
|
|
'*': [SKIP], # only relevant for mjsunit tests.
|
|
}],
|
|
|
|
]
|