aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
AgeCommit message (Collapse)Author
2013-04-02Merge branch 'sverk/meta-trace-leak' into maintSverker Eriksson
* sverk/meta-trace-leak: erts: Fix memleak related to meta tracing OTP-10997
2013-03-27Merge branch 'lukas/erts/efile_delayed_write_fix/OTP-10984' into maintLukas Larsson
* lukas/erts/efile_delayed_write_fix/OTP-10984: Do driver_deq in worker threads instead of async_ready
2013-03-18Add dependency to dtrace header for parallell makePatrik Nyblom
2013-03-13Do driver_deq in worker threads instead of async_readyLukas Larsson
Doing it in async_ready was needed before the pdl was introduced, but now with the pdl the deq no longer needs the port lock to protect it. This was not an issue when async_ready was called in the worker thread, but now (R15B) that it is signalled back to the scheduler, some very nasty race conditions could occur when using driver_timer and async jobs.
2013-03-08compilation fix for NetBSDYAMAMOTO Takashi
spells __NetBSD__ correctly.
2013-03-07Merge branch 'egil/fix-mseg_dealloc-arguments/OTP-10912' into maintBjörn-Egil Dahlberg
* egil/fix-mseg_dealloc-arguments/OTP-10912: erts: Fix refactor error in mseg
2013-03-05erts: Fix refactor error in msegBjörn-Egil Dahlberg
Faulty number of arguments to mseg_dealloc. Problem arises if we try to compile halfword on operating system which do not have mremap. Not a supported case.
2013-03-04erts: Fix void * arithmeticBjörn-Egil Dahlberg
2013-03-04erts: gcc ansi does not allow 'inline'Björn-Egil Dahlberg
2013-03-04erts: Use block comments - ansi styleBjörn-Egil Dahlberg
2013-03-04hipe: Use block comments - ansi styleBjörn-Egil Dahlberg
2013-02-28erts: Fix memleak related to meta tracingSverker Eriksson
2013-02-25Merge branch 'sverk/halfword-loading-crash'Sverker Eriksson
* sverk/halfword-loading-crash: erts: Fix crash on halfword and code_SUITE:big_boot_embedded OTP-10896
2013-02-25Merge branch 'lukas/erts/add_ERL_MAX_PORTS_env/OTP-10895'Lukas Larsson
* lukas/erts/add_ERL_MAX_PORTS_env/OTP-10895: Undo removal of ERL_MAX_PORTS os variable
2013-02-25Undo removal of ERL_MAX_PORTS os variableLukas Larsson
2013-02-25Set default max ports on win32 to 8192Lukas Larsson
2013-02-25erts: Fix crash on halfword and code_SUITE:big_boot_embeddedSverker Eriksson
2013-02-23Merge branch 'rickard/win-drv-bugfix/OTP-10803'Rickard Green
* rickard/win-drv-bugfix/OTP-10803: Fix close_active_handle() properly
2013-02-22Merge branch 'egil/win-efile-bugfix/OTP-10890'Björn-Egil Dahlberg
* egil/win-efile-bugfix/OTP-10890: erts: Use correct type for ReadFile bytes read
2013-02-22Update copyright yearsBjörn-Egil Dahlberg
2013-02-22erts: Use correct type for ReadFile bytes readBjörn-Egil Dahlberg
Using a 64bit type for bytes read will not always clear the higher bits.
2013-02-22Merge branch 'rickard/r16b/port-leak/OTP-10809'Rickard Green
* rickard/r16b/port-leak/OTP-10809: Fix port structure leak when hitting system limit
2013-02-22Merge branch 'sverk/win-64-pointer-fix'Sverker Eriksson
* sverk/win-64-pointer-fix: erts: Correct term type for printf %T erts: Correct internal printf integer type for win64 erts: Correct some printf type formatting erts: Fix type bug in get_proc_affinity for windows OTP-10887 Forgot this ticket for sverk/erlang_pid-revert: OTP-10885
2013-02-22Fix close_active_handle() properlyRickard Green
2013-02-22Merge branch 'pan/unicode_printable_ranges'Patrik Nyblom
* pan/unicode_printable_ranges: Adapt stdlib tests to ~tp detecting latin1 binaries Update primary bootstrap Make wx debugger use +pc flag when applicable Correct misspelled comments and space at lin ends Make ~tp output latin1 binaries as strings if possible Leave the +pc handling to io and io_lib_pretty Remove newly introduced warning in erlexec.c Make shell_SUITE:otp_10302 use +pc unicode when needed Fix io_proto_SUITE to handle the new io_lib_pretty:print Add testcase for +pc and io:printable_range/0 Make printing of UTF-8 in binaries behave like lists. Document +pc flag and io:printable_range/0 Add usage of and spec for io:printable_range/0 Add +pc {latin1|unicode} switch and io:printable_range/0 Fix some Unicode issues OTP-18084
2013-02-21Merge branch 'rickard/r16b/thread-queue-fix/OTP-10854'Rickard Green
* rickard/r16b/thread-queue-fix/OTP-10854: Fix lost enqueue notification Use dirty read instead of union which can be unsafe on some platforms Add atomic dirty read and dirty set operations
2013-02-21erts: Correct term type for printf %TR. Blaine Whittle
2013-02-21erts: Correct internal printf integer type for win64R. Blaine Whittle
2013-02-21Merge branch 'sverk/tcp-exit_on_close-false'Sverker Eriksson
* sverk/tcp-exit_on_close-false: inet_drv: Fix condition to reject INET_REQ_IGNOREFD for UDP and SCTP A stab at fixing bug with {exit_on_close,false} not working
2013-02-21Merge branch 'lukas/erts/fix_non_smp_shell_sws/OTP-10661'Lukas Larsson
* lukas/erts/fix_non_smp_shell_sws/OTP-10661: Fix bug where +sws proposal was still allowed to be set
2013-02-21Merge branch 'lukas/erts/efile_iter_max_files'Lukas Larsson
* lukas/erts/efile_iter_max_files: Move test to slave node with limited ports
2013-02-21Fix port structure leak when hitting system limitRickard Green
2013-02-21Merge branch 'rickard/thread-queue-fix/OTP-10854' into ↵Rickard Green
rickard/r16b/thread-queue-fix/OTP-10854 Conflicts: erts/emulator/beam/erl_threads.h
2013-02-21Fix lost enqueue notificationRickard Green
2013-02-21Use dirty read instead of union which can be unsafe on some platformsRickard Green
2013-02-20Merge branch 'ks/hipe_bif-remove_refs_from/OTP-10851'Fredrik Gustafsson
* ks/hipe_bif-remove_refs_from/OTP-10851: Fixed test to allow for lists:foreach/2 call Change the return value of hipe_bifs:remove_refs_from/1
2013-02-20Merge branch 'egil/fix-atom-hash/OTP-10860'Björn-Egil Dahlberg
* egil/fix-atom-hash/OTP-10860: tests: Testing hash values of unicode atoms erts: Fix atom hash for latin1 characters tests: Add latin1 chars atom test
2013-02-20Merge branch 'sverk/is_module_native-fix'Sverker Eriksson
* sverk/is_module_native-fix: erts: Fix code:is_module_native OTP-10870
2013-02-20erts: Correct some printf type formattingSverker Eriksson
Using %p, %bpx and %bex for pointers, UWords and Uint.
2013-02-19Fix bug where +sws proposal was still allowed to be setLukas Larsson
This only applied to non-smp systems
2013-02-19Move test to slave node with limited portsLukas Larsson
2013-02-19tests: Testing hash values of unicode atomsBjörn-Egil Dahlberg
* 'ᚠᚡᚢᚣᚤᚥᚦᚧᚨᚩᚪᚫᚬᚭᚮᚯᚰᚱᚲᚳᚴᚵᚶᚷᚸᚹᚺᚻᚼᚽᚾᚿᛀᛁᛂᛃᛄᛅᛆᛇᛈᛉᛊᛋᛌᛍᛎᛏᛐᛑᛒᛓᛔᛕᛖᛗᛘᛙᛚᛛᛜᛝᛞᛟᛠᛡᛢᛣᛤᛥᛦᛧᛨᛩᛪ᛫᛬᛭ᛮᛯᛰ' * 'åäö' * '゙゚゛゜ゝゞゟ゠ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズ' * '😃'
2013-02-19erts: Fix atom hash for latin1 charactersBjörn-Egil Dahlberg
Non ASCII latin1 characters were hashed as utf8 which breaks compatability.
2013-02-19tests: Add latin1 chars atom testBjörn-Egil Dahlberg
2013-02-18erts: Fix code:is_module_nativeSverker Eriksson
code:is_module_native returned false for hipe compiled module if the first function in the module was a BIF stub
2013-02-18noncharacter code points are allowedLukas Larsson
2013-02-18Merge branch 'lukas/erts/file_read_line_opt/OTP-10859'Lukas Larsson
* lukas/erts/file_read_line_opt/OTP-10859: invoke_read_line now remembers read_ahead settings
2013-02-18Add +pc {latin1|unicode} switch and io:printable_range/0Patrik Nyblom
This is the base for implementing configurable ~tp printouts, so that the user can define which characters to view as actually printable in the shell and by io_lib:format. The functionality is neither documented nor used in this commit
2013-02-18Add atomic dirty read and dirty set operationsRickard Green
2013-02-15Merge branch 'lukas/erts/add_sha_to_shell_title/OTP-10838'Lukas Larsson
* lukas/erts/add_sha_to_shell_title/OTP-10838: Remove could not find warning