elf dynstr 垃圾收集器
我想弄清楚编译 Firefox 3.6 时 elf dynstr 垃圾收集器的目的是什么?
我尝试使用 --enable-elf-dynstr-gc
和 --disable-elf-dynstr-gc
进行构建,文件的大小完全相同。
关于 elf dynstr 垃圾收集器的用途以及是否最好启用或禁用它有什么建议吗?
I am trying to figure out whats the purpose of elf dynstr garbage collector is when compiling Firefox 3.6?
I have tried to build with both --enable-elf-dynstr-gc
and --disable-elf-dynstr-gc
the size of the files is exactly the same.
Any suggestions on what the purpose of elf dynstr garbage collector is and if it is best to enable or disable it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该程序应该从 ELF 二进制文件的 .dynstr 部分删除未使用的字符串(请参阅源代码中的注释)据我所知,现在默认情况下它是禁用的,甚至在 64 位版本上都不起作用,所以我我不认为这非常重要。是的,Mozilla 有很多过时的配置选项和遗留代码。不,翻阅它们并尝试找到作弊代码并不重要。默认设置已经过很好的测试,很可能它们就是您想要使用的。 Firefox 版本是使用一个非常小的集合构建的选项。为什么我们要忽略一些能让浏览器更快或更小的东西呢?
This program is supposed to remove unused strings from the .dynstr section of ELF binaries (see the comment in the source) As far as I know, it's disabled by default nowadays, and doesn't even work on 64-bit builds, so I don't think it's terribly important. Yes, Mozilla has a lot of outdated configure options and legacy code. No, it's not important to poke around at them and try to find the cheat codes. The default settings have been pretty well tested and odds are they're what you want to use. Release Firefox builds are built with a pretty minimal set of options. Why would we leave out a bunch of things that would make the browser faster or smaller?