Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
众所周知,firefox中有两种执行javascript的模式:解释器和JIT。我的问题是我是否可以在 linux 中构建 firefox 时禁用 JIT,如果可以,如何?任何有用的建议将不胜感激,谢谢!
使用 --disable-methodjit 配置选项可能会起作用:SpiderMonkey 支持它,但它是否会从主构建传播到 SpiderMonkey 配置步骤对我来说并不明显。
在没有 JIT 的情况下构建 Firefox 被破坏了。来源不仔细跟踪 ENABLE_JIT 和朋友。