title: What is the overhead of a method call in a good Java VM?
body: <p>Can someone come up with a disassembled machine code assembler listing?</p>
  
  <p>I mean there must be some overhead compared to the normal function call in C.</p>
  
  <p>The VM needs to track calls to find hotspots and when it uses compiled code it needs to provid ways to change the compiled method on fly if a new loaded class requires a recompilation.</p>
  
  <p>I guess there is also a return stack overflow check somewhere.</p>
  
  <p>EDIT: I think i should mention that i'm not a java programmer but a compiler writer and want to find out why java applications are so slow while the java micro benchmarks are comparable to native compiled code. So looking at some the details is important for me here, even if they take only a few dozend nanoseconds and a few additional instructions.</p>