org.jruby.internal.runtime.methods
Class DumpingInvocationMethodFactory

java.lang.Object
  extended by org.jruby.runtime.MethodFactory
      extended by org.jruby.internal.runtime.methods.InvocationMethodFactory
          extended by org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory

public class DumpingInvocationMethodFactory
extends InvocationMethodFactory

This factory extends InvocationMethodFactory by also dumping the classes to .class files at runtime. It is used during the build to save off all generated method handles to avoid that expense during startup.

See Also:
InvocationMethodFactory

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.runtime.MethodFactory
MethodFactory.MethodDefiningCallback
 
Field Summary
 
Fields inherited from class org.jruby.internal.runtime.methods.InvocationMethodFactory
ARGS_INDEX, BLOCK_INDEX, CLASS_INDEX, classLoader, NAME_INDEX, RECEIVER_INDEX, THIS_INDEX, THREADCONTEXT_INDEX
 
Fields inherited from class org.jruby.runtime.MethodFactory
COMPILED_METHOD_PARAMS
 
Constructor Summary
DumpingInvocationMethodFactory(java.lang.String path, java.lang.ClassLoader classLoader)
           
 
Method Summary
protected  java.lang.Class endClass(ClassWriter cw, java.lang.String name)
           
 
Methods inherited from class org.jruby.internal.runtime.methods.InvocationMethodFactory
endCall, endMethod, getAnnotatedMethod, getAnnotatedMethod, getAnnotatedMethodClass, getAnnotatedMethodClass, getCompiledMethod, getCompiledMethodLazily, getPostMethod, prepareAnnotatedMethod
 
Methods inherited from class org.jruby.runtime.MethodFactory
createFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpingInvocationMethodFactory

public DumpingInvocationMethodFactory(java.lang.String path,
                                      java.lang.ClassLoader classLoader)
Method Detail

endClass

protected java.lang.Class endClass(ClassWriter cw,
                                   java.lang.String name)
Overrides:
endClass in class InvocationMethodFactory


Copyright © 2002-2007 JRuby Team. All Rights Reserved.