OSDN Git Service

2005-03-16 Andrew Haley <aph@redhat.com>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Mar 2005 02:53:21 +0000 (02:53 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Mar 2005 02:53:21 +0000 (02:53 +0000)
        * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96596 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/boehm.cc

index 7c9560f..b156e0c 100644 (file)
@@ -1,3 +1,7 @@
+2005-03-16  Andrew Haley  <aph@redhat.com>
+
+       * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
+
 2005-03-16  Tom Tromey  <tromey@redhat.com>
 
        * link.cc (ensure_class_linked): Removed #ifdef.
index d290232..45b9473 100644 (file)
@@ -289,6 +289,8 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void *env)
                    = (_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);
                    }