* James Ladd [2009-09-23 23:52+0200] writes: > Im looking for the loop that takes the next instruction and dispatches > it. Maybe I just dont understand the JVM - yet. Is there such a loop ?
As described in Gary Benson blog, there are two interpreters: the c++ interpreter and the template based interpreter. The loop that you are searching is probably the run method in bytecodeInterpreter.cpp. But as far as I understand the c++ interpreter is normally not used (maybe for debugging or new platforms). The template interpreter has no dispatch loop: templates are chained together which removes dispatch overhead almost entirely. Helmut _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev