Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JSC] Disallow freezing only when allowing GC #20118

Conversation

@Constellation Constellation requested a review from a team as a code owner November 7, 2023 19:17
@Constellation Constellation self-assigned this Nov 7, 2023
@Constellation Constellation added the JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues. label Nov 7, 2023
Copy link
Contributor

@justinmichaud justinmichaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@Constellation Constellation added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 7, 2023
https://bugs.webkit.org/show_bug.cgi?id=264353
rdar://118069302

Reviewed by Justin Michaud.

It turned out that DFG clobberize does freeze, and it is used for DFG dump.
But we do not run it while running B3 of course, so this patch disallows freezing only when we are allowing GC for B3.

* Source/JavaScriptCore/ftl/FTLCompile.cpp:
(JSC::FTL::compile):

Canonical link: https://commits.webkit.org/270341@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/JSC-Disallow-freezing-only-when-allowing-GC branch from 19833cc to c181ce5 Compare November 7, 2023 19:34
@webkit-commit-queue
Copy link
Collaborator

Committed 270341@main (c181ce5): https://commits.webkit.org/270341@main

Reviewed commits have been landed. Closing PR #20118 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit c181ce5 into WebKit:main Nov 7, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues.
Projects
None yet
4 participants