2009/11/20 Daniel Hicks <[email protected]>: > I suppose different JVMs tackle it different ways, but on the IBM > iSeries JVM we kept a virtual function table for each class and called > through that. Interpreted functions contained a pointer to the > interpreter in the VFT, and a pointer to the method table entry in the > "this" class was passed as a hidden parameter, to identify the method > to the interpreter. A fairly straight-forward setup.
Thanks, Daniel But I was trying to understand how to do the interpretation above the level of the JVM (e.g so the same code would work on Windows and on Android). I can't see any way of doing an interpretative implementation of a class which subclasses an arbitrary complied class. John Wilson -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=.
