Bug 215512 - [ARMv7][JSC] Conservative GC is not considering `r7` as a root
Summary: [ARMv7][JSC] Conservative GC is not considering `r7` as a root
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Caio Lima
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-14 10:26 PDT by Caio Lima
Modified: 2020-08-14 12:14 PDT (History)
8 users (show)

See Also:


Attachments
Patch (1.75 KB, patch)
2020-08-14 10:38 PDT, Caio Lima
no flags Details | Formatted Diff | Diff
Patch (1.74 KB, patch)
2020-08-14 11:47 PDT, Caio Lima
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Caio Lima 2020-08-14 10:26:27 PDT
We need to consider callee-saved registers as a root for conservative GC, but we are skipping `r7` on ARMv7.
Comment 1 Caio Lima 2020-08-14 10:38:50 PDT
Created attachment 406603 [details]
Patch
Comment 2 Caio Lima 2020-08-14 10:40:30 PDT
The motivation for this patch is a crash on WPE 2.22 <https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/655>.
Comment 3 Yusuke Suzuki 2020-08-14 10:43:12 PDT
Comment on attachment 406603 [details]
Patch

r=me
Comment 4 Mark Lam 2020-08-14 10:43:41 PDT
Comment on attachment 406603 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=406603&action=review

> Source/JavaScriptCore/ChangeLog:8
> +        Since `r7` is a calle-saved register on ARMv7

/calle/callee/
Comment 5 Caio Lima 2020-08-14 11:47:49 PDT
Created attachment 406611 [details]
Patch
Comment 6 EWS 2020-08-14 12:13:26 PDT
Committed r265692: <https://trac.webkit.org/changeset/265692>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 406611 [details].
Comment 7 Radar WebKit Bug Importer 2020-08-14 12:14:18 PDT
<rdar://problem/67088331>