lean4-htt/src/runtime
Leonardo de Moura 106adb09b9 fix: simplify allocator
Do not move segments between heaps.
We found yet another bug due to this "feature".
The crash is reported here:
https://gist.github.com/semorrison/490496060bbcfa8ea635f3d7be1ac824

@Kha summarized the "root of the evil" as:
using per-heap import lists while segments can be exchanged between heaps doesn't seem compatible.

This is the second bug due to this design decision.
We had fixed one here:
2283ebc5e9/src/runtime/alloc.cpp (L257-L269)

This commit fixes both issues by removing the segment exchange feature.
2021-10-05 16:58:20 -07:00
..
alloc.cpp fix: simplify allocator 2021-10-05 16:58:20 -07:00
alloc.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
allocprof.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
allocprof.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
apply.cpp chore: placate GCC 2021-09-23 16:31:41 +02:00
apply.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
array_ref.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
buffer.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
CMakeLists.txt chore: CI: build macOS without nix-shell 2021-09-16 21:33:56 +02:00
compact.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
compact.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
debug.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
debug.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
exception.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
exception.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
flet.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
hash.cpp chore: move runtime implementation to src/runtime 2020-05-22 14:35:16 -07:00
hash.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
init_module.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
init_module.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
int64.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
interrupt.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
interrupt.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
io.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
io.h feat: add missing APIs 2021-09-11 15:39:11 -07:00
lean_inlines.c chore: add missing file 2021-07-09 11:00:58 +02:00
list_ref.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
memory.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
memory.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
mpq.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
mpq.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
mpz.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
mpz.h feat: add missing APIs 2021-09-11 15:39:11 -07:00
object.cpp perf: reuse idle thread in favor of spawning new one 2021-09-25 07:34:12 -07:00
object.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
object_ref.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
object_ref.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
option_ref.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
optional.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
pair_ref.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
platform.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
platform.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
process.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
process.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
sharecommon.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
sstream.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
stack_overflow.cpp fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
stack_overflow.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
stackinfo.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
stackinfo.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
string_ref.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
thread.cpp chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
thread.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
utf8.cpp chore: placate GCC 2021-09-23 16:31:41 +02:00
utf8.h chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00