You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org> on 2008/02/14 15:19:08 UTC

[jira] Updated: (HARMONY-5515) [drlvm][jit][opt] Devirtualization should be reverted in case direct call was not inlined

     [ https://issues.apache.org/jira/browse/HARMONY-5515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Ozhdikhin updated HARMONY-5515:
-------------------------------------

    Description: 
The devirtualization optimization in Jitrino.OPT JIT compiler makes sense only if the de-virtualized call is inlined. Otherwise it adds unnecessary overhead to a virtual call. Direct call may not be inlined in case of it's large size, exhausted inlining bufget etc.

The attached patch introduces a new optimization pass - undevirt, which removes direct call branch in case the direct call was not inlined.

  was:The devirtualization optimization in Jitrino.OPT JIT compiler makes sense only if the de-virtualized call is inlined. Otherwise it adds unnecessary overhead to a virtual call. The attached patch introduces a new optimization pass - undevirt, which removes direct call branch in case the direct call was not inlined.

     Issue Type: Improvement  (was: New Feature)
        Summary: [drlvm][jit][opt] Devirtualization should be reverted in case direct call was not inlined  (was: [drlvm][jit][opt])

> [drlvm][jit][opt] Devirtualization should be reverted in case direct call was not inlined
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5515
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5515
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Pavel Ozhdikhin
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The devirtualization optimization in Jitrino.OPT JIT compiler makes sense only if the de-virtualized call is inlined. Otherwise it adds unnecessary overhead to a virtual call. Direct call may not be inlined in case of it's large size, exhausted inlining bufget etc.
> The attached patch introduces a new optimization pass - undevirt, which removes direct call branch in case the direct call was not inlined.

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