From: Ivan Maidanski Date: Fri, 16 Jun 2017 15:16:07 +0000 (+0300) Subject: Fix ALL_INTERIOR_POINTERS name in comments and documentation X-Git-Tag: v7.4.6~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f37c26acc8f3a12b505d51e3b2db3379d4fa7cd;p=gc Fix ALL_INTERIOR_POINTERS name in comments and documentation * doc/gcdescr.html (Mark phase): Replace ALL_INTERIOR_PTRS with ALL_INTERIOR_POINTERS. * doc/tree.html: Likewise. * include/private/gc_hdrs.h (HC_GET_HDR): Replace GC_all_interior_ptrs with GC_all_interior_pointers in comment. --- diff --git a/doc/gcdescr.html b/doc/gcdescr.html index a30e776b..a3237859 100644 --- a/doc/gcdescr.html +++ b/doc/gcdescr.html @@ -230,7 +230,7 @@ At the beginning of the mark phase, all root segments (as described above) are pushed on the stack by GC_push_roots. (Registers and eagerly processed stack sections are processed by pushing the referenced objects instead -of the stack section itself.) If ALL_INTERIOR_PTRS is not +of the stack section itself.) If ALL_INTERIOR_POINTERS is not defined, then stack roots require special treatment. In this case, the normal marking code ignores interior pointers, but GC_push_all_stack explicitly checks for interior pointers and pushes descriptors for target diff --git a/doc/tree.html b/doc/tree.html index f1c6e269..2bfd5834 100644 --- a/doc/tree.html +++ b/doc/tree.html @@ -185,7 +185,7 @@ freed; free lists are used (e.g. alloc_hdr). HBLK's below are collected. HBLKSIZE | |--------------- | (words) (bytes) | | v MAX_OFFSET | + - - - - - - - - - - -+ --- (bytes) - | | | !All_INTERIOR_PTRS ^ | + | | | !ALL_INTERIOR_POINTERS ^ | | | | sets j only for hb_sz | | | Object N | valid object offsets. | | v | | All objects WORDSZ v v diff --git a/include/private/gc_hdrs.h b/include/private/gc_hdrs.h index 4540ac6b..b8fc645d 100644 --- a/include/private/gc_hdrs.h +++ b/include/private/gc_hdrs.h @@ -98,9 +98,8 @@ typedef struct hce { #endif /* Set hhdr to the header for p. Analogous to GET_HDR below, */ -/* except that in the case of large objects, it */ -/* gets the header for the object beginning, if GC_all_interior_ptrs */ -/* is set. */ +/* except that in the case of large objects, it gets the header for */ +/* the object beginning if GC_all_interior_pointers is set. */ /* Returns zero if p points to somewhere other than the first page */ /* of an object, and it is not a valid pointer to the object. */ #define HC_GET_HDR(p, hhdr, source, exit_label) \