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

Only dlload sysimg in one place #10270

Merged
merged 1 commit into from
Feb 23, 2015
Merged

Conversation

ihnorton
Copy link
Member

fixes #10111

@vtjnash
Copy link
Member

vtjnash commented Feb 22, 2015

there's too much code duplication between jl_get_system_image_cpu_target and jl_restore_system_image, since they must be exactly the same.

this if-branch should be written to only affect windows builds

@ihnorton ihnorton changed the title Check isdebugbuild() before loading sysimg_handle Only dlload sysimg in one place Feb 22, 2015
@ihnorton
Copy link
Member Author

Alright, refactored a little bit so there is only one call to load the sysimage. It's still hard to follow but I'm not sure how to get around the ordering requirements.

Lightly refactor to make this somewhat more maintainable.
fixes JuliaLang#10111
@JeffBezanson
Copy link
Member

+1

ihnorton added a commit that referenced this pull request Feb 23, 2015
Only dlload sysimg in one place
@ihnorton ihnorton merged commit 3cbb8be into JuliaLang:master Feb 23, 2015
@ihnorton ihnorton deleted the fix10111 branch February 23, 2015 03:14
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.

julia-debug.exe segfaults during spawn test ever since #9266
3 participants