Archive

Posts Tagged ‘R13B04’

[Feb 24 2010] Erlang/OTP R13B04 has been released

February 25th, 2010 Comments off

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: [Feb 24 2010] Erlang/OTP R13B04 has been released

Erlang/OTP R13B04 has been released. R13B04 is a service release for R13B. There are mostly error corrections, but also some new functionality.
This is the first release after the introduction of the official Git repository at Github and it is amazing to notice that the number of contributions from the community has increased significantly. As many as 32 contributors have provided 1 or more patches each until now, resulting in 51 integrated patches from the open source community in this service release.
In addition to the contributions provided by the community we have the following examples of highlights in the release:

* The documentation can now be built from the source.
* The Native Implemented Functions (NIFs) are still in beta, but much enhanced.
* The garbage collection of binaries is further enhanced.
* Support for user defined prompt in the shell. A small but useful new function.
* Enhanced cross compilation support

*BUG fix版本,细细碎碎的改进了不少. 添加了个lcnt工具

Post Footer automatically generated by wp-posturl plugin for wordpress.

Categories: Erlang探索 Tags: , ,

R13B04 NIF improvements

February 16th, 2010 Comments off

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: R13B04 NIF improvements

OTP-8335 NIF improvements:

Driver API for multi-threading made available for NIFs.

Support for mempory managed (garbage collected) resource objects.
A way to pass “pointers” to native data structures between C and
Erlang in a safe way.

Various new functions, like enif_inspect_iolist_as_binary,
enif_make_sub_binary, enif_get_string, enif_get_atom,
enif_make_tuple_from_array, enif_make_list_from_array,
enif_make_existing_atom.

Post Footer automatically generated by wp-posturl plugin for wordpress.

Categories: Erlang探索 Tags: ,

R13B04 Add lock profiling tool: lcnt

February 11th, 2010 Comments off

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: R13B04 Add lock profiling tool: lcnt

在调试版本下 这个工具可以直观的看出你的Erlang程序所用到的锁,对于诊断问题和提高性能非常有帮助.

OTP-8424 Add lock profiling tool.

The Lock profiling tool, lcnt, can make use of the internal lock
statistics when the runtime system is built with this feature
enabled.

This provides a mechanism to examine potential lock bottlenecks
within the runtime itself.

– Add erts_debug:lock_counters({copy_save, bool()}). This option
enables or disables statistics saving for destroyed processes and
ets-tables. Enabling this might consume a lot of memory.

– Add id-numbering for lock classes which is otherwise undefined.

Post Footer automatically generated by wp-posturl plugin for wordpress.

Categories: Erlang探索 Tags: , ,

Erlang R13B04 Installation

January 28th, 2010 Comments off

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: Erlang R13B04 Installation

R13B04后erlang的源码编译为了考虑移植性,就改变了编译方式,以下是官方wiki上的安装文档:

1. Cloning

Here are the basic steps to build Erlang/OTP in the Git repository.
Start by cloning:

git clone git://github.com/erlang/otp.git


2. Building

Next, set ERL_TOP the environment variable:

cd otp
export ERL_TOP=`pwd`

The repository does not contain a generated configure file, so it must be generated like this:

./otp_build autoconf

before configure can be run. When the configure files has been generated, you can build in the usual way as described in the README file. Shortly:

./configure
make

3. To run the system you have built without installing it first:

$ERL_TOP/bin/erl 

Post Footer automatically generated by wp-posturl plugin for wordpress.

Categories: Erlang探索 Tags: , ,

R13B04在细化Binary heap

January 14th, 2010 2 comments

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: R13B04在细化Binary heap

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

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

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

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

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

这个对于服务器性能很大帮助.

Post Footer automatically generated by wp-posturl plugin for wordpress.

Categories: Erlang探索 Tags: , ,