summaryrefslogtreecommitdiff
path: root/mark.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-09-24 12:18:19 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-09-26 10:03:45 +0300
commite6061ac46dc1ab64cdb747ce55baf6320bc08866 (patch)
tree9cafa8e660296d0fa0176fabc0108e0934ab7c06 /mark.c
parent6dfa9a2030014cb05655865938b650c3d7a86e05 (diff)
downloadbdwgc-e6061ac46dc1ab64cdb747ce55baf6320bc08866.tar.gz
Adjust naming of Win32/64 and x86/64 words in comments and documentation
* ChangeLog: Replace i386 and X86 to x86; replace x86_64 and amd64 to x64; replace "Win32 pthreads" to pthreads-win32; lower case win32s, x86, x64; replace win32 to Win32; replace "MS Windows" to Windows (in documentation and comments). * NT_MAKEFILE: Likewise. * README.md: Likewise. * configure.ac: Likewise. * cord/tests/de_win.c: Likewise. * doc/README.macros: Likewise. * doc/README.solaris2: Likewise. * doc/README.win32: Likewise. * doc/README.win64: Likewise. * doc/debugging.md: Likewise. * doc/leak.md: Likewise. * doc/overview.md: Likewise. * doc/porting.md: Likewise. * extra/msvc_dbg.c: Likewise. * finalize.c: Likewise. * include/gc/cord.h: Likewise. * include/gc/gc.h: Likewise. * include/private/gc_priv.h: Likewise. * include/private/gcconfig.h: Likewise. * include/private/pthread_stop_world.h: Likewise. * mach_dep.c: Likewise. * mark.c: Likewise. * mark_rts.c: Likewise. * misc.c: Likewise. * os_dep.c: Likewise. * tools/threadlibs.c: Likewise. * win32_threads.c: Likewise. * cord/tests/de.c (WIN32): Remove misleading comment. * misc.c (GC_enable_incremental): Change comment about win32s to TODO item.
Diffstat (limited to 'mark.c')
-rw-r--r--mark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mark.c b/mark.c
index f33ec90c..f54a63ef 100644
--- a/mark.c
+++ b/mark.c
@@ -303,7 +303,7 @@ static void push_roots_and_advance(GC_bool push_all, ptr_t cold_gc_frame)
/* register values. In the case of an incremental */
/* collection, the world may be running. */
#ifdef WRAP_MARK_SOME
- /* For win32, this is called after we establish a structured */
+ /* For Win32, this is called after we establish a structured */
/* exception handler, in case Windows unmaps one of our root */
/* segments. */
STATIC GC_bool GC_mark_some_inner(ptr_t cold_gc_frame)
@@ -830,7 +830,7 @@ GC_INNER mse * GC_mark_from(mse *mark_stack_top, mse *mark_stack,
/* Try to prefetch the next pointer to be examined ASAP. */
/* Empirically, this also seems to help slightly without */
- /* prefetches, at least on linux/X86. Presumably this loop */
+ /* prefetches, at least on linux/x86. Presumably this loop */
/* ends up with less register pressure, and gcc thus ends up */
/* generating slightly better code. Overall gcc code quality */
/* for this loop is still not great. */