Skip to content

rts: Initialize card table in newArray#

Ben Gamari requested to merge wip/T19143 into master

Previously we would leave the card table of new arrays uninitialized. This wasn't a soundness issue: at worst we would end up doing unnecessary scavenging during GC, after which the card table would be reset. That being said, it seems worth initializing this properly to avoid both unnecessary work and non-determinism.

Fixes #19143 (closed).

Merge request reports