harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgueni Brevnov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5486) [drlvm][jit][opt] On-stack allocation feature
Date Tue, 12 Feb 2008 09:35:09 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568019#action_12568019
] 

Evgueni Brevnov commented on HARMONY-5486:
------------------------------------------

New HIR instruction (alloca) is actually translated into LEA instruction. So no special tricks
here. I think it's better to teach HLO optimizations how to optimize it rather than deal with
non optimal code. For eaxample it's allowed to move it out from loops.

Each approach has its pros & cons. I don't see strong reasons against having new instruction.
Though it would be interesting to see alternative implementation :-)

Thanks
Evgueni

> [drlvm][jit][opt] On-stack allocation feature 
> ----------------------------------------------
>
>                 Key: HARMONY-5486
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5486
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Attachments: alloca.patch
>
>
> Here is a new feature which allows to allocate space on the stack. It can be used to
implement new optimization. Non-escaped objects can be allocated on the stack but managed
heap.
> Thanks
> Evgueni

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


Mime
View raw message