WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
199968
[JSC] Allow GC after lowering to B3
https://bugs.webkit.org/show_bug.cgi?id=199968
Summary
[JSC] Allow GC after lowering to B3
Yusuke Suzuki
Reported
2019-07-19 15:36:05 PDT
This is rough idea, I'm not sure whether it is already done, or it is possible. After lowering to B3, we do not have access to JS heap. And all the cell pointers must be collected in lowering phase by `freeze`. So, the idea is that, while optimizing things in B3, we are safe to be stopped at arbitrary time for GC.
Attachments
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2019-07-22 13:07:50 PDT
(In reply to Yusuke Suzuki from
comment #0
)
> This is rough idea, I'm not sure whether it is already done, or it is > possible. > After lowering to B3, we do not have access to JS heap. And all the cell > pointers must be collected in lowering phase by `freeze`. > So, the idea is that, while optimizing things in B3, we are safe to be > stopped at arbitrary time for GC.
This is already the case. We run all of this under a safe point
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