search
LoginSignup
0

posted at

Java Byte Code

Java Byte Code
Java Virtual Machine
を知るためのリンク

Java class file
https://en.wikipedia.org/wiki/Java_class_file

The class File Format
https://jcp.org/aboutJava/communityprocess/maintenance/jsr924/JVMS-SE5.0-Ch4-ClassFile.pdf

Java bytecode
https://en.wikipedia.org/wiki/Java_bytecode

Java virtual machine
https://en.wikipedia.org/wiki/Java_virtual_machine

List of Java bytecode instructions
https://en.wikipedia.org/wiki/List_of_Java_bytecode_instructions

Java仮想マシン
https://ja.wikipedia.org/wiki/Java%E4%BB%AE%E6%83%B3%E3%83%9E%E3%82%B7%E3%83%B3

■クラスファイルレイアウト
File layout and structure
Sections
There are 10 basic sections to the Java class file structure:

Magic Number: 0xCAFEBABE
Version of Class File Format: the minor and major versions of the class file
Constant Pool: Pool of constants for the class
Access Flags: for example whether the class is abstract, static, etc.
This Class: The name of the current class
Super Class: The name of the super class
Interfaces: Any interfaces in the class
Fields: Any fields in the class
Methods: Any methods in the class
Attributes: Any attributes of the class (for example the name of the sourcefile, etc.)

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
0