Skip to content

Instantly share code, notes, and snippets.

@m0wfo
Last active March 23, 2016 21:56
Show Gist options
  • Save m0wfo/16075149ec8b6310edba to your computer and use it in GitHub Desktop.
Save m0wfo/16075149ec8b6310edba to your computer and use it in GitHub Desktop.
HotSpot-generated assembly for a volatile read
0x000000010d6895e3: jmpq 0x000000010d68963c ;*iload_3
; - com.logentries.blog.VolatileClass::run@2 (line 13)
0x000000010d6895e8: vmovsd 0x10(%rsi),%xmm0 ; implicit exception: dispatches to 0x000000010d6897ce
0x000000010d6895ed: vmovq %xmm0,%rdx ;*getfield a
; - com.logentries.blog.VolatileClass::run@12 (line 14)
0x000000010d6895f2: inc %edi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment