diff options
author | ivmai <ivmai> | 2009-09-10 17:22:18 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:46 +0400 |
commit | 29cd58b7369dbf1f5fdcfcaa26afc47d945f84f3 (patch) | |
tree | dae23d36c4a62032e6c9a954acf712e63483aa6c /thread_local_alloc.c | |
parent | b070a41b0788a0bda79a4b752a1dd177f08e4fc3 (diff) | |
download | bdwgc-29cd58b7369dbf1f5fdcfcaa26afc47d945f84f3.tar.gz |
2009-09-10 Ivan Maidanski <ivmai@mail.ru>
(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')
-rw-r--r-- | thread_local_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_local_alloc.c b/thread_local_alloc.c index 4d907fe4..0e78f2f6 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 */ |