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

Properly handle BEAM files without the "Type" chunk #7616

Conversation

bjorng
Copy link
Contributor

@bjorng bjorng commented Sep 1, 2023

When a BEAM file lacks a "Type" chunk, a default any type is set up, but all fields in the type was not initialized, which could lead to the JIT removing type tests when it was not safe to do so.

When a BEAM file lacks a "Type" chunk, a default `any` type is
set up, but all fields in the type was not initialized, which
could lead to the JIT removing type tests when it was not safe
to do so.
@bjorng bjorng added team:VM Assigned to OTP team VM fix testing currently being tested, tag is used by OTP internal CI labels Sep 1, 2023
@bjorng bjorng self-assigned this Sep 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2023

CT Test Results

       3 files     133 suites   1h 3m 35s ⏱️
1 557 tests 1 505 ✔️ 51 💤 1
1 980 runs  1 909 ✔️ 70 💤 1

For more details on these failures, see this check.

Results for commit c42b16a.

♻️ This comment has been updated with latest results.

@bjorng bjorng merged commit db5c0aa into erlang:maint Sep 4, 2023
15 of 17 checks passed
@bjorng bjorng deleted the bjorn/jit/handle-missing-type-info/GH-7492/OTP-18745 branch September 4, 2023 06:09
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 testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant