> I think part of this can be fixed with my "prelinking" proposal - if the app
cannot alter the classes that are in the AOT code, then many of the
redirections
can be eliminated.
Certainly sounds like an interesting possibility, coming back to this now.
I wonder if you could also do other crazy things when the JVM is running in
such a "strict" mode, such as replacing the instructions in a compiled Java
application (not native, compiled by javac) entirely with the raw templates
of native code that make up the interpreter, thereby eliminating some of
the dispatch overhead, or do something similar to the link time
optimizations that C/C++ have.
best regards,
Julian