Summary: | [JSC] Use finalizer in JSGlobalLexicalEnvironment and JSGlobalObject | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||||||||||||||
Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||
Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, rniwa, webkit-bug-importer | ||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||
Attachments: |
|
Description
Yusuke Suzuki
2019-03-20 01:18:10 PDT
Created attachment 365326 [details]
Patch
Comment on attachment 365326 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365326&action=review > Source/JavaScriptCore/ChangeLog:12 > + memory / performance problems (actually, previously we used finalizer for ArrayPrototype due to the same reason, and it does not show any problems). BTW, I'm now planning to reorganize JSScope things to make JSScope cells non JSObject. Once it is done, we can remove this finalizer too (use destructible JSCell for JSGlobalLexcailEnvrionment, and JSDestrucitbleObject for JSGlobalObject). Comment on attachment 365326 [details] Patch Attachment 365326 [details] did not pass jsc-ews (mac): Output: https://webkit-queues.webkit.org/results/11578437 New failing tests: stress/regress-189028.js.no-cjit-validate-phases stress/regress-189028.js.bytecode-cache stress/regress-189028.js.ftl-eager-no-cjit stress/regress-189028.js.dfg-eager-no-cjit-validate stress/regress-189028.js.dfg-eager stress/regress-189028.js.ftl-no-cjit-no-inline-validate stress/regress-189028.js.no-llint stress/regress-189028.js.default stress/regress-189028.js.no-ftl stress/regress-189028.js.dfg-maximal-flush-validate-no-cjit stress/regress-189028.js.ftl-eager stress/regress-189028.js.ftl-no-cjit-small-pool stress/regress-189028.js.ftl-no-cjit-no-put-stack-validate stress/regress-189028.js.ftl-eager-no-cjit-b3o1 stress/regress-189028.js.ftl-no-cjit-b3o0 stress/regress-189028.js.ftl-no-cjit-validate-sampling-profiler stress/regress-189028.js.no-cjit-collect-continuously apiTests Created attachment 365363 [details]
Patch
Comment on attachment 365363 [details]
Patch
r=me.
Comment on attachment 365363 [details]
Patch
r=me too
Created attachment 365369 [details]
Patch
Fix WebCore side. Use cellHeapCellType since JSSegmentedVariableObject already set finalizer.
Created attachment 365371 [details]
Patch
Fix WebCore side. Use cellHeapCellType since JSSegmentedVariableObject already set finalizer.
Created attachment 365382 [details]
Patch
Comment on attachment 365382 [details] Patch Attachment 365382 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/11586909 New failing tests: http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html Created attachment 365438 [details]
Archive of layout-test-results from ews104 for mac-highsierra-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Comment on attachment 365382 [details] Patch Attachment 365382 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/11586830 New failing tests: fast/visual-viewport/ios/min-scale-greater-than-one.html Created attachment 365444 [details]
Archive of layout-test-results from ews122 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Created attachment 365480 [details]
Patch for landing
Comment on attachment 365480 [details]
Patch for landing
Oops, accidentally cleared r+.
(In reply to Build Bot from comment #13) > Created attachment 365444 [details] > Archive of layout-test-results from ews122 for ios-simulator-wk2 > > The attached test failures were seen while running run-webkit-tests on the > ios-sim-ews. > Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6 After checking these crashes, it seems unrelated. I'll land it after rechecking EWS status. Committed r243279: <https://trac.webkit.org/changeset/243279> |