]> granicus.if.org Git - gc/commitdiff
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 91d1afd28b0c35878a553f83e3b5ec07e0fbdd6d..250b0cbdfd6fa76281ce2b3a2aa327685d53ace3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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;
index 1192ebd56a4d78e57db1c15c2b4edfba04069d45..eb69a7ec4422b84bcaedfda7a958b1461b13a182 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