aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2018-08-14 12:07:09 -0700
committerPaul Eggert2018-08-14 12:08:03 -0700
commit11c7c2f758f8f07e7b917fbc93267cee236a80e5 (patch)
treeabd4c9e192fe6f0a125f54b61b881fff73f58de0 /doc
parentdb6f511eb709def49280ca5ff2f05b2b7cbfd98d (diff)
downloademacs-11c7c2f758f8f07e7b917fbc93267cee236a80e5.tar.gz
emacs-11c7c2f758f8f07e7b917fbc93267cee236a80e5.zip
Remove more traces of misc (Bug#32405)
Remove misc-objects-consed and the misc component of memory-use-count, since misc objects no longer exist. * doc/lispref/internals.texi, etc/NEWS: Mention this, and adjust better to recent removal of misc objects. * src/alloc.c (MEM_TYPE_MISC): Remove; no longer used. (Fmemory_use_counts): Omit misc count, since miscs no longer exist. (misc-objects-consed): Remove.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/internals.texi25
1 files changed, 8 insertions, 17 deletions
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index c72dbb50797..3fe28446eaf 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -246,8 +246,8 @@ of 8k bytes, and small vectors are packed into blocks of 4k bytes).
246 246
247@cindex vector-like objects, storage 247@cindex vector-like objects, storage
248@cindex storage of vector-like Lisp objects 248@cindex storage of vector-like Lisp objects
249 Beyond the basic vector, a lot of objects like window, buffer, and 249 Beyond the basic vector, a lot of objects like markers, overlays and
250frame are managed as if they were vectors. The corresponding C data 250buffers are managed as if they were vectors. The corresponding C data
251structures include the @code{union vectorlike_header} field whose 251structures include the @code{union vectorlike_header} field whose
252@code{size} member contains the subtype enumerated by @code{enum pvec_type} 252@code{size} member contains the subtype enumerated by @code{enum pvec_type}
253and an information about how many @code{Lisp_Object} fields this structure 253and an information about how many @code{Lisp_Object} fields this structure
@@ -579,6 +579,8 @@ in this Emacs session.
579@defvar vector-cells-consed 579@defvar vector-cells-consed
580The total number of vector cells that have been allocated so far 580The total number of vector cells that have been allocated so far
581in this Emacs session. 581in this Emacs session.
582This includes vector-like objects such as markers and overlays, plus
583certain objects not visible to users.
582@end defvar 584@end defvar
583 585
584@defvar symbols-consed 586@defvar symbols-consed
@@ -591,12 +593,6 @@ The total number of string characters that have been allocated so far
591in this session. 593in this session.
592@end defvar 594@end defvar
593 595
594@defvar misc-objects-consed
595The total number of miscellaneous objects that have been allocated so
596far in this session. These include markers and overlays, plus
597certain objects not visible to users.
598@end defvar
599
600@defvar intervals-consed 596@defvar intervals-consed
601The total number of intervals that have been allocated so far 597The total number of intervals that have been allocated so far
602in this Emacs session. 598in this Emacs session.
@@ -987,7 +983,7 @@ a special type to represent the pointers to all of them, which is known as
987 In C, the tagged pointer is an object of type @code{Lisp_Object}. Any 983 In C, the tagged pointer is an object of type @code{Lisp_Object}. Any
988initialized variable of such a type always holds the value of one of the 984initialized variable of such a type always holds the value of one of the
989following basic data types: integer, symbol, string, cons cell, float, 985following basic data types: integer, symbol, string, cons cell, float,
990vectorlike or miscellaneous object. Each of these data types has the 986or vectorlike object. Each of these data types has the
991corresponding tag value. All tags are enumerated by @code{enum Lisp_Type} 987corresponding tag value. All tags are enumerated by @code{enum Lisp_Type}
992and placed into a 3-bit bitfield of the @code{Lisp_Object}. The rest of the 988and placed into a 3-bit bitfield of the @code{Lisp_Object}. The rest of the
993bits is the value itself. Integers are immediate, i.e., directly 989bits is the value itself. Integers are immediate, i.e., directly
@@ -1019,18 +1015,13 @@ Symbol, the unique-named entity commonly used as an identifier.
1019 1015
1020@item struct Lisp_Float 1016@item struct Lisp_Float
1021Floating-point value. 1017Floating-point value.
1022
1023@item union Lisp_Misc
1024Miscellaneous kinds of objects which don't fit into any of the above.
1025@end table 1018@end table
1026 1019
1027 These types are the first-class citizens of an internal type system. 1020 These types are the first-class citizens of an internal type system.
1028Since the tag space is limited, all other types are the subtypes of either 1021Since the tag space is limited, all other types are the subtypes of
1029@code{Lisp_Vectorlike} or @code{Lisp_Misc}. Vector subtypes are enumerated 1022@code{Lisp_Vectorlike}. Vector subtypes are enumerated
1030by @code{enum pvec_type}, and nearly all complex objects like windows, buffers, 1023by @code{enum pvec_type}, and nearly all complex objects like windows, buffers,
1031frames, and processes fall into this category. The rest of special types, 1024frames, and processes fall into this category.
1032including markers and overlays, are enumerated by @code{enum Lisp_Misc_Type}
1033and form the set of subtypes of @code{Lisp_Misc}.
1034 1025
1035 Below there is a description of a few subtypes of @code{Lisp_Vectorlike}. 1026 Below there is a description of a few subtypes of @code{Lisp_Vectorlike}.
1036Buffer object represents the text to display and edit. Window is the part 1027Buffer object represents the text to display and edit. Window is the part