harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r326466 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/gc.h
Date Wed, 19 Oct 2005 08:30:56 GMT
Author: dlydick
Date: Wed Oct 19 01:30:46 2005
New Revision: 326466

URL: http://svn.apache.org/viewcvs?rev=326466&view=rev
Log:
Added @todo item suggesting evaluation of implementing a suite
of GC_THREAD_xxx() macros, like GC_STACK_xxx() macros, instead
of using GC_OBJECT_xxX() macros in places in garbage collection.

Updated ARCH_xxx() macros for better diagnostic support.

Minor documentation adjustments.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/gc.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/gc.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/gc.h?rev=326466&r1=326465&r2=326466&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/gc.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/gc.h Wed Oct
19 01:30:46 2005
@@ -15,9 +15,25 @@
  * symbol definition.
  *
  *
+ * @todo HARMONY-6-jvm-gc.h-1 Since each thread has an object
+ *       associated with it, would it be a better design to add
+ *       definitions for @c @b GC_THREAD_NEW,
+ *       @c @b GC_ STACK_MKREF_FROM_JVM, @c @b GC_THREAD_RMREF_FROM_JVM,
+ *       and @c @b GC_THREAD_DELETE that work like the
+ *       @link #GC_STACK_NEW GC_STACK_xxx@endlink set instead of
+ *       co-opting the @link #GC_OBJECT_MKREF_FROM_OBJECT
+ *       GC_OBJECT_xxREF_FROM_OBJECT@endlink set?  It probably works
+ *       fine, but the first parm thereto is always "from" a null
+ *       object since the source is in the
+ *       @link #rthread rthread@endlink table instead of the
+ *       @link #robject robject@endlink table.
+ *
+ *
  * @section Control
  *
- * \$URL$ \$Id$
+ * \$URL$
+ *
+ * \$Id$
  *
  * Copyright 2005 The Apache Software Foundation
  * or its licensors, as applicable.
@@ -41,6 +57,7 @@
  * @date \$LastChangedDate$
  *
  * @author \$LastChangedBy$
+ *
  *         Original code contributed by Daniel Lydick on 09/28/2005.
  *
  * @section Reference
@@ -48,7 +65,9 @@
  */
 
 #include "arch.h"
-ARCH_COPYRIGHT_APACHE(gc, h, "$URL$ $Id$");
+ARCH_HEADER_COPYRIGHT_APACHE(gc, h,
+"$URL$",
+"$Id$");
 
 #ifdef CONFIG_GC_TYPE_STUB
 /*!



Mime
View raw message