`
mryufeng
  • 浏览: 968473 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

R13B04在细化Binary heap

阅读更多
从github otp的更新日志可以清楚的看到otp R13B04在binary heap的细化上做了很多工作:

1. 提供参数 限制binary的最小limit.

2. binary_to_term 加多参数来保证安全, 对于外来binary解码的安全性检查 比如说 避免atom的滥用.

3. 更高效率的处理binary fragment.

4. 加强GC对binary碎片的回收操作.

这个对于服务器性能很大帮助.
分享到:
评论
3 楼 whrllm 2010-01-20  
老大,为什么我看到erlang主页上只有R13B03版本,你就已经分析道B04版本了,好强哦。
2 楼 mryufeng 2010-01-18  
    Documentation for the new beam start arguments:
        +hms Size, Default minimum heap size for processes.
        +hmbs Size, Default minimum binary virtual heap size.
1 楼 mryufeng 2010-01-18  
    OTP-8370  The default settings for garbage collection of binaries has been
              adjusted to be less aggressive than in R13B03. It is now also
              possible configure the settings for binary GC. See the
              documentation for spawn_opt/2-5, erlang:system_info/1,
              erlang:system_flag/2, process_flag/2-3, erlang:trace/3, and the
              documenation for erl for the new command line options +hms and
              +hmbs.

相关推荐

Global site tag (gtag.js) - Google Analytics