10 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
lyon
e2a9489a87 fix tim no found 2023-01-22 23:25:20 +08:00
lyon
3ecb76f3a2 push pika_hal.c 2023-01-18 12:28:53 +08:00
Lyon
ba5f4d56aa fix random, enhance platfom 2023-01-14 15:36:16 +00:00
lyon
79df1cf1cc move PikaStdDevice.Time to time 2023-01-09 20:35:22 +08:00
pikastech
766c9bf7c9 add test_purec.h to support run unittest on purec 2022-10-28 18:39:50 +08:00
pikastech
201953c15c fix config name 2022-09-28 12:31:05 +08:00
pikastech
d63d50a322 use pika_float to support switch for float/double
update pre-comp

update pre-win
2022-09-28 11:54:10 +08:00
pikastech
75d6f97823 move test to top 2022-09-26 21:47:52 +08:00