本文介绍了扩展宽度的Dalvik字节codeS上杰利贝恩失踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ICS出来的时候,有几个新的扩展宽度的字节codeS出台。其中大部分是用于指示支持巨型标识。下面是其中的一些新的指令,从我的ICS /达尔维克/ OP code-GEN /字节code.txt采取:

When ICS came out, there were several new extended-width bytecodes introduced. Most of these were for instructions to support jumbo ids. Here are some of these new instructions, taken from my ics/dalvik/opcode-gen/bytecode.txt:

#
# Extended-width opcodes
#

op 00ff const-class/jumbo           41c  y type-ref      continue|throw
op 01ff check-cast/jumbo            41c  n type-ref      continue|throw
op 02ff instance-of/jumbo           52c  y type-ref      continue|throw
op 03ff new-instance/jumbo          41c  y type-ref      continue|throw
op 04ff new-array/jumbo             52c  y type-ref      continue|throw
op 05ff filled-new-array/jumbo      5rc  n type-ref      continue|throw
op 06ff iget/jumbo                  52c  y field-ref     continue|throw
...

然而,在JB code,我找不到这些新的字节codeS任何引用。在我的字节codes.txt的软糖版本,最后运code在0xFE的结尾:

However, on the JB code, I can't find any reference to these new bytecodes. In my jellybean version of bytecodes.txt, the last opcode ends in 0xfe:

op   fc +iput-object-volatile       22c  n field-ref     optimized|continue|throw
op   fd +sget-object-volatile       21c  y field-ref     optimized|continue|throw
op   fe +sput-object-volatile       21c  n field-ref     optimized|continue|throw

# unused: op ff

难道这些新指令不支持软糖?

Are these new instructions not supported on JellyBean?

另外,我甚至不能似乎找到豆形软糖中原来的Dalvik字节code文档。这是我的Dalvik / docs文件夹的目录清单:

Also, I can't even seem to find the original dalvik bytecode documentation in jellybean. This is the dir listing of my dalvik/docs folder:

$ ls -a dalvik/docs | cat
.
..
dalvik-constraints.css
dalvik-constraints.html
debugger.html
debugmon.html
dexopt.html
embedded-vm-control.html
heap-profiling.html
hello-world.html
java-bytecode.css
java-bytecode.html
java-constraints.css
java-constraints.html
porting-guide.html
porting-proto.c.txt
prettify.css
prettify.js
verifier.html

或者,也许,我只是在错误的分支下载?我使用的是JB-4.1.1_r4分支。

Or, maybe, I just downloaded from the wrong branch? I'm using the jb-4.1.1_r4 branch.

推荐答案

我实现这些新指令的 DX 侧离开谷歌之前,但它们的运行时身边有尚未完成。我想没有人完成的工作,但单独留在家中的规范文档。

I implemented the dx side of these new instructions before leaving Google, but the runtime side of them had yet to be done. I guess nobody ever finished the work, but left the spec docs alone.

这篇关于扩展宽度的Dalvik字节codeS上杰利贝恩失踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-09 20:50