| Summary: | interpret op_profile_type in the LLInt instead of unconditionally calling into the slow path | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> | ||||||
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Saam Barati
2015-01-06 18:56:36 PST
Created attachment 244201 [details]
patch
Comment on attachment 244201 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=244201&action=review r=me > Source/JavaScriptCore/runtime/CommonSlowPaths.cpp:623 > + vm.typeProfilerLog()->processLogEntries(ASCIILiteral("LLInt log full.")); You might want to change the string to simply "log full". I assume we'll expand this to at least the baseline JIT. Created attachment 244221 [details]
patch
Fixed bug on 32-bit asm. loadisFromInstrution had the wrong index.
> You might want to change the string to simply "log full". I assume we'll
> expand this to at least the baseline JIT.
The baseline JIT calls into a different operation when the log is full, passing a string indicating the log filled up while inside the baseline JIT. It's nice, when viewing performance of the log, to determine where TypeProfilerLog::processLogEntries is being called from.
Comment on attachment 244221 [details] patch Clearing flags on attachment: 244221 Committed r178073: <http://trac.webkit.org/changeset/178073> All reviewed patches have been landed. Closing bug. |