WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
174645
Reduce memory usage during OSR
https://bugs.webkit.org/show_bug.cgi?id=174645
Summary
Reduce memory usage during OSR
Mark Lam
Reported
2017-07-18 16:30:58 PDT
Details coming. <
rdar://problem/33183238
>
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2017-07-18 16:35:58 PDT
Currently, when we have to do an OSR exit (DFG->baseline or FTL->baseline), we generate >=1kb of machine code that does the exit. We don’t need to generate any code for every exit; we could just have one shared JIT probe that calls a C++ function that does the exit. This would save a lot of executable memory. This also means that supporting the JIT probe mechanism will be required in order to use the DFG and FTL going forward. Currently, the only CPU targets that support the JIT probe are ARM, ARMv7, ARM64, x86, and x86_64.
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