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

[release-0.5] fix type stability of unrelated function after precompile #18869

Merged
merged 5 commits into from
Nov 4, 2016

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 11, 2016

(this bug also exists on master, but in a different form so it needs a different fix there)

@vtjnash
Copy link
Member Author

vtjnash commented Oct 12, 2016

I assume @tkelman will merge this when he wants it (since it is directly targeting the release-0.5 branch)

@tkelman
Copy link
Contributor

tkelman commented Oct 12, 2016

I'll want to run pkgeval, make sure it doesn't break anything. And figure out what's wrong on osx travis...

@kshyatt kshyatt added compiler:precompilation Precompilation of modules bugfix This change fixes an existing bug labels Oct 12, 2016
with -O0 builds, the number of local variables quick blows out the available stack space
pushing these into separate functions helps cut down on the stack requirement in such cases

this is perhaps just a stopgap measure to rewriting the serializer to be
faster, non-recursive, and non-allocating

(cherry picked from commit b4d49e5, PR #18811)
…at don't dominate the subtype signature of their method definition

(cherry picked from commit f6db1cc, PR #18979,
and commit 3b33217)
…inished

for example, computing subtypes might construct one of the types that we are trying to later unique
and mess up on that logic

also be more permissive of type-intersection failures in jl_recache_method_instance

(cherry picked from commit 39afcc3, PR #19029)
@tkelman
Copy link
Contributor

tkelman commented Nov 4, 2016

I'll run pkgeval in a separate PR and ping you if it turns out this causes any issues.

@tkelman tkelman merged commit 8da61fe into release-0.5 Nov 4, 2016
@tkelman tkelman deleted the jn/release-0.5-infer-precompile branch November 4, 2016 07:58
@iamed2
Copy link
Contributor

iamed2 commented Nov 8, 2016

This broke Atom.jl (and thus Juno):
#19272
http://discuss.junolab.org/t/error-loading-atom-package/1027/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug compiler:precompilation Precompilation of modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants