liu
|
1724d3e2af
|
opt: optimize decode slice (#409)
|
2023-05-18 20:07:41 +08:00 |
|
Yi Duan
|
e7ac2f25fc
|
feat: more complete function loader (#354)
* follow complete implementation of go symtab
* support go1.20
|
2023-02-08 14:35:00 +08:00 |
|
Yi Duan
|
f421ee8530
|
fix:(encoder) pass pv through compiler recursively (#336)
* pass pv
* test reflect indirect
* fix: pass `pv` throught compiler recursively
|
2022-12-13 14:26:58 +08:00 |
|
liu
|
6deed01a90
|
opt: reduce memory pool size (#302)
* fix: reduce state stack size
* fix types
* opt: shrink encoder stack size
* opt: reduce decoder stack size
* add bench.py loops
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2022-10-28 16:40:14 +08:00 |
|
Yi Duan
|
fcfe1c4317
|
fix:(encoder) keep arguement buf alive (#166)
|
2021-12-31 17:15:35 +08:00 |
|
liu
|
1443eb3bcf
|
fix: move large-size local array to _Stack (#162)
* fix: move large-size local array to _Stack
* fix: adjust jsonstate and add alwaysinline
* fix: initialize types.JsonState's dbuf at prologue
* fix: replace `always_inline` with `inline`
* fix: remove unused types
* feat: update asm2asm
* fix: check stack size befor call JIT function
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-12-30 14:51:23 +08:00 |
|
Yi Duan
|
22229eefc3
|
fix: relocate stack pointers (#156)
* fix: relocate stack pointer _VAR_sv to keep it alive
* fix: add stack pointer _VAR_vk to defend `encoding.TextUnmarshaler`
* fix: align faker func's stack with JIT func's
* fix: clear _Stack memory when err returned
* fix: clear stack pointer before return
* fix: relimit stack-overflow check at `_ValueDecoder`
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-12-20 16:19:12 +08:00 |
|
Yi Duan
|
d2711a6af0
|
fix: use global var _KeepAlive to notice GC in shadow funcs (#145)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-12-02 11:08:40 +08:00 |
|
liu
|
49fc705341
|
feat: Pretouch recursively for large/deep struct (#137)
|
2021-11-26 14:12:51 +08:00 |
|
Yi Duan
|
43e4a00e90
|
fix: add gc_write_barrier checks (#131)
* fix: add gcWriteBarrier for decode
* add gcWriteBarrier for encoder
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-11-17 11:21:20 +08:00 |
|
Yi Duan
|
ba4c2d2e55
|
fix: set _Stack.sp zero whenever put into pool (#132)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-11-15 14:41:04 +08:00 |
|
Yi Duan
|
442ce696fb
|
fix: use stackmap of shadow func as jit func's (#127)
* fix: use stackmap of shadow func as jit func's
* fix: use LoadWithFaker in decoder
* fix: LoadWithFaker support go115
* add 'runtime.' prefix on jit funcname to prevent preempt
* add parallel GC tests
* remove no_stack_pointer()
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
|
2021-11-09 11:50:40 +08:00 |
|
chenzhuoyu
|
514208a4d5
|
fix: potential ProgramCache OOM under high-load
|
2021-09-09 14:35:01 +08:00 |
|
chenzhuoyu
|
d2e150948a
|
fix: unmarshalers are always addressable
|
2021-09-06 16:53:51 +08:00 |
|
duanyi.aster
|
f519f80384
|
fix: truely copy _ProgramMap when RCU write
|
2021-07-14 01:31:58 +08:00 |
|
chenzhuoyu
|
955ab75cf5
|
fix: return error on stack overflow instead of panicking
|
2021-06-24 12:52:31 +08:00 |
|
chenzhuoyu
|
85a0d4219f
|
feat: rewrite the generic decoder in assembly
|
2021-06-21 11:34:18 +08:00 |
|
chenzhuoyu
|
34fa8d64a8
|
feat: CPU feature detection support
|
2021-06-10 17:14:25 +08:00 |
|
chenzhuoyu
|
fbe0828190
|
chore: make it open-source
|
2021-05-28 23:58:58 +08:00 |
|