What does the `Stack=1, Locals=1, Args_size=1` Mean in Java Bytecode?

后端 未结 1 456
生来不讨喜
生来不讨喜 2021-01-27 14:30

I made a simple class to learn how to read Java byte code. What does the line

Stack=1, Locals=1, Args_size=1

mean in the folloiwng code?

<
相关标签:
1条回答
  • 2021-01-27 15:13

    It means you have one argument (the object to be initialised), one local variable (the object to be initialised) and at most one object on the stack (the object to be intialised)

    0 讨论(0)
提交回复
热议问题