You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[codegen] Improve WB verification for allocation folding
So far for allocation folding we were simply checking whether the
object resides between the LAB start and LAB top in
PreCheckSkippedWriteBarrier. However, we can be more restrictive than
that and require that the object is between last_young_allocation_
and the LAB top.
Since last_young_allocation_ can point to a large object as well,
we also need to make sure that last_young_allocation_ points into the
LAB. This CL therefore checks whether the condition
LAB start <= last_young_allocation_ <= object < LAB top
holds.
Bug: 437096305
Change-Id: I5e0748ff553e337176ef07dbee21818cacfe8b10
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6959212
Reviewed-by: Darius Mercadier <[email protected]>
Commit-Queue: Dominik Inführ <[email protected]>
Cr-Commit-Position: refs/heads/main@{#102584}
0 commit comments