https://github.com/JuliaLang/julia
Revision d4f3176913cc9acc7f5135b7ae5fce44e1d992a7 authored by Keno Fischer on 02 August 2019, 22:19:17 UTC, committed by Keno Fischer on 03 August 2019, 02:59:43 UTC
Finding the missing GC root is really hard for the checker. The correct
error message is on the store to newargs, complaining that we are rooting
a value that may have been GC'ed. However, `newargs` gets moved around
and re-assigned all over that place in such a way that the analyzer has
a hard time tracking it (I've seen it be successful if that function
is cut down a bit, so it might also be a heuristics problem). By
introducing a fake use that is easier for the analyzer to reason about,
hopefully we can catch regressions to this particular (very hairy)
part of the code in the future.
1 parent de324af
History
Tip revision: d4f3176913cc9acc7f5135b7ae5fce44e1d992a7 authored by Keno Fischer on 02 August 2019, 22:19:17 UTC
Make a missing GC root slightly more obvious to the checker
Tip revision: d4f3176
File Mode Size
.github
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 67 bytes
.gitignore -rw-r--r-- 257 bytes
.mailmap -rw-r--r-- 11.0 KB
.travis.yml -rw-r--r-- 6.1 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 21.2 KB
HISTORY.md -rw-r--r-- 258.4 KB
LICENSE.md -rw-r--r-- 5.1 KB
Make.inc -rw-r--r-- 40.0 KB
Makefile -rw-r--r-- 28.1 KB
NEWS.md -rw-r--r-- 5.9 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 12 bytes
sysimage.mk -rw-r--r-- 3.8 KB

README.md

back to top