aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-11-30erlang: Eliminate a clause in aa_mem_data/2 that can never matchBjörn Gustavsson
aa_mem_data/2 is only called by aa_mem_data/1 and itself. aa_mem_data/1 called with the argument 'notsup' will never call aa_mem_data/2. aa_mem_data/2 will only call itself with a #memory{} record as the first argument. QED. Noticed-by: Dialyzer.
2011-11-30Add type info for erlang:system_info({allocator_sizes,ref(),any()})Björn Gustavsson
2011-11-30Update primary bootstrapBjörn Gustavsson
2011-11-30compiler: Turn calls to math:pi/0 into constant valuesBjörn Gustavsson
Mark math:pi/0 as pure, informing the compiler that the value can be calculated at compile time.
2011-11-30Merge branch 'rickard/default-unbound/OTP-9726'Rickard Green
* rickard/default-unbound/OTP-9726: Use unbound schedulers as default
2011-11-30Merge branch 'rickard/pix-mutex/OTP-9723'Rickard Green
* rickard/pix-mutex/OTP-9723: Fix warning when lock-checker is enabled Replace spinlock with mutex as pix_lock implementation
2011-11-30Merge branch 'siri/stdlib/dialyzer-supervisor/OTP-9741'Siri Hansen
* siri/stdlib/dialyzer-supervisor/OTP-9741: Add test for upgrade of supervisor Fix dialyzer warnings in supervisor
2011-11-30Merge branch 'siri/sasl/duplicate-rel-file/OTP-9746'Siri Hansen
* siri/sasl/duplicate-rel-file/OTP-9746: Keep unpack_release backwards compatible with old systools:make_tar
2011-11-30erts: Add valgrind suppressionsSverker Eriksson
2011-11-30Keep unpack_release backwards compatible with old systools:make_tarSiri Hansen
systools:make_tar has recently been updated to store the .rel file in both releases and releases/<vsn> directories. Ths same commit removed copying of this file from releases to releases/<vsn> in release_handler:unpack_release. This commit adde this copy again to make sure the file is not lost if the tar file was created with an older systools.
2011-11-30Update primary bootstrapBjörn Gustavsson
2011-11-30Merge branch 'bjorn/deprecate-tuple-funs/OTP-9649'Björn Gustavsson
* bjorn/deprecate-tuple-funs/OTP-9649: erts: Warn the first time a tuple fun is called otp_mibs: Eliminate use of tuple fun os_mon: Eliminate use of tuple fun asn1: Eliminate use of tuple fun parsetools: Eliminate use of tuple fun mnesia tests: Eliminate use of tuple fun snmp: Eliminate use of tuple fun wrap_log_reader_SUITE: Eliminate use of tuple fun big_SUITE: Eliminate use of tuple fun file_SUITE: Eliminate use of tuple fun fprof: Eliminate use of tuple fun xref_compiler: Eliminate use of tuple fun shell: Eliminate use of tuple funs erl_eval: Eliminate use of tuple funs user_sup: Eliminate use of tuple fun
2011-11-30Merge branch 'siri/sasl/duplicate-rel-file/OTP-9746'Siri Hansen
* siri/sasl/duplicate-rel-file/OTP-9746: Add copy of rel file in releases/<vsn> in release tar file
2011-11-30Merge branch 'bjorn/llvm-issues/OTP-9712'Björn Gustavsson
* bjorn/llvm-issues/OTP-9712: INSTALL.md: Update build instructions for Lion Fix clang linking problem configure: Define NO_JUMP_TABLE if all we have is llvm-gcc beam_emu.c: Eliminate warnings when NO_JUMP_TABLE is defined beam_emu.c: Use the correct void* type for computed gotos MacOS X: Completely remove obsolete -no-cpp-precomp option
2011-11-30Merge branch 'tn/inet_drv-fix'Raimo Niskanen
* tn/inet_drv-fix: Cleanup - remove unnecesary bracket level and configure for ifreq.ifr_enaddr Work around gcc linking with own view of default libs on Solaris Use libdlpi to get physical address
2011-11-30Merge branch 'siri/stdlib/dialyzer-log_mf_h/OTP-9754'Siri Hansen
* siri/stdlib/dialyzer-log_mf_h/OTP-9754: Fix dialyzer warning about gen_event callback init/1 in log_mf_h
2011-11-30Fix dialyzer warning about gen_event callback init/1 in log_mf_hSiri Hansen
The warning is about log_mf_h having a different spec for gen_event callback init/1 than defined in gen_event.erl. log_mf_h allows return value {error,Reason}, while gen_even only specifies successful return values. This commit add {error,Reason} as a valid return value to the gen_event callback, since this is handled by the code.
2011-11-30erts: Configure check for SCTP features only when sctp.h is foundRaimo Niskanen
2011-11-30Merge branch 'siri/sasl/no-warn-missing-sasl/OTP-9738'Siri Hansen
* siri/sasl/no-warn-missing-sasl/OTP-9738: Don't use +no_warn_sasl option to systools for bootstrap
2011-11-30Disable floating point exceptions on Mac OS X by defaultBjörn Gustavsson
Many test cases provoke printouts similar to: ERTS_FP_CHECK_INIT at 0x131fd218: detected unhandled FPE at 0x1 Until the problem has been identified and fixed, disable floating point exceptions by default on Mac OS X.
2011-11-30erts: Warn the first time a tuple fun is calledBjörn Gustavsson
2011-11-30otp_mibs: Eliminate use of tuple funBjörn Gustavsson
2011-11-30os_mon: Eliminate use of tuple funBjörn Gustavsson
2011-11-30asn1: Eliminate use of tuple funBjörn Gustavsson
2011-11-29Add test for upgrade of supervisorSiri Hansen
The test is added in release_handler_SUITE since this makes it possible to test the full upgrade instead of just a simple library test of supervisor:code_change.
2011-11-29Fix dialyzer warnings in supervisorSiri Hansen
Dialyzer complained over a mismatch between the callback spec of Mod:code_change in gen_server and the spec of supervisor:code_change (which is the implementation of a gen_server Mod:code_change). This commit changes the callback spec to allow {error,Reason} as return value. Also, release_handler is updated to handle this return value.
2011-11-29parsetools: Eliminate use of tuple funBjörn Gustavsson
2011-11-29mnesia tests: Eliminate use of tuple funBjörn Gustavsson
2011-11-29snmp: Eliminate use of tuple funBjörn Gustavsson
2011-11-29wrap_log_reader_SUITE: Eliminate use of tuple funBjörn Gustavsson
2011-11-29big_SUITE: Eliminate use of tuple funBjörn Gustavsson
It seems that a tuple fun was used only because erl_eval:expr/3 did not support passing in a real fun at the time that the test case was originally written.
2011-11-29file_SUITE: Eliminate use of tuple funBjörn Gustavsson
2011-11-29fprof: Eliminate use of tuple funBjörn Gustavsson
2011-11-29xref_compiler: Eliminate use of tuple funBjörn Gustavsson
2011-11-29shell: Eliminate use of tuple funsBjörn Gustavsson
2011-11-29erl_eval: Eliminate use of tuple funsBjörn Gustavsson
2011-11-29user_sup: Eliminate use of tuple funBjörn Gustavsson
2011-11-29erts: Remove old ELIB cruft from emulator MakefileRaimo Niskanen
2011-11-29INSTALL.md: Update build instructions for LionBjörn Gustavsson
2011-11-29Cleanup - remove unnecesary bracket level and configure for ifreq.ifr_enaddrRaimo Niskanen
2011-11-29Work around gcc linking with own view of default libs on SolarisRaimo Niskanen
Also use 64-bit lib when necessary, specify runtime lib path for secondary dependency libs, and better check before using SIOCGIFHWADDR.
2011-11-29Merge branch 'bjorn/erts/remove-useless-variable'Björn Gustavsson
* bjorn/erts/remove-useless-variable: erl_process.c: Remove the redundant variable 'processes_busy' Update primary bootstrap otp_internal: Deprecate ssl:pid/1
2011-11-29erl_process.c: Remove the redundant variable 'processes_busy'Björn Gustavsson
There is a static variable called 'processes_busy' in erl_process.c, which will be incremented but never used. To confuse things, there is also a global variable with the same name, but it it is only defined and used if BM_COUNTERS is defined. In erl_process.c, the global version of 'processes_busy' will be seen and incremented if BM_COUNTERS is defined. Remove the static version of 'processes_busy' in erl_process.c, but keep the global version if BM_COUNTERS is defined. Noticed-by: Jovi Zhang
2011-11-28Merge branch 'ac/xpath-scan'Henrik Nord
* ac/xpath-scan: Treat , as special in xmerl_xpath_scan. OTP-9753
2011-11-28Merge branch 'lukas/erts/large_float_cmp/OTP-9497'Lukas Larsson
* lukas/erts/large_float_cmp/OTP-9497: Use CMP_TMP_HEAD_SIZE for C-stack
2011-11-28Use CMP_TMP_HEAD_SIZE for C-stackLukas Larsson
Thanks to Tuncer Ayaz
2011-11-28Update primary bootstrapBjörn Gustavsson
2011-11-28otp_internal: Deprecate ssl:pid/1Björn Gustavsson
2011-11-28erts: Fix faulty udp-buffer handlingSverker Eriksson
Caused core dump with gen_udp_SUITE on halfword vm.
2011-11-28Update primary bootstrapBjörn Gustavsson