OSDN Git Service

2005-03-17 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / boehm.cc
index 45b9473..2e64b1c 100644 (file)
@@ -248,6 +248,9 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void *env)
          p = (GC_PTR) ic->interpreted_methods;
          MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic);
 
+         p = (GC_PTR) ic->source_file_name;
+         MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic);
+
          for (int i = 0; i < c->method_count; i++)
            {
              // The interpreter installs a heap-allocated trampoline