path: root/thread_local_alloc.c
diff options
authorivmai <ivmai>2009-09-10 19:22:18 +0200
committerIvan Maidanski <>2011-07-26 19:06:46 +0200
commit29cd58b7369dbf1f5fdcfcaa26afc47d945f84f3 (patch)
treedae23d36c4a62032e6c9a954acf712e63483aa6c /thread_local_alloc.c
parentb070a41b0788a0bda79a4b752a1dd177f08e4fc3 (diff)
2009-09-10 Ivan Maidanski <>
(diff103_cvs) * alloc.c (GC_stopped_mark): Remove GC_log_printf("") (not needed anymore and GCC produces a warning for it). * alloc.c (GC_stopped_mark): Adjust printf argument type specifier. * backgraph.c: Include dbg_mlc.h before ifdef MAKE_BACK_GRAPH (for the case when the configuration information comes from aconfig file). * checksums.c: Ditto (for gc_priv.h and CHECKSUMS, respectively). * include/gc_allocator.h (GC_ATTR_UNUSED): Use "__unused__" keyword instead of "unused". * include/gc_allocator.h: Fix typos in comments. * thread_local_alloc.c: Ditto. * include/javaxfc.h (GC_finalize_all): Update comment. * include/private/gc_priv.h (GC_API_PRIV): New macro (defined as GC_API and serves only as a marker for the private but exported symbols used by test.c only). * include/private/gc_priv.h (GC_abort, GC_arrays, GC_is_marked, GC_printf, GC_err_printf, GC_log_printf): Replace GC_API decl with GC_API_PRIV one. * include/private/gc_priv.h (GC_fo_entries): Don't export it outside a DLL. * include/private/gc_priv.h (GC_ATTR_FORMAT_PRINTF): New macro designated to check the arguments correctness of printf-like functions (currently works only for GCC v3+). * include/private/gc_priv.h (GC_printf, GC_err_printf, GC_log_printf): Use GC_ATTR_FORMAT_PRINTF attribute.
Diffstat (limited to 'thread_local_alloc.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_local_alloc.c b/thread_local_alloc.c
index 4d907fe..0e78f2f 100644
--- a/thread_local_alloc.c
+++ b/thread_local_alloc.c
@@ -234,7 +234,7 @@ extern int GC_gcj_kind;
/* the marker may run asynchronously, and may pick up the pointer to */
/* the next freelist entry (which it thinks is a vtable pointer), get */
/* suspended for a while, and then see an allocated object instead */
-/* of the vtable. This made be avoidable with either a handshake with */
+/* of the vtable. This may be avoidable with either a handshake with */
/* the collector or, probably more easily, by moving the free list */
/* links to the second word of each object. The latter isn't a */
/* universal win, since on architecture like Itanium, nonzero offsets */