This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: New stack trace code
I checked in the patch below.
Bryce
2005-03-16 Andrew Haley <aph@redhat.com>
* boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
Andrew Haley wrote:
We're not marking the line table in boehm.cc:
Index: boehm.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/boehm.cc,v
retrieving revision 1.45
diff -u -r1.45 boehm.cc
--- boehm.cc 25 Nov 2004 03:46:53 -0000 1.45
+++ boehm.cc 11 Mar 2005 18:52:31 -0000
@@ -289,6 +289,8 @@
= (_Jv_InterpMethod *) ic->interpreted_methods[i];
if (im)
{
+ p = (GC_PTR) im->line_table;
+ MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic);
p = (GC_PTR) im->prepared;
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic);
}