Revision 4aef920cacec3a7c65d40c1ad5b529ac43229920 authored by Chris Foster on 06 April 2020, 06:50:02 UTC, committed by Chris Foster on 06 April 2020, 09:17:27 UTC
Here we introduce an explicit codeinfo_ver version number to track the
CodeInfo struct. Core.CodeInfo has seen multiple changes between Julia
versions and the addition of the hide_in_stacktrace flag is not possible
to detect via the types which exist in the serialized stream.

To solve this problem and to avoid backward compatibility code becoming
more convoluted and hard to maintain in the future, it seems simplest to
introduce an Int32 version flag which should be a single byte of
overhead.

An alternative which was considered was to rely on the value of the
header ser_version. However, this would need to be somehow stored with
any user-defined subtype of AbstractSerializer which would be a API
breaking change.
1 parent 9cde595
History
File Mode Size
.devcontainer
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 273 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-- 19.9 KB
HISTORY.md -rw-r--r-- 275.7 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 41.4 KB
Makefile -rw-r--r-- 27.0 KB
NEWS.md -rw-r--r-- 7.7 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.8 KB

README.md

back to top