java - Which File contains the Bytecode Instruction Set of the OpenJDK 8 -


i new openjdk8, want locate file(s) bytecode instruction set present used generate bytecode of source .java file.
secondly need basic knowledge of bytecode generation , execution process.

i research student , working on openjdk bytecode. can please guide?

the question seems conflating/mixing number of different things. if creating new bytecode there's several things need do.

  • specify/define bytecode
  • modify compiler generate bytecode
  • modify runtime understand bytecode

the java bytecodes specified in java virtual machine specification. if need define new one, need specify similar degree, though don't have publish there.

the part of java sdk responsible taking java source code , producing java bytecode java compiler (javac). source code openjdk's javac available here. source code eclipse's java compiler available, don't know where.

once have java compiler generating custom bytecode, have teach jvm how interpret it.

the openjdk vm (hotspot) has several components handle executing bytecode. there's more 1 interpreter (that reads , executes bytecode) , multiple just-in-time optimizing compilers read bytecode , (possibly) compile machine code before executing it. source code of them part of hotspot. want limit interpreter , disable compilers initial work. if so, this set of notes explain how hotspot interpreter works.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -