* configure.ac: Handle --enable-gc-debug.
authorhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Aug 2004 00:45:56 +0000 (00:45 +0000)
committerhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Aug 2004 00:45:56 +0000 (00:45 +0000)
commit0a53b20c990bb9b0afd292d0c9fa2eb205dd1549
tree3ffbf3d3e391be4b78a46bc6acfcb0fbb12af641
parent83488a15eb0da6e008cbe431087635239c52f222
* configure.ac: Handle --enable-gc-debug.
* configure: Regenerate.
* include/config.h.in (LIBGCJ_GC_DEBUG): Add.
* boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
Rearrange include file order.
(GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
(GC_finalize_all, GC_debug_generic_malloc): Don't declare.
(disable_gc_mutex): Delete along with all references.
(_Jv_MarkObj, _Jv_MarkArray): Use public types,
adjust for debug header size.
(_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
debug case.
(_Jv_AllocArray): Declare min_heap_addr only if needed.
(gcj_describe_type_fn): New.
(_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
Register gcj_describe_type_fn.
* include/boehm-gc.h:
(_Jv_AllocObj, _Jv_allocPtrFreeObj):
Don't define, but declare, for debug case.
* java/lang/natObject.cc:
(GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86686 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/boehm.cc
libjava/configure
libjava/configure.ac
libjava/include/boehm-gc.h
libjava/include/config.h.in
libjava/java/lang/natObject.cc