¡@

Home 

java Programming Glossary: iload_1

Fastest way to iterate in Java

http://stackoverflow.com/questions/1006395/fastest-way-to-iterate-in-java

void main java.lang.String Code 0 iconst_0 1 istore_1 2 iload_1 3 aload_0 4 arraylength 5 if_icmpge 23 8 getstatic #2 Field.. java lang System.out Ljava io PrintStream 11 aload_0 12 iload_1 13 aaload 14 invokevirtual #3 Method java io PrintStream.println..

Instructions reordering in Java JVM

http://stackoverflow.com/questions/12554570/instructions-reordering-in-java-jvm

read hash r1 4 istore_1 store r1 in local variable h 5 iload_1 read h 6 ifne 16 compare h with 0 9 aload_0 read this 10.. store 1 into h 13 putfield #6 store 1 into hash w1 16 iload_1 read h 17 ireturn return h In the first example there are..

Java OutOfMemoryError strange behaviour

http://stackoverflow.com/questions/13531004/java-outofmemoryerror-strange-behaviour

goto 12 5 iload_0 6 newarray long 8 astore_2 9 iinc 1 1 12 iload_1 13 iconst_1 14 if_icmplt 5 17 iload_0 18 newarray long 20 astore_1..

Should Java methods be static by default?

http://stackoverflow.com/questions/3346764/should-java-methods-be-static-by-default

... function and it is never used as we can see here 0 iload_1 1 iload_2 2 imul 3 iconst_1 4 iadd 5 ireturn See there's no.. at positions 0 and 1 as we can see here 0 iload_0 1 iload_1 2 imul 3 iconst_1 4 iadd 5 ireturn Conclusion From the code..

Why does this go into an infinite loop?

http://stackoverflow.com/questions/3831341/why-does-this-go-into-an-infinite-loop

throws java.lang.Exception Code 0 iconst_0 1 istore_1 2 iload_1 3 iconst_3 4 if_icmpge 22 7 iload_1 8 iinc 1 1 11 istore_1 12.. iconst_0 1 istore_1 2 iload_1 3 iconst_3 4 if_icmpge 22 7 iload_1 8 iinc 1 1 11 istore_1 12 getstatic #2 Field java lang System.out.. #2 Field java lang System.out Ljava io PrintStream 15 iload_1 16 invokevirtual #3 Method java io PrintStream.println I V 19..

How to convert from int to String?

http://stackoverflow.com/questions/4105331/how-to-convert-from-int-to-string

lang String Ljava lang StringBuilder Append the integer 14 iload_1 15 invokevirtual #6 Method java lang StringBuilder.append I..

Loop counter in Java API

http://stackoverflow.com/questions/4181941/loop-counter-in-java-api

2 0 0 iconst_2 1 istore_1 i 2 2 goto 8 5 inc 1 1 i 1 8 iload_1 9 ifge 5 if i 0 goto 5 2nd for loop increment 0 2 12 iconst_0.. 2 12 iconst_0 13 istore_1 i 0 14 goto 20 17 inc 1 1 i 1 20 iload_1 21 iconst 2 22 if_icmple 17 if i 2 goto 17 The increment decrement..

Why are compiled Java class files smaller than C compiled files?

http://stackoverflow.com/questions/4838221/why-are-compiled-java-class-files-smaller-than-c-compiled-files

is 0 iconst_0 1 istore_0 lo 0 2 iconst_1 3 istore_1 hi 1 4 iload_1 5 sipush 10000 8 if_icmpge 26 while hi 10000 11 iload_1 12 iload_0.. 4 iload_1 5 sipush 10000 8 if_icmpge 26 while hi 10000 11 iload_1 12 iload_0 13 iadd 14 istore_1 hi hi lo 15 iload_1 16 iload_0.. 11 iload_1 12 iload_0 13 iadd 14 istore_1 hi hi lo 15 iload_1 16 iload_0 17 isub 18 istore_0 lo hi lo 19 iload_0 20 invokestatic..

String valueOf vs concatenation with empty string

http://stackoverflow.com/questions/7752347/string-valueof-vs-concatenation-with-empty-string

invokespecial #3 Method java lang StringBuilder. init V 9 iload_1 10 invokevirtual #4 Method java lang StringBuilder.append I.. of int public void bar Code 0 iconst_5 1 istore_1 2 iload_1 3 invokestatic #8 Method java lang String.valueOf I Ljava lang..