~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to system/doc/efficiency_guide/processes.xml

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<chapter>
5
5
  <header>
6
6
    <copyright>
7
 
      <year>2001</year><year>2009</year>
 
7
      <year>2001</year><year>2011</year>
8
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
9
9
    </copyright>
10
10
    <legalnotice>
105
105
      <seealso marker="erts:erlang#spawn_opt/4">spawn_opt/4</seealso>.</p>
106
106
 
107
107
      <p>The gain is twofold: Firstly, although the garbage collector will
108
 
      grow the heap, it will it grow it step by step, which will be more
 
108
      grow the heap, it will grow it step by step, which will be more
109
109
      costly than directly establishing a larger heap when the process
110
110
      is spawned. Secondly, the garbage collector may also shrink the
111
111
      heap if it is much larger than the amount of data stored on it;
172
172
      <p>Shared sub-terms are <em>not</em> preserved when a term is sent
173
173
      to another process, passed as the initial process arguments in
174
174
      the <c>spawn</c> call, or stored in an ETS table.
175
 
      That is an optimization. Most applications do not send message
 
175
      That is an optimization. Most applications do not send messages
176
176
      with shared sub-terms.</p>
177
177
 
178
178
      <p>Here is an example of how a shared sub-term can be created:</p>
237
237
  <section>
238
238
    <title>The SMP emulator</title>
239
239
 
240
 
    <p>The SMP emulator (introduced in R11B) will take advantage of
241
 
    multi-core or multi-CPU computer by running several Erlang schedulers
 
240
    <p>The SMP emulator (introduced in R11B) will take advantage of a
 
241
    multi-core or multi-CPU computer by running several Erlang scheduler
242
242
    threads (typically, the same as the number of cores). Each scheduler
243
243
    thread schedules Erlang processes in the same way as the Erlang scheduler
244
244
    in the non-SMP emulator.</p>