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>
|
2003-01-02 Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
|
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
|
||||||
|
@ -37,7 +37,7 @@ extern "C"
|
|||||||
// These aren't declared in any Boehm GC header.
|
// These aren't declared in any Boehm GC header.
|
||||||
void GC_finalize_all (void);
|
void GC_finalize_all (void);
|
||||||
ptr_t GC_debug_generic_malloc (size_t size, int k, GC_EXTRA_PARAMS);
|
ptr_t GC_debug_generic_malloc (size_t size, int k, GC_EXTRA_PARAMS);
|
||||||
}
|
};
|
||||||
|
|
||||||
#define MAYBE_MARK(Obj, Top, Limit, Source, Exit) \
|
#define MAYBE_MARK(Obj, Top, Limit, Source, Exit) \
|
||||||
Top=GC_MARK_AND_PUSH((GC_PTR)Obj, Top, Limit, (GC_PTR *)Source)
|
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);
|
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cBlabel);
|
||||||
p = (ptr_t) c->arrayclass;
|
p = (ptr_t) c->arrayclass;
|
||||||
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cDlabel);
|
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
|
#ifdef INTERPRETER
|
||||||
if (_Jv_IsInterpretedClass (c))
|
if (_Jv_IsInterpretedClass (c))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user