harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2692) [drlvm] throwing exception in mixed mode leaks memory
Date Thu, 15 Feb 2007 11:31:06 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473350
] 

Gregory Shimansky commented on HARMONY-2692:
--------------------------------------------

This patch doesn't work on IPF. To make it compile, I've had to change exceptions_jit.cpp
like this:

--- exceptions_jit.cpp  (revision 507881)
+++ exceptions_jit.cpp  (working copy)
@@ -45,6 +45,7 @@
 #include "cci.h"
 
 #ifdef _IPF_
+#include "../m2n_ipf_internal.h"
 #elif defined _EM64T_
 #include "../m2n_em64t_internal.h"
 #else

But this is not enough. After the code compiles when I start VM it gives me the following
error:

Failed to open JVM DLL: /nfs/ims/proj/drl/mrt1/users/gregory/ipf-sles9/trunk/working_vm/build/lnx_ipf_gcc_debug/deploy/jdk/jre/bin/default/harmonyvm
(/nfs/ims/proj/drl/mrt1/users/gregory/ipf-sles9/trunk/working_vm/build/lnx_ipf_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so:
undefined symbol: _Z15si_set_callbackP13StackIteratorPPv)

Looks like si_set_callback is not implemented or absent on IPF. Pavel could you please take
a look? If this functionality is too hard to implement, we could make conditional compilation
and disable this code for IPF until it is implemented.

> [drlvm] throwing exception in mixed mode leaks memory
> -----------------------------------------------------
>
>                 Key: HARMONY-2692
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2692
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows XP i686
>            Reporter: Salikh Zakirov
>         Assigned To: Gregory Shimansky
>         Attachments: 0001-Fix-of-memory-leak-from-rth_throw_lazy-runtime-helper.patch,
BufferWrap.java, ExceptionLeakTest.java
>
>
> The function wrap() of nio buffers leaks memory when invoked with illegal arguments.
> When the attached test BufferWrap.java is run on DRLVM, it steadily increases used memory
until crash.

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