You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Volosyuk (JIRA)" <ji...@apache.org> on 2006/12/27 14:10:22 UTC

[jira] Commented: (HARMONY-2899) [drlvm][em64t] VM doesn't support native methods with big number of arguments

    [ http://issues.apache.org/jira/browse/HARMONY-2899?page=comments#action_12460994 ] 
            
Ivan Volosyuk commented on HARMONY-2899:
----------------------------------------

DRLVM use fixed size buffer for each JNI stubs. The size is equal to MAX_CODE_LENGTH.
When number of arguments is large enough the buffer overflows.

> [drlvm][em64t] VM doesn't support native methods with big number of arguments
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-2899
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2899
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/em64t
>            Reporter: Ivan Volosyuk
>         Attachments: test.zip
>
>
> VM crashes with following diagnostic message:
> java: /nfs/ims/proj/drl/mrt1/users/ivanrt/harmony/drlvm/trunk/vm/port/src/lil/em64t/pim/lil_code_generator_em64t.cpp:1045: size_t LcgEM64TCodeGen::get_size() const: Assertion `(unsigned)(buf - buf_beg) < MAX_CODE_LENGTH' failed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira