boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
2002-12-22 Anthony Green <green@redhat.com> * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. From-SVN: r60834
This commit is contained in:
parent
1ff11883e4
commit
7125beea7a
@ -1,3 +1,7 @@
|
||||
2002-12-22 Anthony Green <green@redhat.com>
|
||||
|
||||
* boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
|
||||
|
||||
2003-01-02 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user