diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-03 16:34:37 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-03 16:34:37 +0000 |
commit | 44cb850dcf4dbd6e8cde3b1c47b611d8bac1ae2f (patch) | |
tree | f897fd5c9caa6f9730f12ad16eb3f7fdd2f9c06b /libjava/boehm.cc | |
parent | 410426e917c5aaed5d0a4a155e79c2ec9bae64b8 (diff) | |
download | gcc-44cb850dcf4dbd6e8cde3b1c47b611d8bac1ae2f.tar.gz |
2002-12-22 Anthony Green <green@redhat.com>
* boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r-- | libjava/boehm.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc index df17ce82d9f..5006059dabd 100644 --- a/libjava/boehm.cc +++ b/libjava/boehm.cc @@ -37,7 +37,7 @@ extern "C" // These aren't declared in any Boehm GC header. void GC_finalize_all (void); ptr_t GC_debug_generic_malloc (size_t size, int k, GC_EXTRA_PARAMS); -} +}; #define MAYBE_MARK(Obj, Top, Limit, Source, Exit) \ Top=GC_MARK_AND_PUSH((GC_PTR)Obj, Top, Limit, (GC_PTR *)Source) @@ -203,6 +203,8 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /* env */) MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cBlabel); p = (ptr_t) c->arrayclass; MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cDlabel); + p = (ptr_t) c->protectionDomain; + MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cPlabel); #ifdef INTERPRETER if (_Jv_IsInterpretedClass (c)) |