云风
eaa60ca8dd
Update to lua 5.4 ( #1174 )
...
* update to lua 5.4.0-rc1
* remove LUA_ERRGCMM
* use age bits for shared
* remove unused lbitlib.c
* use luaV_fastget
* fix #1174
* suspend函数tailcall优化
* 防止没有session导致未调用suspend
* luaH_setint check shared (#1184 )
* set LUA_GCGEN by default
* fix #1174 (#1186 )
checkshared in sweeplist
* update to lua 5.4 rc2
* update to lua 5.4 rc4
* move skynet.profile into snlua
* Use lua_sethook to interrupt tight loops
* remove lua_checksig
* critical condition for signals
* update to lua 5.4 released
* lua 5.4 bugfix
* update lua bugfix
* fix lua_sharestring (#1224 )
* update lua
* update lua 5.4
* update README
* add skynet.select
* add test
* test error & discard
* yield session
* request error has no error message
* add timeout to skynet.select
* bugfix
* for lua 5.4
* new version
* bugfix
* bugfix
* use if instead of while
* make local
* yield in select for
* update lua 5.4.1
* change lua version (#1245 )
Co-authored-by: xiaojin <xiaojin@onemt.com.cn >
* update lua version number
Co-authored-by: hong <hongling0@gmail.com >
Co-authored-by: hong <hongling-0@qq.com >
Co-authored-by: 风---自由 <996442717qqcom@gmail.com >
Co-authored-by: xiaojin <xiaojin@onemt.com.cn >
2020-10-10 13:36:59 +08:00
hong
21b1c449de
luaH_set check shared table
2019-09-21 15:59:23 +08:00
Cloud Wu
e4224137f1
fix #1078
2019-08-28 20:19:15 +08:00
Cloud Wu
89f487e0a4
bugfix: init the lock of code cache at start
2019-07-02 23:08:54 +08:00
Cloud Wu
10fd5791f7
dec id would be better
2019-06-25 10:01:19 +08:00
Cloud Wu
5d26fb3f18
remove ssm and add string id
2019-06-25 10:01:19 +08:00
hong
7032f21d18
bugfix Proto is gcobject
2019-06-18 10:41:33 +08:00
Cloud Wu
c80b462412
remove l_G from Proto
2019-06-18 10:41:33 +08:00
Cloud Wu
6f0e88dc59
bugfix, See issue #1027
2019-06-15 00:37:42 +08:00
Cloud Wu
5a0f68999e
fix #1032
2019-06-14 11:04:20 +08:00
Cloud Wu
24b333a5e9
add api lua_sharestring
2019-06-13 20:01:10 +08:00
Cloud Wu
b45384cc9f
short string in matrix should be in fixed set
2019-06-13 17:55:45 +08:00
Cloud Wu
7fed938593
mark all short string shared, see #1027
2019-06-13 16:58:57 +08:00
Cloud Wu
ca4f549f0d
free all objects in matrix
2019-06-13 14:55:57 +08:00
hong
a04e6b5b29
lua_checksig LUA_CACHELIB
2019-06-10 15:11:51 +08:00
hong
82f3e80e06
collectref的时候减少nuse
2019-06-10 15:11:51 +08:00
hong
9ffa0c6e30
markref冲突时候刷新 cache
2019-06-10 15:11:51 +08:00
hong
64d99c1bd5
nuse计数错误
2019-06-10 15:11:51 +08:00
hong
da87df6b86
有概率出现total为0的时候garbage不为0的情况
2019-06-10 15:11:51 +08:00
hong
fafc4cad34
do not makeshared to LUA_TSHRSTR
2019-06-10 15:11:51 +08:00
hong
1b60c522b0
字符串引用计数BUG
2019-06-10 15:11:51 +08:00
hong
ff9b0538a4
Reserve SHAREDBIT in GC
2019-06-10 15:11:51 +08:00
hong
bed5f878dc
use ttnov in shareproto
2019-06-10 15:11:51 +08:00
hong
505da68cb6
Should not link shared table to gray
2019-06-10 15:11:51 +08:00
Cloud Wu
e3c5d63a97
setmetatable raise error
2019-06-10 15:11:51 +08:00
Cloud Wu
3a0981661c
don't use SSM.garbage
2019-06-10 15:11:51 +08:00
Cloud Wu
47d1047004
sweep garbage strings
2019-06-10 15:11:51 +08:00
Cloud Wu
76b166f04a
Add new sharetable
2019-06-10 15:11:51 +08:00
Cloud Wu
2ceb642b5d
rewrite SSM and clonefunction
2019-06-10 15:11:51 +08:00
Cloud Wu
046fb69f84
bugfix
2019-05-06 10:20:15 +08:00
hong
4c17005c03
优化SSM查询
2019-04-17 17:46:05 +08:00
Cloud Wu
fbd932e846
OOM check
2019-04-03 11:29:37 +08:00
Cloud Wu
8e8a92ca2d
overflow check
2019-04-03 11:15:33 +08:00
Cloud Wu
6ab841beec
turn on SSM during lua_load
2019-04-03 10:17:20 +08:00
Cloud Wu
6f40120ad8
expand SSM during loadfile
2019-04-02 20:47:27 +08:00
Cloud Wu
f8d55affba
use sign n for SSM
2019-04-02 19:32:44 +08:00
Cloud Wu
56d24f46d6
overflow check
2019-04-02 19:15:35 +08:00
Cloud Wu
64e0c4daff
calc variance
2019-04-02 19:15:35 +08:00
Cloud Wu
5bf635c75c
SSM expanding
2019-04-02 19:15:35 +08:00
zixun
3c6c0f7aa4
bugfix #976 long string instead of global seed
2019-03-28 21:21:44 +08:00
Cloud Wu
3f38a711ad
Shared K
2019-03-14 09:54:40 +08:00
Cloud Wu
ea7c6402dd
update lua to 5.3.5
2018-07-10 22:11:56 +08:00
Cloud Wu
294f557268
lua 5.3.4 bug report 6
2018-05-17 12:03:03 +08:00
Cloud Wu
100329f09f
official lua bugfix
2017-09-04 16:23:19 +08:00
Cloud Wu
932ebfa0fd
lua bugfix
2017-08-28 16:06:05 +08:00
Cloud Wu
525279e9dd
lua bugfix, see http://lua-users.org/lists/lua-l/2017-08/msg00065.html
2017-08-24 10:50:36 +08:00
Cloud Wu
a504c5e624
lua 5.3.4 bugfix
2017-05-08 15:07:00 +08:00
Cloud Wu
4b2efd4785
add debug info to lua
2017-05-03 13:42:13 +08:00
Cloud Wu
ad36be1bd7
bugfix: http://lua-users.org/lists/lua-l/2017-04/msg00045.html
2017-04-20 11:26:22 +08:00
Cloud Wu
af6b5609de
add checksig in OP_FORLOOP, see issue #568
2017-01-23 16:50:34 +08:00