Find out how the J2ME StackMap works in this short article. On J2ME classes, we do pre-verification on the class files, storing information in a stack map about the local variable array and operand stack. We only need to store information in the stack map when there is a conditional statement or exception within the byte-code. Thus, the KVM uses a lot less memory than the typical JVM during Pass 3 verification because the KVM does a linear scan of the byte-code, relying on the stack map for all of the branches. |
You can ping this entry by using http://www.mamlambo.com/mt/mt-tb.cgi/196 .