harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject [drlvm][exceptions] want to use exn_raise_by_name but using exn_create/exn_raise_object instead
Date Fri, 08 Dec 2006 00:48:29 GMT
Pavel (Afremov), All,

I'm trying to throw an exception from compile_me stub. I've noticed
that exn_raise_by_name just stores exception message in TLS. How can I
free memory which I've allocated for this exception message?

Currently I'm using exn_create/exn_raise_object pair, because if I
understand correctly it copies char* message to the java object, and I
can free memory right after exception is created.

With best regards,
Alexei, Intel

View raw message