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 Pervov (JIRA)" <ji...@apache.org> on 2008/04/01 19:10:24 UTC
[jira] Assigned: (HARMONY-5676) [drlvm][port][signals] Increase
stack search size for heuristics
[ https://issues.apache.org/jira/browse/HARMONY-5676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pervov reassigned HARMONY-5676:
-------------------------------------
Assignee: Pavel Pervov
> [drlvm][port][signals] Increase stack search size for heuristics
> ----------------------------------------------------------------
>
> Key: HARMONY-5676
> URL: https://issues.apache.org/jira/browse/HARMONY-5676
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Ilya Berezhniuk
> Assignee: Pavel Pervov
> Priority: Minor
> Attachments: H-5676.patch
>
>
> Sometimes crash handler prints only a part of stack trace.
> Investigation shows that hardcoded size specifying stack size for searching return address is too small.
> It's because some functions consume a lot of stack for local frame.
> I performed an analysis of how much stack VM functions consume.
> There are some leaders. Jitrino::Ia32::die (>64Kb), Jitrino::Jet::Compiler::toStr (>22Kb).
> Because these functions are executed in special curcumstances only, I think we should not support such huge frames.
> The next leaders are GetMethodParameterTypes (~16Kb on x86_64), port_get_all_modules (~8Kb) and so on.
> Suggested patch increases the defines for stack search size to 18Kb on x86_64 and to 10kb on x86.
> The patch affects only crash dump printing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.