Bug 224618 - [JSC] Remove RareCaseProfile
Summary: [JSC] Remove RareCaseProfile
Status: RESOLVED DUPLICATE of bug 225983
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-15 12:51 PDT by Yusuke Suzuki
Modified: 2021-05-19 14:55 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2021-04-15 12:51:43 PDT
RareCareProfile is only used for add, to_this, sub and mod, while we are allocating it for all bytecodes having slowcases in JIT.
And since each RareCaseProfile has 8 bytes, this is too large for this rare case counter.

We should do some of these things.

1. We should consider putting very small counter (uint8_t or less) in Metadata for these opcodes.
2. And/Or we should put this counter in IC's data structure.
Comment 1 Radar WebKit Bug Importer 2021-04-22 12:52:17 PDT
<rdar://problem/77033452>
Comment 2 Yusuke Suzuki 2021-05-19 14:55:19 PDT

*** This bug has been marked as a duplicate of bug 225983 ***