boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
authorAndrew Haley <aph@redhat.com>
Thu, 17 Mar 2005 02:53:21 +0000 (02:53 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Thu, 17 Mar 2005 02:53:21 +0000 (02:53 +0000)
2005-03-16  Andrew Haley  <aph@redhat.com>

        * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.

From-SVN: r96596

libjava/ChangeLog
libjava/boehm.cc

index 7c9560fc8af7b9ebed1e66d08d7785dad8e5ae41..b156e0ce28d6d9cacb43445db3162adb5892feb1 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 d2902326e816feb30e6d338cc6de6158bc7c87bb..45b94731d1554f827801637a54f8c179e643954c 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);
                    }