1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

49766 commits

Author SHA1 Message Date
Gerd Möllmann
c93accefd5 Refactoring 2024-06-14 10:12:14 +02:00
Gerd Möllmann
8d0bce3e85 Record times differently 2024-06-14 10:12:14 +02:00
Gerd Möllmann
399e077650 igc_const_cast 2024-06-14 10:12:14 +02:00
Gerd Möllmann
0f42efc428 Refactoring 2024-06-14 10:12:13 +02:00
Gerd Möllmann
5754633ebc WIP 2024-06-14 10:12:13 +02:00
Gerd Möllmann
a4000e8a81 WIP 2024-06-14 10:12:13 +02:00
Gerd Möllmann
c9b85c4516 More refactoring 2024-06-14 10:12:13 +02:00
Gerd Möllmann
8abca66ede Refactoring 2024-06-14 10:12:13 +02:00
Gerd Möllmann
3db26bd22f WIP 2024-06-14 10:12:13 +02:00
Gerd Möllmann
931dc7c27c WIP 2024-06-14 10:12:13 +02:00
Gerd Möllmann
597668503c WIP 2024-06-14 10:12:13 +02:00
Gerd Möllmann
c105d0e947 WIP 2024-06-14 10:12:13 +02:00
Gerd Möllmann
d2ce3388fd WIP 2024-06-14 10:12:12 +02:00
Gerd Möllmann
d3e76deff6 Vector statistics 2024-06-14 10:12:12 +02:00
Gerd Möllmann
d9830156fb WIP 2024-06-14 10:12:12 +02:00
Gerd Möllmann
a09e5827a0 WIP 2024-06-14 10:12:12 +02:00
Gerd Möllmann
790e99b2b8 Make it build again 2024-06-14 10:12:12 +02:00
Gerd Möllmann
c77cf64d7c Revert "Remove copying/mirroring code"
This reverts commit 002f1351af7fc4c3b54e4a76309608b7e4e529eb.
2024-06-14 10:12:12 +02:00
Gerd Möllmann
219f7d5ce2 emacs_lldb.py: reflect PVEC changes 2024-06-14 10:12:12 +02:00
Gerd Möllmann
2e49bbf181 Park arena initially 2024-06-04 06:09:57 +02:00
Gerd Möllmann
258fba4e7f Minor cleanup 2024-05-30 19:18:15 +02:00
Gerd Möllmann
5ad7ca2dbd Reduce use of goto 2024-05-30 07:32:27 +02:00
Gerd Möllmann
ff7188f087 Scan ppstack differently 2024-05-30 07:22:27 +02:00
Gerd Möllmann
3c3257a9a8 Scan prstack differently 2024-05-30 06:51:36 +02:00
Gerd Möllmann
ee541e36b0 Handle SAFE_ALLOCA_LISP 2024-05-29 21:36:33 +02:00
Gerd Möllmann
b43d74ec74 Scan rdstack differently 2024-05-29 15:46:47 +02:00
Helmut Eller
0be0d5ad5d Return information about the arena for igc-info
* src/igc.c (Figc_info): Include mps_arena_committed and other arena
related information.
2024-05-29 15:17:00 +02:00
Helmut Eller
d695133791 For igc-info, include information about leaf objects
* src/icg.c (Figc_info): Also walk the leaf pool.
2024-05-29 15:17:00 +02:00
Helmut Eller
516282d97e No need to fix the markers field twice
* src/igc.c (fix_buffer):
2024-05-29 15:17:00 +02:00
Helmut Eller
e20eb76c8e Use igc_make_byte_vec for hash tables
This avoids the need for finalization.

* src/alloc.c (hash_table_alloc_bytes, hash_table_free_bytes): Delegate to
igc_make_byte_vec.
* src/igc.c (fix_hash_table): Fix hash, next, and index vectors.
(finalize_hash_table): Delete. No longer needed.
(finalize_vector, maybe_finalize): Remove finalizers for hash tables.
2024-05-29 15:17:00 +02:00
Helmut Eller
b679444842 Add a igc_make_byte_vec function
This is like igc_make_ptr_vec but for bytes.  The header used is
IGC_OBJ_STRING_DATA.  Perhaps that should be renamed.

* src/igc.h (igc_make_byte_vec): New.
* src/igc.c (igc_make_byte_vec): Implement it.
2024-05-29 15:17:00 +02:00
Gerd Möllmann
6ffadd9209 Avoid memcpy'ing too much, igc_grow_ptr_vec 2024-05-28 17:39:54 +02:00
Gerd Möllmann
5c2ab22040 Don't try to destroy non-existent root 2024-05-28 17:39:37 +02:00
Gerd Möllmann
24aff71551 SPECPDL_FREE 2024-05-28 17:39:06 +02:00
Gerd Möllmann
e05be63c24 Alloc handlers from MPS 2024-05-28 17:37:36 +02:00
Gerd Möllmann
20305fea36 Make being_printed an exact root 2024-05-26 12:16:04 +02:00
Gerd Möllmann
4a84653b72 Fix build with --eanble-checking=all 2024-05-26 09:48:47 +02:00
Gerd Möllmann
9aa3e693d1 Fix MPS build 2024-05-26 09:36:36 +02:00
Gerd Möllmann
83d19157ab Fix non-MPS build 2024-05-26 09:31:15 +02:00
Gerd Möllmann
c5268618e3 Merge branch 'master' into scratch/igc 2024-05-26 09:27:03 +02:00
Po Lu
74ceb6922c Address compilation errors and warnings on x86 Solaris 10 systems
* doc/misc/ede.texi (Extending EDE):

* doc/misc/flymake.texi (Top, Using Flymake): Insert punctuation
after xrefs.

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Print
number of files being scraped.

* src/dired.c (directory_files_internal):

* src/eval.c (Fmake_interpreted_closure, Fdefvaralias):

* src/fns.c (Fassoc): Work around optimizer failures.
2024-05-26 11:50:45 +08:00
Andrea Corallo
129c6778e6 * src/Makefile.in (ELN_DESTDIR, BIN_DESTDIR): Give a default (bug#70842). 2024-05-25 17:20:47 +02:00
Gerd Möllmann
63f2db2380 Fix print_preprocess for sub char tables 2024-05-25 15:41:58 +02:00
Eli Zaretskii
ed7e576975 Merge from origin/emacs-29
4f0121f8db Avoid assertion violations in displaying under 'outline-m...
1bf6583662 Improve documentation of 'no-special-glyphs' frame parameter
3647645e94 Fix Python font lock of chained assignment statement
3291dea441 Fix example in Calc manual
350ae75f5c Avoid crashes on MS-Windows due to invalid UNC file names
ccf8dba44a ; * lisp/face-remap.el (text-scale-adjust): Doc fix.
5ab144c77c ; Improve documentation of backing up files
2024-05-25 08:00:48 -04:00
Eli Zaretskii
4f0121f8db Avoid assertion violations in displaying under 'outline-minor-mode'
* src/xdisp.c (init_from_display_pos): Initialize BYTEPOS
correctly, since 'init_iterator' no longer computes it from
CHARPOS as needed.  This fixes a change made on Mar 13, 2013.
(Bug#71194)
2024-05-25 14:23:43 +03:00
Helmut Eller
25536c74e2 Safer use of ppstack
In print_pp_entry, the u.values fields holds a pointer into the interior
of a vectorlike object.  This doesn't work for a moving GC.  It's safer
to keep the original object and access it with AREF.

* print.c (print_pp_entry): Add a vectorlike variant to the union.
(scan_ppstack, pp_stack_push_values, print_preprocess): Update accordingly.
2024-05-24 16:25:03 +02:00
Helmut Eller
f671435fc8 For igc_xpalloc_exact, make PA an in-out parameter
Because igc_xpalloc_exact uses mps_arena_release the scan_area callback
may be called before igc_xpalloc_exact returns.  With an in-out
parameter, the client has the option to receive the new address before
the igc_xpalloc_exact returns.

* src/igc.h (igc_xpalloc_exact): Change the type of PA.
* src/igc.c (igc_xpalloc_exact): Implement the new protocol.
* src/print.c (grow_pp_stack, grow_print_stack): Update accordingly.
2024-05-24 16:25:03 +02:00
Andrea Corallo
e650a04dc4 * src/comp.c (check_comp_unit_relocs): Remove unneccesary double access. 2024-05-24 08:38:44 +02:00
Helmut Eller
15271ea88e Register roots for comp units earlier 2024-05-23 18:27:23 +02:00
Gerd Möllmann
1b16c64669 Don't make a root for other non-existent relocs 2024-05-23 10:17:31 +02:00