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
744fbea7ee
update jemalloc 5.2.0
2019-06-17 10:19:17 +08:00
Cloud Wu
5750b2d5ee
Merge branch 'bugfix'
2019-06-17 09:57:11 +08:00
zixun
e9581adfc4
pass sharedtable match
2019-06-15 16:02:32 +08:00
zixun
6803f45aa1
add sharetable update
2019-06-15 16:02:32 +08:00
lwkienun
8e2facbfb8
fix crash of sharedata by incref before sharedated.monitor return cobj to client.
...
crash occr analise:
1.sharedated.update call many times in a short time(eg:3 times) to change a same name conf value to a->b->c->d.
2.sharedated sending 3 response to monitoring clients。a->b and b->c and c->d.
3.if b is destroyed and it's memory is reallocated and rewrited when client process the first message a->b, client's call lbox will crash.
solution:
conf b must be keeped before message(a->b) is processed by inc it's ref.
Any return value from host to client must use incref before send to client.
2019-06-15 15:59:37 +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
Cloud Wu
a8c1828786
fix #1011
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
68e94b2792
add sharetable.loadtable
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
2bcc691c4d
add gc service
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
zixun
2d6d2c75a4
fix BIO_read and BIO_write return 0
2019-05-22 18:30:44 +08:00
zixun
194940822e
fix SSL_read and SSL_write return 0
2019-05-22 14:52:45 +08:00
zixun
be590cfa8c
#1016 bugfix SSL_read and SSL_do_handshake
2019-05-21 22:24:37 +08:00
Cloud Wu
6addb504e4
fix #1012
2019-05-15 10:49:19 +08:00
hong
db61ec376a
clustersender tracetag bug
2019-05-07 10:05:06 +08:00
zixun
431feb6f16
bugfix #1007
2019-05-06 14:52:06 +08:00
zixun
2c8d373236
fix use NOUSE_JEMALLOC
2019-05-06 11:17:05 +08:00
Cloud Wu
9b69af0a4d
use tinsert instead of table.insert
2019-05-06 10:29:23 +08:00
Cloud Wu
046fb69f84
bugfix
2019-05-06 10:20:15 +08:00
wudeng
6231f1c884
build jemalloc with --enable-prof
2019-05-03 18:15:07 +08:00
wudeng
35aa00fb13
Add jemalloc heap profilling in debug console
2019-05-01 20:37:48 +08:00
Cloud Wu
4159600fbc
order fork, see #1000
2019-04-28 09:53:52 +08:00
hong
04e2a36c4a
Update service_provider.lua
...
boot成功后的launch消息异常
2019-04-28 00:18:24 +08:00
wudeng
95cb848772
collectgarbage count change to lua 5.3
2019-04-19 19:09:05 +08:00
Cloud Wu
302fc580a5
bugfix
2019-04-18 15:41:24 +08:00
Cloud Wu
3048eed2aa
try to fix #988
2019-04-18 15:41:24 +08:00
云风
e0729a483d
Revert "bugfix:cluster初始化节点的时候有可能导致消息乱序"
...
This reverts commit 9ba0860c70 .
2019-04-18 15:40:22 +08:00