You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Fursov (JIRA)" <ji...@apache.org> on 2006/10/31 16:46:17 UTC

[jira] Commented: (HARMONY-2021) [drlvm][jit] Global memory manager is never deallocated

    [ http://issues.apache.org/jira/browse/HARMONY-2021?page=comments#action_12445926 ] 
            
Mikhail Fursov commented on HARMONY-2021:
-----------------------------------------

The same problem we have with 'runtimeInterface' field in Jitrino.cpp:

#if defined(_IPF_)
        runtimeInterface = new IPF::RuntimeInterface;
        flags.codegen = CG_IPF;
#else
        runtimeInterface = new Ia32::RuntimeInterface;
        flags.codegen = CG_IA32;
#endif

I think we can allocate this struct with global_mm.

> [drlvm][jit] Global memory manager is never deallocated
> -------------------------------------------------------
>
>                 Key: HARMONY-2021
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2021
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>            Priority: Minor
>
> The global memory manager used in Jitrino.OPT compiler is allocated with the first JIT instance initialization.
> And never deallocated...
> This problem is not critical if we use standalone VM and OS cleans all resources after the process is finished. But this is a problem is someone embeds our VM into another process.

-- 
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