tinygo/compiler
Ayke van Laethem 655075e5e0 runtime: implement precise GC
This implements the block-based GC as a partially precise GC. This means
that for most heap allocations it is known which words contain a pointer
and which don't. This should in theory make the GC faster (because it
can skip non-pointer object) and have fewer false positives in a GC
cycle. It does however use a bit more RAM to store the layout of each
object.

Right now this GC seems to be slower than the conservative GC, but
should be less likely to run out of memory as a result of false
positives.
2023-01-17 19:32:18 +01:00
..
ircheck all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
llvmutil avr: support ThinLTO 2022-11-18 18:40:38 +01:00
testdata all: store data layout as little endian value 2023-01-17 19:32:18 +01:00
alias.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
asserts.go compiler: add support for new unsafe slice/string functions 2023-01-17 08:38:54 +01:00
atomic.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00
calls.go all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
channel.go compiler: fix stack overflow when creating recursive pointer types 2022-12-22 17:45:05 +01:00
compiler.go compiler: add support for new unsafe slice/string functions 2023-01-17 08:38:54 +01:00
compiler_test.go compiler: add support for new unsafe slice/string functions 2023-01-17 08:38:54 +01:00
defer.go all: add type parameter to *GEP calls 2022-10-19 22:23:19 +02:00
errors.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
gc.go compiler: track the result of string concatenation 2020-04-02 14:04:25 +02:00
goroutine.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
inlineasm.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
interface.go all: remove pointer ElementType calls 2022-10-19 22:23:19 +02:00
interrupt.go all: replace llvm.Const* calls with builder.Create* calls 2022-10-19 22:23:19 +02:00
intrinsics.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
llvm.go runtime: implement precise GC 2023-01-17 19:32:18 +01:00
map.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00
sizes.go compiler: fix unsafe.Sizeof for chan and map values 2022-09-01 03:53:27 +02:00
symbol.go avr: support ThinLTO 2022-11-18 18:40:38 +01:00
syscall.go all: add type parameter to CreateCall 2022-10-19 22:23:19 +02:00
volatile.go all: add type parameter to CreateLoad 2022-10-19 22:23:19 +02:00