Skip to content
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

compiler destructive update: Patch every element of a list #8730

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

frej
Copy link
Contributor

@frej frej commented Aug 16, 2024

The initial value tracker in the destructive update pass could sometimes fail to ensure that a term which was destructively updated was forced onto the heap as it did not have a way to easily follow list tails. This patch corrects that error by ensuring that if the first element of a literal list is forced onto the heap, all elements of the list will be forced onto the heap.

The initial value tracker in the destructive update pass could
sometimes fail to ensure that a term which was destructively updated
was forced onto the heap as it did not have a way to easily follow
list tails. This patch corrects that error by ensuring that if the
first element of a literal list is forced onto the heap, all
elements of the list will be forced onto the heap.
Copy link
Contributor

github-actions bot commented Aug 16, 2024

CT Test Results

    2 files    324 suites   11m 29s ⏱️
  817 tests   815 ✅ 2 💤 0 ❌
5 420 runs  5 418 ✅ 2 💤 0 ❌

Results for commit dadf00b.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@bjorng bjorng self-assigned this Aug 16, 2024
@bjorng bjorng added team:VM Assigned to OTP team VM fix labels Aug 16, 2024
@bjorng
Copy link
Contributor

bjorng commented Aug 16, 2024

Thanks! Added to our daily builds for maint-27 and maint.

@bjorng
Copy link
Contributor

bjorng commented Aug 19, 2024

Merged manually to maint, and merged forward to master. This pull request will automatically closed when we release the next patch.

@proxyles proxyles merged commit c590a2c into erlang:maint-27 Sep 18, 2024
17 checks passed
@frej frej deleted the frej/destructive-update-fix branch September 30, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants