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

Re-land "Fix serialization of code instances." #46939

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Sep 28, 2022

Re-lands #46373
Fixes #46296

If they are encountered in a Julia object directly, as opposed to
e.g. during serialization of a method instance, we'll have first
populated the backref table as part of jl_serialize_value, so we
need to skip that check during code instance serialization.
@timholy
Copy link
Member

timholy commented Sep 28, 2022

To explain, the difference from the original appears to be UInt vs UInt64.

@DilumAluthge DilumAluthge added the re-land This relands a PR that was previously merged but was later reverted. label Sep 28, 2022
@maleadt
Copy link
Member Author

maleadt commented Sep 28, 2022

To explain, the difference from the original appears to be UInt vs UInt64.

Yes, sorry for not mentioning that. The issue was just a bad test.

CI failure (a GC segfault during linalg tests) seems unrelated.

@DilumAluthge
Copy link
Member

a GC segfault during linalg tests

This is #46940, which was introduced by #46880 (which will be reverted by #46951).

@vtjnash vtjnash merged commit e7a5c36 into master Sep 28, 2022
@vtjnash vtjnash deleted the tb/reland_precompile_codeinstances branch September 28, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
re-land This relands a PR that was previously merged but was later reverted.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assertion/hang precompiling code that calls inference with custom AbstractInterpreter
4 participants