Bug 279191

Summary: [TZone] Add annotations to unannotated subclasses
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: WebKit Misc.Assignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Michael Saboff
Reported 2024-09-05 07:29:26 PDT
The annotations for TZone record the size of a type so that the annotated type can be grouped with other types of the same size. A subclass that is not annotated will try to use its base class's size, that is fine if the subclass is the same size. The allocation stubs generated by the annotations handle the case where a "new" is larger than the generated stubs. This unfortunately this mismatched size case is slower than the normal path. This slow path can be improved, but adding annotations to such subclasses will always be faster. This tracks the annotations of subclasses discovered through testing.
Attachments
Michael Saboff
Comment 1 2024-09-05 07:31:59 PDT
Michael Saboff
Comment 2 2024-09-05 07:44:13 PDT
EWS
Comment 3 2024-09-06 17:22:45 PDT
Committed 283286@main (a0f848353139): <https://commits.webkit.org/283286@main> Reviewed commits have been landed. Closing PR #33185 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.