在 2011年12月27日 上午8:58,zhangfx <zhan...@lemote.com> 写道: > > > 于 2011-12-26 23:44, 李晖 写道: >> the patch from hanhua did not work for me right now . >> But by using 64 bit kernel, I can get the shell, by using logcat, I >> found that the dalvik vm did not up, >> >> D/AndroidRuntime(1315): >>>>>>>>>>>>>> Android Runtime START >> D/AndroidRuntime(1315): CheckJNI is ON >> E/dalvikvm(1315): ERROR: unexptcted asm interp size 33152 >> E/dalvikvm(1315): (did an instruction handler execeed 128 byte? >> E/dalvikvm(1315): VM aborting > A java bytecode is interpreted with many native instructions, the > interpreter use 128 byte for each bytecode to save these native > instructions, but in some cases the resulting native codes are more than > 32 so they will take more than 128 byte. Just change 128 to 256 or > something like that will do.
Some code interpreters are larger than 128 bytes. I met this before and I managed to find out which code and replace its asm instructions with the Loongson specific ones to reduce the size. Check my blog for detail. If this isn't work, you will have to increase the space as zhangfx told you. >> >> did any one came across this problem? >> -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.