malloc() can allocate memory not only on heap, but also in other regions with mmap().
Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- jit/trace-jit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/jit/trace-jit.c b/jit/trace-jit.c index 2579e1b..84edea3 100644 --- a/jit/trace-jit.c +++ b/jit/trace-jit.c @@ -524,7 +524,7 @@ static void print_arg(enum vm_type arg_type, const unsigned long *args, if (!is_on_heap((unsigned long)obj)) { trace_printf("*** pointer not on heap ***"); - goto out; + trace_flush(); } if (obj->class == vm_java_lang_String) { -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel