Questions about the JVM .class bytecode format or instruction set.
Questions tagged [jvm-bytecode]
188 questions
0
votes
1 answer
How to interprete this disassembled line by using dedexer?
The following is snipcode disassembled using dedexer on a android market app, in the invoke-virtual, I don't understand what can the original Java code be:
invoke-virtual…
user618815
-1
votes
1 answer
What does `at ReturnAddress` mean in JVM?
I'm reading JVMS, §2 The Structure of The Java Virtual Machine.
2.3.3. The returnAddress Type and Values
I have some questions here. What is the returnAddress?
Is returnAddress the address of the previous frame?
Can anyone explain that…

user9214779
- 309
- 2
- 8
-1
votes
1 answer
Java 11 class file specification
I am trying to find the class file specification for Java 11 in order to find the differences between 11 and 8 LTS versions.
I have found it for Java versions 8, 9 and 10, but not for 11:…

lol pol
- 17
- 5
-1
votes
1 answer
Creating a char array results in an Object in java bytecode
I've hit kind of a wall, trying to write a simple compiler in Java, using ASM. Basically, I am trying to add strings of characters together, and cannot work out why my code fails to do so. The problem lies with how the following lines of code…

Luke Sykpe
- 311
- 1
- 11
-1
votes
4 answers
Memory Allocation in Java for Parameters
Would the data in the following statement be stored as automatic memory allocation, or dynamic memory allocation or both
myFunction(new MyClass());
Thank You!

Anonymous Dodo
- 261
- 3
- 17
-2
votes
1 answer
Bytecode size of with brackets vs without brackets in Java
Which has a larger bytecode size or the same in Java?
if (a > b) a = b;
vs
if (a > b) {
a = b;
}

webelf000
- 147
- 9
-2
votes
2 answers
Compile Java instruction set (bytecode) to binary .class file
I'm facing a problem that I think I'm not using the right terms to search for a solution.
So, I have bytecode in the form of text (String), like below:
public class HelloWorld {
public HelloWorld();
Code:
0: aload_0
1:…
-9
votes
1 answer
In Java, verify all methods in a class path that are called actually exist within that classpath
Given a classpath (e.g. a set of jar files) I would like to know, do any of these jar files make a method call (ignoring reflection) to a method which doesn't exist within the class path.
For example if I had only foo.jar on my class path and it has…

Luke
- 884
- 8
- 21