* doc/README.win32: Add OpenWatcom warning.
* include/private/gcconfig.h: Really check it in.
+2009-05-20 Hans Boehm <Hans.Boehm@hp.com> (really Ivan Maidanski)
+ * doc/README.win32: Add OpenWatcom warning.
+ * include/private/gcconfig.h: Really check it in.
+
2009-05-19 Hans Boehm <Hans.Boehm@hp.com> (Mostly Ivan Maidanski, Dave Korn)
* os_dep.c (GC_get_stack_base, windows): Replace with Dave Korn's
code from gcc version.
GetWriteWatch-based virtual dirty bit implementation ("os_dep.c" file).
* os_dep.c: Make non-win32 GC_write_fault_handler STATIC.
* mark.c (GC_noop): fix declaration definition mismatch for DMC.
- * include/private/gcconfig.h: Remove special handling for Watcom
+ * include/private/gcconfig.h: Enable MPROTECT_VDB and GWW_VDB for
+ Watcom (Win32 only). It works.
+
and GWW_VDB. It works.
2009-05-07 Hans Boehm <Hans.Boehm@hp.com> and Mark Sibly
Ivan Demakov (email: ivan@tgrad.nsk.su)
+Note from Ivan Maidanski:
+
+Special note for OpenWatcom users: the C (unlike the C++) compiler (of the
+latest stable release, not sure for older ones) doesn't force pointer global
+variables (i.e. not struct fields, not sure for locals) to be aligned unless
+optimizing for speed (eg. "-ot" option is set); the "-zp" option (or align
+pragma) only controls alignment for structs; I don't know whether it's a bug or
+a feature (see an old report of same kind -
+http://bugzilla.openwatcom.org/show_bug.cgi?id=664), so You are warned.
+
+
Incremental Collection
----------------------
There is some support for incremental collection. By default, the
# define OS_TYPE "MSWIN32"
/* STACKBOTTOM and DATASTART are handled specially in */
/* os_dep.c. */
-# if !defined(__WATCOMC__)
-# define MPROTECT_VDB
- /* We also avoided doing this in the past with GC_WIN32_THREADS */
- /* Hopefully that's fixed. */
-# define GWW_VDB
-# endif
+# define MPROTECT_VDB
+# define GWW_VDB
# define DATAEND /* not needed */
# endif
# ifdef MSWINCE
# define OS_TYPE "MSWIN32"
/* STACKBOTTOM and DATASTART are handled specially in */
/* os_dep.c. */
-# if !defined(__WATCOMC__)
-# define MPROTECT_VDB
- /* We also avoided doing this in the past with GC_WIN32_THREADS */
- /* Hopefully that's fixed. */
-# define GWW_VDB
-# endif
+# define MPROTECT_VDB
+# define GWW_VDB
# define DATAEND /* not needed */
# endif
# endif