Charles Oliver Nutter wrote:
Future improvements to this will be breaking up dispatcher to act as an adapter for separate methods, so all methods can be inlined individually rather than inlining the whole dispatch switch. Also, CompiledMethod must generate the actual call() method rather than a polymorphic subclass method, and DefaultMethod must actually replace itself in the method table after JITing, to allow future calls to go straight into the custom code.
Second part of this is complete. It's apparent now, though, that I need to move the actual DynamicMethod invocation up to the call site, either directly or through an adapter. I will probably do it directly for now to get those methods inlining, since future work will insert adapters in various places. No need to complicate things just yet.
- Charlie --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
