harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5822) [drlvm][vmcore] class unloading does not clean JIT recompilation callbacks
Date Tue, 13 May 2008 05:02:55 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596278#action_12596278

Alexey Varlamov commented on HARMONY-5822:

To fix this:
1) the vm_register_jit_recompiled_method_callback() API must be extended to take 1 more parameter,
a caller method;
2) vmcore must de-register callbacks for each caller method when unloading their classloader.

> [drlvm][vmcore] class unloading does not clean JIT recompilation callbacks
> --------------------------------------------------------------------------
>                 Key: HARMONY-5822
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5822
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>    Affects Versions: 5.0M6
>            Reporter: Alexey Varlamov
> There is a facility in DRLVM for notifying JIT of method recompilation, see vm_register_jit_recompiled_method_callback(JIT_Handle
jit, Method_Handle method, void *callback_data).
> Jitrino uses this feature to patch direct calls to methods (within other compiled methods)
upon recompilation of a callee method.
> However, in case then a caller method is unloaded, corresponding callbacks are not removed
and lead to SIGSEGV if a callee method is recompiled.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message