码迷,mamicode.com
首页 > 其他好文 > 详细

Gen代码解读

时间:2018-07-31 11:04:50      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:end   tor   line   test   ref   java   frame   icmp   and   

 

 

public class com.test19.Test04
  SourceFile: "Test04.java"
  minor version: 0
  major version: 51
  flags: ACC_PUBLIC, ACC_SUPER
Constant pool:
   #1 = Methodref          #3.#12         //  java/lang/Object."<init>":()V
   #2 = Class              #13            //  com/test19/Test04
   #3 = Class              #14            //  java/lang/Object
   #4 = Utf8               <init>
   #5 = Utf8               ()V
   #6 = Utf8               Code
   #7 = Utf8               LineNumberTable
   #8 = Utf8               spin
   #9 = Utf8               StackMapTable
  #10 = Utf8               SourceFile
  #11 = Utf8               Test04.java
  #12 = NameAndType        #4:#5          //  "<init>":()V
  #13 = Utf8               com/test19/Test04
  #14 = Utf8               java/lang/Object
{
  public com.test19.Test04();
    flags: ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
         0: aload_0
         1: invokespecial #1                  // Method java/lang/Object."<init>":()V
         4: return
      LineNumberTable:
        line 3: 0

  void spin();
    flags:
    Code:
      stack=2, locals=2, args_size=1
         0: iconst_0
         1: istore_1
         2: iload_1
         3: bipush        100
         5: if_icmpge     14
         8: iinc          1, 1
        11: goto          2
        14: return
      LineNumberTable:
        line 7: 0
        line 10: 14
      StackMapTable: number_of_entries = 2
           frame_type = 252 /* append */
             offset_delta = 2
        locals = [ int ]
           frame_type = 11 /* same */

}

  

 

Gen代码解读

标签:end   tor   line   test   ref   java   frame   icmp   and   

原文地址:https://www.cnblogs.com/extjs4/p/9393888.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!