mirror of https://github.com/koreader/koreader
disable jit on some modules on android
to make koreader on Android more stable and with these opt params: ``` require("jit.opt").start("sizemcode=64","maxmcode=64", "hotloop=10000") ``` The strategy here is that we only use precious mcode memory (jitting) on deep loops like the several blitting methods in blitbuffer.lua and the pixel-copying methods in mupdf.lua. So that a small amount of mcode memory (64KB) allocated when koreader is launched in the android.lua is enough for the program and it won't need to jit other parts of lua code and thus won't allocate mcode memory any more which by our observation will be harder and harder as we run koreader.pull/1947/head
parent
503b2073ce
commit
f3e0d44cc4
@ -1 +1 @@
|
|||||||
Subproject commit caca2fd844d90a4828f60c7bb1003702d4936472
|
Subproject commit e3560e777558efbb1dc913250024afa7ecb40868
|
Loading…
Reference in New Issue