Permalink
Commits on Aug 6, 2012
  1. compile_SUITE: Correct the forms_2 test case to work on Windows

    Correct the forms_2 test case introduced in 2d785c0 so
    that it will work on Windows. As originally written, the test case
    assumed that filename:absname("/foo/bar") would return "/foo/bar",
    which is not true on Windows (typically, the result will be
    "c:/foo/bar").
    
    While at it, clean up indentation, the overlong line, and comments.
    bjorng committed Aug 2, 2012
Commits on Jul 31, 2012
  1. Merge branch 'rickard/cerl-emacs-gdb' into maint

    * rickard/cerl-emacs-gdb:
      Use annotate level 1 for 'gdb' with 'emacs' in 'cerl'
    rickard-green committed Jul 31, 2012
  2. Merge branch 'rickard/proc-lock-queues/OTP-10163' into maint

    * rickard/proc-lock-queues/OTP-10163:
      Use static allocation of process lock queues
    rickard-green committed Jul 31, 2012
  3. Merge branch 'rickard/dealloc/OTP-10162' into maint

    * rickard/dealloc/OTP-10162:
      Improve the enqueue operation of delayed dealloc
      Implement delayed aux work wake up
    rickard-green committed Jul 31, 2012
  4. Use static allocation of process lock queues

    By using statically allocated lock queues there is no longer
    any need for locking corresponding pix lock when process
    locks have been transferred after a wait. This costs us 3 words
    extra in process structure, but improves performance during
    contention.
    rickard-green committed Jul 25, 2012
  5. Improve the enqueue operation of delayed dealloc

    The enqueue operation have been re-written to behave better
    during heavy contention by spreading writes over multiple
    locations. This enqueue operation also take advantage of the
    delayed aux work wake up functionality and can by this omit
    one memory barrier.
    rickard-green committed Jul 19, 2012
  6. Implement delayed aux work wake up

    By using a delayed aux work wake up approach, a memory barrier
    can be omitted in the delayed dealloc enqueue operation. The
    amount of operations, on the potentially contended, wake up
    structure is also reduced.
    rickard-green committed Jul 25, 2012
Commits on Jul 27, 2012
Commits on Jul 25, 2012
  1. Merge branch 'egil/change-os_mon-ports-error-messages/OTP-10161' into…

    … maint
    
    * egil/change-os_mon-ports-error-messages/OTP-10161:
      os_mon: Elucidate port program error messages
    psyeugenic committed Jul 25, 2012
  2. Merge branch 'egil/fix-install-osx-readme' into maint

    * egil/fix-install-osx-readme:
      Clean up Install Erlang on OSX
    psyeugenic committed Jul 25, 2012
  3. Merge branch 'egil/fix-inet-bit8-doc' into maint

    * egil/fix-inet-bit8-doc:
      doc: Fix faulty tag in inet bit8 documentation
    psyeugenic committed Jul 25, 2012
Commits on Jul 24, 2012
  1. os_mon: Elucidate port program error messages

    Try to avoid confusion of the message 'Erlang has closed' by
    clarifying that the message is sent from os_mon port programs.
    psyeugenic committed Jul 24, 2012
Commits on Jul 19, 2012
  1. Merge branch 'lukas/common_test/surefire_fix_skipped_end/OTP-10158' i…

    …nto maint
    
    * lukas/common_test/surefire_fix_skipped_end/OTP-10158:
      Fix bug where auto skipped tcs would disappear
      Allow non configlist returns from other cths
      Fix close of suite when end_per_suite is skipped
    garazdawi committed Jul 19, 2012
  2. Merge branch 'lukas/common_test/ct_notify/OTP-10157' into maint

    * lukas/common_test/ct_notify/OTP-10157:
      Add ct:notify and ct:sync_notify
    garazdawi committed Jul 19, 2012
Commits on Jul 18, 2012
  1. Update preloaded

    proxyles committed Jul 18, 2012
  2. Merge branch 'ta/prim_archive-reloading' into maint

    * ta/prim_archive-reloading:
      escript_SUITE: remove gratuitous space
      [erts,kernel,stdlib] fix escript/primary archive reloading
    
    Conflicts:
    	erts/preloaded/src/erl_prim_loader.erl
    
    OTP-10151
    proxyles committed Jul 18, 2012
  3. Merge branch 'ms/correct-formating-in-exit' into maint

    * ms/correct-formating-in-exit:
      Correct formating in exit error messages
    
    OTP-10148
    proxyles committed Jul 18, 2012
  4. Merge branch 'tc/rpc-call-fix' into maint

    * tc/rpc-call-fix:
      Fix rpc:call/5 for local calls with a finite Timeout
    
    OTP-10149
    proxyles committed Jul 18, 2012
  5. Merge branch 'jv/forms-source' into maint

    * jv/forms-source:
      Allow the source to be set when compiling forms
    
    OTP-10150
    proxyles committed Jul 18, 2012
  6. Merge branch 'at/fix_asn1_typo' into maint

    * at/fix_asn1_typo:
      Fix typo error in selected decode function
    
    OTP-10152
    proxyles committed Jul 18, 2012
Commits on Jul 16, 2012
  1. Merge branch 'hb/erl_docgen/cref_spaces/OTP-10138' into maint

    * hb/erl_docgen/cref_spaces/OTP-10138:
      erts: add space before '*' in some function prototypes
      ic: add space before '*' in some function prototypes
      Fix a bug regarding spaces in C function prototypes
    uabboli committed Jul 16, 2012
Commits on Jul 11, 2012
  1. Merge branch 'siri/erl_prim_loader/archive-scripts/OTP-10071' into maint

    * siri/erl_prim_loader/archive-scripts/OTP-10071:
      Update preloaded
      Add tests for problems with handling of primary archive
      Add comments to make erl_prim_loader primary archive handling more readable
      Fix erl_prim_loader errors in handling of primary archive
    sirihansen committed Jul 11, 2012
  2. Fix a bug regarding spaces in C function prototypes

    Thanks to Richard O'Keefe for pointing the bug out.
    uabboli committed Jul 5, 2012
Commits on Jul 10, 2012
  1. Merge branch 'gustav/stdlib/gen_server_enter_loop_global_scope/OTP-10…

    …130' into maint
    
    * gustav/stdlib/gen_server_enter_loop_global_scope/OTP-10130:
      Change testcase of gen_server:enter_loop/4 with global scope to match on result of a gen_server:call/2
      Correct guard matching in gen_server:enter_loop/4 to match global scope in ServerName without timeout.
    Gustav Simonsson committed Jul 10, 2012
  2. Update preloaded

    erl_prim_loader.beam
    sirihansen committed Jul 9, 2012
  3. Add tests for problems with handling of primary archive

    Thanks to Tuncer Ayaz for co-authoring.
    sirihansen committed Jul 9, 2012
Commits on Jul 9, 2012
  1. Add comments to make erl_prim_loader primary archive handling more re…

    …adable
    
    This commit introduces no functional change. It only adds comments and
    changes some function/variable names.
    sirihansen committed Jul 9, 2012
  2. Fix erl_prim_loader errors in handling of primary archive

    The following errors have been corrected:
    
    * If primary archive was named "xxx", then a file in the same
      directory named "xxxyyy" would be interpreted as a file named yyy
      inside the archive.
    
    * erl_prim_loader did not correctly create and normalize absolute
      paths for primary archive and files inside it, so unless given with
      exact same path files inside the archive would not be found. E.g. if
      escript was started as /full/path/to/xxx then "./xxx/file" would not
      be found since erl_prim_loader would try to match /full/path/to/xxx
      with /full/path/to/./xxx. Same problem with ../.
    
    * Depending on how the primary archive was built,
      erl_prim_loader:list_dir/1 would sometimes return an empty string
      inside the file list. This was a virtual element representing the
      top directory of the archive. This has been removed.
    
    Thanks to Tuncer Ayaz and Shunichi Shinohara for reporting and
    co-authoring corrections.
    sirihansen committed Jul 9, 2012
Commits on Jul 6, 2012
  1. [erts,kernel,stdlib] fix escript/primary archive reloading

    If the mtime of an escript/primary archive file changes after being
    added to the code path, correctly reload the archive and update the
    cache.
    
    The existing code didn't consider that it might be a zip archive and failed:
    
        =ERROR REPORT==== 3-Aug-2011::09:21:21 ===
        File operation error: bad_central_directory. Target:
        /escript_archive/module.beam. Function: get_file. Process: code_server.
    
    Thanks David Reid and Hakan Mattson.
    tuncer committed Sep 1, 2011