22 Commits

Author SHA1 Message Date
lyon
bb21c7b7fe support method_proxy for pika_lua 2023-05-14 12:57:24 +08:00
pikastech
11080aa513 add circlequeue.py 2023-04-23 20:55:20 +08:00
pikastech
ce0999ec95 add test for modbus parse error 2023-04-22 13:46:59 +08:00
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
2077880671 fix modbus err 2023-02-23 15:52:44 +08:00
lyon
16695292a1 fix ci 2023-02-22 09:57:16 +08:00
lyon
e1fb488b29 add test for socket_json issue 2023-02-15 11:25:38 +08:00
lyon
165cc7d041 fix thread and socket on freertos
use pikaMalloc/Free inner platform_thread()

socket multithread test passed on linux

update

improve fast_test.sh
2023-02-14 19:37:30 +08:00
lyon
cd0029b6d1 fix modbus panic when decode faild 2023-02-10 11:07:25 +08:00
lyon
73b9effffd fix suger_multiassin inner def or class 2023-01-30 01:47:18 +08:00
pikastech
766c9bf7c9 add test_purec.h to support run unittest on purec 2022-10-28 18:39:50 +08:00
lyon
bcf4c637a7 add test for REPL run file 2022-10-25 19:49:45 +08:00
lyon
5180f2d807 fix cfg.getchar name conflict 2022-10-25 14:32:43 +08:00
lyon
581281ff8e add stdtask test on REPL 2022-10-25 13:54:21 +08:00
lyon
d0df040067 support unittest for REPL, check overflow for REPL 2022-10-25 11:52:42 +08:00
pikastech
713a755459 test ok, rm @p not ok 2022-10-15 19:02:36 +08:00
pikastech
9ea03893b6 optimize speed for native method index
add prof.sh in ci_benchmark
2022-10-15 10:04:45 +08:00
pikastech
6a9535470b support mod1 import mod2 import mod1 2022-10-02 16:29:48 +08:00
pikastech
6eb499dd5f fix callbck write object.attr 2022-09-27 10:25:26 +08:00
pikastech
917aa71e70 fix issue_global.py 2022-09-26 22:02:26 +08:00
pikastech
75d6f97823 move test to top 2022-09-26 21:47:52 +08:00