SIGN IN SIGN UP

gh-129201: Use prefetch in GC mark alive phase. (gh-129203)

For the free-threaded version of the cyclic GC, restructure the "mark alive" phase to use software prefetch instructions.  This gives a speedup in most cases when the number of objects is large enough.  The prefetching is enabled conditionally based on the number of long-lived objects the GC finds.
N
Neil Schemenauer committed
cdcacec79f7a216c3c988baa4dc31ce4e76c97ac
Parent: 5fb019f
Committed by GitHub <noreply@github.com> on 2/5/2025, 7:38:30 PM