harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r370499 - in /incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc: heap.c libjc.h
Date Thu, 19 Jan 2006 15:20:25 GMT
Author: archie
Date: Thu Jan 19 07:20:23 2006
New Revision: 370499

URL: http://svn.apache.org/viewcvs?rev=370499&view=rev
Log:
Make _jc_heap_check_object() public, it's sometimes useful to call
it from other source files for debugging purposes.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/heap.c
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/libjc.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/heap.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/heap.c?rev=370499&r1=370498&r2=370499&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/heap.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/heap.c Thu Jan 19
07:20:23 2006
@@ -427,7 +427,6 @@
 #ifndef NDEBUG
 
 /* Internal functions */
-static void	_jc_heap_check_object(_jc_jvm *vm, _jc_object *obj, int bsi);
 static void	_jc_heap_check_block(_jc_jvm *vm, _jc_word *block,
 			char *page, int bsi);
 static void	_jc_heap_check_alloc(_jc_jvm *vm, _jc_object *obj);
@@ -667,7 +666,7 @@
 /*
  * Sanity check one object.
  */
-static void
+void
 _jc_heap_check_object(_jc_jvm *vm, _jc_object *obj, int recurse)
 {
 	_jc_heap *const heap = &vm->heap;

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/libjc.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/libjc.h?rev=370499&r1=370498&r2=370499&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/libjc.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/libjc.h Thu Jan
19 07:20:23 2006
@@ -172,6 +172,8 @@
 extern int		_jc_heap_block_size(_jc_jvm *vm, size_t size);
 #ifndef NDEBUG
 extern void		_jc_heap_check(_jc_jvm *vm);
+extern void		_jc_heap_check_object(_jc_jvm *vm, _jc_object *obj,
+				int recurse);
 #endif
 
 /* init.c */



Mime
View raw message