Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I'm curious about what ldc short for in JVM?

Tags:

jvm

bytecode

ByteCode:ldc pushes a one-word constant onto the operand stack. ldc takes a single parameter, , which is the value to push.

Most of the bytecodes in JVM can figure out their name by the code description. However, the ldc, I don't see any clue.

like image 374
W.Zhe Avatar asked Feb 01 '15 14:02

W.Zhe


People also ask

What is LDC in Java?

ByteCode:ldc pushes a one-word constant onto the operand stack. ldc takes a single parameter, , which is the value to push. Most of the bytecodes in JVM can figure out their name by the code description.

Which is byte code in Java?

What Is the Bytecode? Bytecode is the intermediate representation of a Java program, allowing a JVM to translate a program into machine-level assembly instructions. When a Java program is compiled, bytecode is generated in the form of a . class file.


1 Answers

I suppose it is LoaD Constant but I do not have any reference.

like image 58
Stilgar Avatar answered Nov 08 '22 23:11

Stilgar