¡@

Home 

java Programming Glossary: eax

Why volatile in java 5+ doesn't synchronize cached copies of variables with main memory?

http://stackoverflow.com/questions/10620680/why-volatile-in-java-5-doesnt-synchronize-cached-copies-of-variables-with-main

these are snippets . This printed error 0x021dd753 test eax 0x180100 poll 0x021dd759 cmp 0x0 ecx 0x021dd75c je 0x021dd748.. getstatic out Test 1 run@16 line 18 0x021dd776 cmp ecx eax implicit exception dispatches to 0x021dd7dc 0x021dd778 mov 0x39239500.. println And This did not print error 0x0226d763 test eax 0x180100 poll 0x0226d769 cmp 0x0 edx 0x0226d76c je 0x0226d758..

Why does Java switch on ordinal ints appear to run faster with added cases?

http://stackoverflow.com/questions/15621083/why-does-java-switch-on-ordinal-ints-appear-to-run-faster-with-added-cases

sp of caller 0x00000000024f0160 mov DWORD PTR rsp 0x6000 eax no_reloc 0x00000000024f0167 push rbp 0x00000000024f0168 sub.. 0x00000000024f01d0 test DWORD PTR rip 0xfffffffffdf3fe2a eax # 0x0000000000430000 poll_return 0x00000000024f01d6 ret With.. sp of caller 0x000000000287fe20 mov DWORD PTR rsp 0x6000 eax no_reloc 0x000000000287fe27 push rbp 0x000000000287fe28 sub..

How does the code behave different for Java and C compiler?

http://stackoverflow.com/questions/1788696/how-does-the-code-behave-different-for-java-and-c-compiler

1 4 0 movl 8 4 rbp x 8 .loc 1 5 0 subl 1 4 rbp x movl 0 eax tmp 0 subl eax 4 rbp x tmp subl 1 4 rbp x .loc 1 6 0 movl 4.. 4 rbp x 8 .loc 1 5 0 subl 1 4 rbp x movl 0 eax tmp 0 subl eax 4 rbp x tmp subl 1 4 rbp x .loc 1 6 0 movl 4 rbp esi push `x`..

Is volatile expensive?

http://stackoverflow.com/questions/4633866/is-volatile-expensive

' V' in 'Test2' # sp 0x10 sp of caller 0xb396ce80 mov eax 0x3000 esp 0xb396ce87 push ebp 0xb396ce88 sub 0x8 esp synchronization.. 0xb396cec3 add 0x8 esp 0xb396cec6 pop ebp 0xb396cec7 test eax 0xb7732000 poll_return ... lines removed If you look at the.. ' V' in 'Test2' # sp 0x10 sp of caller 0xb3ab9340 mov eax 0x3000 esp 0xb3ab9347 push ebp 0xb3ab9348 sub 0x8 esp synchronization..

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

to execute machine code 00000000 mov dword ptr esp 3000h eax 00000007 push ebp 00000008 mov ebp esp 0000000a sub esp 18h.. mov edi dword ptr ebp 8h 0000003e test dword ptr 370000h eax 00000044 jmp 00000018 00000049 mov esp ebp 0000004b pop ebp.. esp ebp 0000004b pop ebp 0000004c test dword ptr 370000h eax 00000052 ret it takes 83 52 in hex 1 byte bytes in result. PS...