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

Do not call jl_set_typeof on initialized value. #16261

Merged
merged 1 commit into from
May 8, 2016

Conversation

yuyichao
Copy link
Contributor

@yuyichao yuyichao commented May 8, 2016

This is one of the most unsafe thing one can do to the GC. (Yes, in this case the type layout is compatible and the value isn't visible to the GC yet but this usage can easily break due to minor changes in the code....)

Ref b3cc1a4#diff-4487cf24854d3caa595fc78061793550R235 luckily this is not necessary anymore..

@yuyichao
Copy link
Contributor Author

yuyichao commented May 8, 2016

AppVeyor failure is #15920

@yuyichao yuyichao merged commit 08118fc into master May 8, 2016
@yuyichao yuyichao deleted the yyc/do-not-change-type branch May 8, 2016 16: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.

1 participant