-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gardening] x64 AOT compilation in debug mode takes very long for co19/LibTest/collection/ListBase/ListBase_class_A01_t02 #54974
Comments
Cancelled after 30 seconds:
BlockEntryInstr* Instruction::GetBlock() {
// TODO(fschneider): Implement a faster way to get the block of an
// instruction. Trace for release (precompilation finishes in 2 seconds.)
|
Likely offending chain:
I wonder what function body triggers this. The compiler seems to freeze after:
After that CPU use drops. When running this in the debugger though, it seems to always be compiling or checking something, and at some point in the future exits. |
FYI: @sstrickl @rmacnak-google @mkustermann Should we consider having a pointer to the surrounding block in every instruction? Or maybe less aggressively running the flow graph checker after every try inlining and only running it after the inlining pass is done? Any other suggestions. |
I think this is a duplicate of #21708 |
Because this is causing deflaking times of up to an hour when deflaking just this single test, and the test is flakily timing-out, I am skipping this test on debug aot with SkipSlow in the co19-runtime.status file. The precompiler takes between 10 and 15 minutes to generate the snapshot. Work on this is being tracked in issue #21708 |
The test LibTest/collection/ListBase/ListBase_class_A01_t02 takes more than 10 minutes to be precompiled in debug mode, due to a known issue. Skipping this test on the CI and CQ because it causes deflaking problems when timing out. The problem is being tracked already in an issue. Bug: #54974 Bug: #21708 Change-Id: Ib05e0f18baac684cf3317dbc2171a5a585e04f98 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/354844 Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
TL;DR:
AOT compilation for x64 in debug mode spends a long time in the inliner and flow graph checker in the specific test
co19/LibTest/collection/ListBase/ListBase_class_A01_t02
.We should consider speeding up the flow graph checker.
=================================
The tests
are failing on configurations
It's also flaking on:
Current results: https://dart-current-results.web.app/#/filter=co19/LibTest/collection/ListBase/ListBase_class_A01_t02&showAll
I'm not sure why the test is timing out, it finishes rather quickly, even in debug mode:
The flakiness is related to timeouts (and one single crash). flakiness dashboard link
Last linux debug x64 hang log:
So it only hangs(?) on x64 and x64c. Only in AOT.
Last seen new results on flakiness dashboard: 2023-04-04 2023-04-05 for linux. So this has been flaky for a while.
I'll try to repro it locally.
Edit: AOT compilation indeed takes very long for this test!
The text was updated successfully, but these errors were encountered: