WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
279191
[TZone] Add annotations to unannotated subclasses
https://bugs.webkit.org/show_bug.cgi?id=279191
Summary
[TZone] Add annotations to unannotated subclasses
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
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2024-09-05 07:31:59 PDT
<
rdar://135344436
>
Michael Saboff
Comment 2
2024-09-05 07:44:13 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/33185
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.
Top of Page
Format For Printing
XML
Clone This Bug