aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2014-08-28Merge branch 'maint'Marcus Arendt
2014-08-28Merge branch 'tuncer/misspelled-another' into maintMarcus Arendt
* tuncer/misspelled-another: Fix misspellings of 'another'
2014-08-25Fix misspellings of 'another'Tuncer Ayaz
2014-08-22Fix ERTS_POLL_DEBUG_PRINT usageMichael Truog
2014-08-22Update preloaded erlang.beamBjörn-Egil Dahlberg
2014-08-22erts: Document erlang:get_keys/0Björn-Egil Dahlberg
2014-08-22erts: Add spec for erlang:get_keys/0Björn-Egil Dahlberg
2014-08-22erts: Add BIF erlang:get_keys/0Björn-Egil Dahlberg
Returns a list of all keys in the process dictionary.
2014-08-22Fix busy_port_SUITE:io_to_busy test-caseRickard Green
2014-08-22Ensure "runnable port" trace messages are not sent out of orderRickard Green
2014-08-22Ensure "runnable proc" trace messages are not sent out of orderRickard Green
2014-08-21Merge branch 'maint'Björn-Egil Dahlberg
2014-08-21Merge branch 'egil/proc_lib-optimizations/OTP-12060' into maintBjörn-Egil Dahlberg
* egil/proc_lib-optimizations/OTP-12060: stdlib: Update dependencies to erts-6.2 erts: Update preloaded erlang.beam stdlib: Use erlang:fun_info_mfa/1 in proc_lib:init_p/3 erts: Test erlang:fun_info_mfa/1 erts: Introduce erlang:fun_info_mfa/1
2014-08-21Merge branch 'maint'Lukas Larsson
* maint: Add number of entries to mnesia copy debug message Add thread index to allocator enomem dump slogan Add run queue index to process dump info Add missing error string to syslog logging in epmd Demote rare debug slogan of message discarding to debug build
2014-08-21Merge branch 'nox/reedr-logging/OTP-12115' into maintLukas Larsson
* nox/reedr-logging/OTP-12115: Add number of entries to mnesia copy debug message Add thread index to allocator enomem dump slogan Add run queue index to process dump info Add missing error string to syslog logging in epmd Demote rare debug slogan of message discarding to debug build
2014-08-18Merge branch 'rickard/port-emigrate-bug/OTP-12084' into ↵Rickard Green
rickard/port-emigrate-bug/maint/OTP-12084 * rickard/port-emigrate-bug/OTP-12084: Verify run-queue asserts Fix emigrate bug in erts_port_task_schedule() Conflicts: erts/emulator/beam/erl_port_task.c
2014-08-16Fix HiPE debug lock checking on OS X 64bitAnthony Ramine
Position-independent code is mandatory on OS X. We use r11 as an intermediate register to fill BIF_P->hipe.bif_callee. This fixes the following error when doing `make debug FLAVOR=smp`: clang -cc1as: fatal error: error in backend: 32-bit absolute addressing is not supported in 64-bit mode
2014-08-14Merge branch 'maint'Rickard Green
* maint: Fix +swct doc
2014-08-14Fix +swct docRickard Green
2014-08-14Verify run-queue assertsRickard Green
2014-08-14Merge branch 'bjorn/erts/export-bifs/OTP-12099'Björn Gustavsson
* bjorn/erts/export-bifs/OTP-12099: BIFs should be considered exported
2014-08-14Merge branch 'maint'Lukas Larsson
* maint: erts: Fix neg int overflow when sint is min size
2014-08-14Merge branch 'lukas/erts/fix_neg_of_int64_min/OTP-12097' into maintLukas Larsson
* lukas/erts/fix_neg_of_int64_min/OTP-12097: erts: Fix neg int overflow when sint is min size
2014-08-14Merge branch 'maint'Lukas Larsson
* maint: Properly handle SINT_MIN in small_to_big() Use offsetof() in io.c
2014-08-14Merge branch 'nox/clang-ubsan/OTP-12097' into maintLukas Larsson
* nox/clang-ubsan/OTP-12097: Properly handle SINT_MIN in small_to_big() Use offsetof() in io.c
2014-08-13crypto: Add valgrind suppression for RC4Sverker Eriksson
Invalid read of size 8 (Address 0x61f7730 is 144 bytes inside a block of size 151 alloc'd) Suspected: rc4_encrypt_with_state:2321 (-> 0x11B168F5) [crypto.c] Stackdump: RC4:??? (-> 0x11DAA060) [/lib/libcrypto.so.0.9.8] rc4_encrypt_with_state:2321 (-> 0x11B168F5) [crypto.c] process_main:3524 (-> 0x58D975) [beam_emu.c] sched_thread_func:7672 (-> 0x4C131E) [erl_process.c] thr_wrapper:106 (-> 0x656F68) [ethread.c] start_thread:300 (-> 0x57019C9) [pthread_create.c]
2014-08-12fix indentation, add comment describing windows symlink creation assumptionLuis Rascão
2014-08-11Merge branch 'maint'Rickard Green
* maint: Fix build of test port program Update Makefile.src Add async_ports test Fix abort of nosuspend-tasks in erts_port_task_schedule()
2014-08-11Merge branch 'rickard/nosuspend-bug/OTP-12082' into maintRickard Green
* rickard/nosuspend-bug/OTP-12082: Fix build of test port program Update Makefile.src Add async_ports test Fix abort of nosuspend-tasks in erts_port_task_schedule()
2014-08-08erts: Fix neg int overflow when sint is min sizeLukas Larsson
When INT64_MIN is the value of a Sint64 we have to first cast it to an Uint64 before negating it. Otherwise we get an integer overflow which is undefined behaviour and in gcc 4.9 this results in -0 instead of -9223372036854775808 in gcc 4.8.
2014-08-08Merge branch 'maint'Bruce Yinhe
2014-08-08Merge branch 'tuncer/sanitizers' into maintBruce Yinhe
OTP-12081 * tuncer/sanitizers: Implement --enable-sanitizers[=sanitizers]
2014-08-08Merge branch 'maint'Lukas Larsson
* maint: erts: Print error reason when malloc fails
2014-08-08Merge branch 'lukas/erts/malloc_failure_errors/OTP-12085' into maintLukas Larsson
* lukas/erts/malloc_failure_errors/OTP-12085: erts: Print error reason when malloc fails
2014-08-07Fix emigrate bug in erts_port_task_schedule()Rickard Green
While current run-queue lock is unlocked in the call to erts_check_emigration_need() from erts_port_task_schedule() the port can be migrated to another run-queue by another thread. The code in erts_port_task_schedule() needs to check if this has occurred when returning from erts_check_emigration_need(), and if so respect the migration decision. When this was not done, the thread calling erts_port_task_schedule() held the wrong run-queue lock which caused invalid updates of the port task queue. This bug was automatically fixed by the rewrites in the branch rickard/r16b/port-optimizations-fixes/OTP-10336 (commit 56cef897ca3ad2377e34a6ea5800a54a28cbeb6e) introduced in erts-5.10 and do not effect erts versions after that.
2014-08-06Fix build of test port programRickard Green
2014-08-06Merge branch 'maint'Lukas Larsson
* maint: erts: Fix tc and docs after {fd,FD} bind change
2014-08-06Merge branch 'lukas/erts/fd_bind_tc_fix/OTP-12061' into maintLukas Larsson
* lukas/erts/fd_bind_tc_fix/OTP-12061: erts: Fix tc and docs after {fd,FD} bind change
2014-08-06erts: Fix tc and docs after {fd,FD} bind changeLukas Larsson
The sha of the original change is 52810718b
2014-08-06erts: Print error reason when malloc failsLukas Larsson
2014-08-05Update Makefile.srckudryashov-sv
2014-08-05Add async_ports testSergey Kudryashov
2014-08-05Fix abort of nosuspend-tasks in erts_port_task_schedule()Rickard Green
The counter for the amount of outstanding data in the port queue became inconsistent when aborting nosuspend-signals in erts_port_task_schedule(). This since the counter was subtracted by the data size of the signal although the data size had never been added to it. This inconsistency caused the port queue to remain in a busy state forever.
2014-08-05Merge branch 'maint'Bruce Yinhe
2014-08-05Merge branch 'derek121/epmd-docs-2' into maintBruce Yinhe
OTP-12052 * derek121/epmd-docs-2: Fix minor grammatical errors in epmd docs
2014-08-04Fix some spelling misstakesLukas Larsson
2014-07-25Merge branch 'maint'Henrik Nord
2014-07-25fix xml file merge messupHenrik Nord
2014-07-24Merge branch 'maint'Henrik Nord
Conflicts: erts/preloaded/ebin/prim_inet.beam
2014-07-24Merge branch 'maint-r16' into maintHenrik Nord
Conflicts: erts/doc/src/notes.xml erts/preloaded/ebin/prim_inet.beam erts/vsn.mk lib/kernel/doc/src/notes.xml lib/kernel/vsn.mk