1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-06 20:20:20 +02:00
guile/api
Andy Wingo f1b660484e Remove gc_allocator_needs_clear
Whether the returned object needs to be cleared or not depends on a
couple things:
 - Whether the embedder actually needs the object to be cleared.
 - Whether the collector allocated the object from memory that was all
   zeroes already.

The goal of course would be to prevent clearing memory if the mutator
was just going to write all over it.  But it's hard to know statically
if the memory would have been all zeroes anyway, and in that case if you
did clear it you'd be doing double work.  In the end it's simpler to
just require collectors to clear memory in bulk.  We can revisit this
later if it is an issue.
2025-03-07 13:37:59 +01:00
..
bdw-attrs.h Remove gc_allocator_needs_clear 2025-03-07 13:37:59 +01:00
gc-api.h Remove gc_allocator_needs_clear 2025-03-07 13:37:59 +01:00
gc-assert.h Reorganize source tree and document 2023-08-06 12:04:33 +02:00
gc-attrs.h Remove gc_allocator_needs_clear 2025-03-07 13:37:59 +01:00
gc-basic-stats.h Reorder events in event listener; refactors to mmc and pcc 2024-09-10 10:55:38 +02:00
gc-collection-kind.h Allow embedder to request a major GC 2023-10-18 16:34:20 +02:00
gc-config.h nofl: Reclaim another mark bit if concurrent tracing is disabled 2025-03-05 17:17:55 +01:00
gc-conservative-ref.h Reorganize source tree and document 2023-08-06 12:04:33 +02:00
gc-edge.h Add gc_edge_address 2024-10-04 13:49:27 +02:00
gc-embedder-api.h Remove embedder requirement for per-object remset bits 2025-01-06 16:59:54 +01:00
gc-ephemeron.h Change gc_allocate_ephemeron to return struct gc_ephemeron 2023-09-11 11:48:32 +02:00
gc-event-listener-chain.h Reorder events in event listener; refactors to mmc and pcc 2024-09-10 10:55:38 +02:00
gc-event-listener.h Reorder events in event listener; refactors to mmc and pcc 2024-09-10 10:55:38 +02:00
gc-finalizer.h Add finalizers 2024-07-23 22:33:29 +02:00
gc-forwarding.h Remove "ABORTED" atomic forwarding state 2025-01-13 16:44:12 +01:00
gc-histogram.h Remove unused function 2023-12-10 22:08:05 +01:00
gc-inline.h Reorganize source tree and document 2023-08-06 12:04:33 +02:00
gc-lttng.h Steal becomes an instant event 2025-02-12 14:33:05 +01:00
gc-null-event-listener.h Reorder events in event listener; refactors to mmc and pcc 2024-09-10 10:55:38 +02:00
gc-options.h First version of adaptive heap sizing for pcc and mcc 2024-09-16 09:59:55 +02:00
gc-ref.h Explicitly support immediate values 2024-10-04 11:40:09 +02:00
gc-tracepoint.h Add build support for tracepoints via lttng-ust 2025-02-10 12:45:25 +01:00
gc-visibility.h Reorganize source tree and document 2023-08-06 12:04:33 +02:00
mmc-attrs.h Remove gc_allocator_needs_clear 2025-03-07 13:37:59 +01:00
pcc-attrs.h Remove gc_allocator_needs_clear 2025-03-07 13:37:59 +01:00
semi-attrs.h Remove gc_allocator_needs_clear 2025-03-07 13:37:59 +01:00