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

update serializer symbol tables for new IR #27994

Merged
merged 1 commit into from
Jul 12, 2018
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

@JeffBezanson JeffBezanson commented Jul 9, 2018

This hasn't been done since the big IR change, so things have drifted pretty far. This shaves ~10MB off the system image.

Also fix deprecation warnings in the generator script.

jl_symbol("throw_inexacterror"),
jl_symbol("UInt64"),
jl_symbol("/home/jeff/src/julia/usr/share/julia/stdlib/v0.7/LinearAlgebra/src/lapack.jl"),
jl_symbol("checkbounds"),
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should absolute paths be filtered somehow

@quinnj
Copy link
Member

quinnj commented Jul 9, 2018

Does this change the Serialization "world"? I.e. Previously serialized julia structures won't be compatible after this change? Sorry for the ignorance if it's not related, but I think it's good to be loud when a change like that happens.

@JeffBezanson
Copy link
Sponsor Member Author

No, this doesn't affect the Serialization library, only precompiled modules and system images.

Also de-duplicate symbols via Method.roots in IR compression.
Replace gen_sysimg_symtab code with an analysis based on Method.roots lists.
@JeffBezanson JeffBezanson merged commit 6fafd2f into master Jul 12, 2018
@JeffBezanson JeffBezanson deleted the jb/symtabs07 branch July 12, 2018 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants