8 Commits

Author SHA1 Message Date
pikastech
7f5edaf090 add objCnt
ready to check where enable the mark_sweep

auto gc with threshold failed, add some assert

more assert about obj alive, dict mark not correct

add pikaGC_try, but cannot run at any time

markSweep crashed on keyword

save gcRoot for obj to debug

add debug point

add kernal_debug config to keep more debug info

use @res_<opt> to mark operation

found self reference on __iter__()

can not fix gc err around iter

remove lock, only keep the self lock

more obj info for debug

only pikaui not pass

only pikaui not pass
2023-03-08 09:35:27 +08:00
lyon
38388625ca support mark-sweep gc
change project name and url on kernal sources

rename global Value

format name

use g_PikaObjState

add gc chain

add gc_mark()

add printCanFree

add sub locals init

try use mark-sweep to solve circle-ref

use mark sweep to collect circle ref succeed

import mark-sweep GC

config_default

update
2023-03-05 12:57:27 +08:00
pikastech
7f1d1a01f2 adding purec test 2022-10-28 19:19:31 +08:00
pikastech
766c9bf7c9 add test_purec.h to support run unittest on purec 2022-10-28 18:39:50 +08:00
pikastech
3f9195f89d optimize speed for obj_getObjDirect
optimize speed for arg_append
2022-10-09 13:40:56 +08:00
pikastech
72aa1f8f95 fix test 2022-10-09 00:24:33 +08:00
pikastech
126a817d49 add cache for arg_alloc/free, cache for 6.56% 2022-10-08 18:06:43 +08:00
pikastech
75d6f97823 move test to top 2022-09-26 21:47:52 +08:00