class thread information

Bytecode data type

  • In the virtual machine instruction set, which contains the majority of the instruction corresponding to the operation
  • Data type information
  • iLoad: int-type data loading from local variable table to the operand stack
  • Most instructions contain the type of information
  • Type, less instruction

Load and store instructions

  • Load and store instructions for data table of local variables and the operand stack in the stack frame of the transmission back and forth,

  • The local variable table is loaded into the operand stack: iload lload fload dload aload
  • Storing a value from operand stack into local variable table: istore: lfda
  • A constant is loaded into the operand stack: bipush sipush ldc ldc_w ldc2_w aconst_null iconst_m1 iconst

  • Expansion of access to the local variable table index instruction: wide

Type Conversion

  • Type conversion instructions may be two different types of conversion values, these conversion operations are generally used to implement the user code display type conversion operation and instruction set for processing bytecode instructions associated data types and data types not correspond The problem

  • The type of treatment and the narrowing of the wide type of treatment
  • L2b i2c i2s l2i

Guess you like

Origin www.cnblogs.com/snail-gao/p/11756545.html