2011-05-06 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Fri, 6 May 2011 05:35:44 +0000 (05:35 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:58 +0000 (21:06 +0400)
* os_dep.c (GC_write_fault_handler): Break when in_allocd_block
is set to true.

ChangeLog
os_dep.c

index 91d1afd..250b0cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-05-06  Ivan Maidanski  <ivmai@mail.ru>
 
+       * os_dep.c (GC_write_fault_handler): Break when in_allocd_block
+       is set to true.
+
+2011-05-06  Ivan Maidanski  <ivmai@mail.ru>
+
        * dbg_mlc.c (GC_has_other_debug_info): Change return type to int;
        return -1 if the object has (or had) debugging info but was
        marked deallocated.
index 1192ebd..eb69a7e 100644 (file)
--- a/os_dep.c
+++ b/os_dep.c
@@ -3150,6 +3150,7 @@ STATIC void GC_default_push_other_roots(void)
             for (i = 0; i < divHBLKSZ(GC_page_size); i++) {
               if (HDR(h+i) != 0) {
                 in_allocd_block = TRUE;
+                break;
               }
             }
 #       else