Top Description Fields Constructors Methods
org.jruby.compiler

pack-priv Class MethodCompiledJITTask

extends Task
Class Inheritance
Imports
java.lang.invoke.MethodHandle, .MethodType, org.jruby.Ruby, org.jruby.ast.util.SexpMaker, org.jruby.internal.runtime.methods.CompiledIRMethod, org.jruby.ir.IRScope, org.jruby.ir.targets.JVMVisitor, .JVMVisitorMethodContext, org.jruby.runtime.ThreadContext, org.jruby.util.collections.IntHashMap

For recompiling an already compiled method. Current use is only for the inliner.

Field Summary

Modifier and TypeField and Description
private final String
private final CompiledIRMethod
private final String
Inherited from org.jruby.compiler.JITCompiler.Task:
jitCompiler

Constructor Summary

AccessConstructor and Description
public
MethodCompiledJITTask(JITCompiler jitCompiler, CompiledIRMethod method, String className)

Method Summary

Modifier and TypeMethod and Description
public void
protected String
protected void
protected void
logImpl(ThreadContext context, final String message, Object... reason)

Implements abstract org.jruby.compiler.JITCompiler.Task.logImpl.

protected void
Inherited from org.jruby.compiler.JITCompiler.Task:
defineClassgetCodeLoaderjitFailedrun

Field Detail

classNameback to summary
private final String className
methodback to summary
private final CompiledIRMethod method
methodNameback to summary
private final String methodName

Constructor Detail

MethodCompiledJITTaskback to summary
public MethodCompiledJITTask(JITCompiler jitCompiler, CompiledIRMethod method, String className)

Method Detail

execback to summary
public void exec(ThreadContext context) throws NoSuchMethodException, IllegalAccessException

Implements abstract org.jruby.compiler.JITCompiler.Task.exec.

Annotations
@Override
getSourceFileback to summary
protected String getSourceFile()

Overrides org.jruby.compiler.JITCompiler.Task.getSourceFile.

Annotations
@Override
logFailedback to summary
protected void logFailed(ThreadContext context, final Throwable ex)

Overrides org.jruby.compiler.JITCompiler.Task.logFailed.

Annotations
@Override
logImplback to summary
protected void logImpl(ThreadContext context, final String message, Object... reason)

Implements abstract org.jruby.compiler.JITCompiler.Task.logImpl.

Annotations
@Override
logJittedback to summary
protected void logJitted(ThreadContext context)

Overrides org.jruby.compiler.JITCompiler.Task.logJitted.

Annotations
@Override