Top Description Fields Constructors Methods
org.jruby.internal.runtime.methods

public Class DumpingInvocationMethodFactory

extends InvocationMethodFactory
Class Inheritance
Imports
java.io.File, .FileOutputStream, .IOException, org.objectweb.asm.ClassWriter

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
org.jruby.internal.runtime.methods.InvocationMethodFactory

Field Summary

Modifier and TypeField and Description
private final String
Inherited from org.jruby.internal.runtime.methods.InvocationMethodFactory:
ARGS_INDEXBLOCK_INDEXCLASS_INDEXclassLoaderNAME_INDEXRECEIVER_INDEXsyncObjectTHIS_INDEXTHREADCONTEXT_INDEX

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Class<T>
Inherited from org.jruby.internal.runtime.methods.InvocationMethodFactory:
constructJavaMethodgetAnnotatedMethodgetAnnotatedMethodgetAnnotatedMethodClassgetPostMethod

Field Detail

dumpPathback to summary
private final String dumpPath

Constructor Detail

DumpingInvocationMethodFactoryback to summary
public DumpingInvocationMethodFactory(String path, ClassLoader classLoader)

Method Detail

endClassback to summary
protected Class<T> endClass(ClassWriter cw, String name)

Overrides org.jruby.internal.runtime.methods.InvocationMethodFactory.endClass.

Annotations
@Override