aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-06-29Merge branch 'bjorn/gc-bifs'Björn Gustavsson
* bjorn/gc-bifs: compiler: Eliminate num_bif_SUITE erl_internal: Eliminate duplication of guard tests beam_debug: Improve the disassembly of gc_bif instructions Simplify creation of new GC BIFs make_tables: Remove broken automatic BIF aliasing
2016-06-29compiler: Eliminate num_bif_SUITEBjörn Gustavsson
num_bif_SUITE.erl was originally copied from the emulator test suite. It does not test much of the compiler. Therefore, remove num_bif_SUITE. Add a new test to bif_SUITE to test trunc/1 and round/1 in contexts that could be tricky for the compiler to handle correctly. Note that there is no need to test abs/1 in bif_SUITE, since it is tested in many other places (e.g. in guard_SUITE).
2016-06-29Merge branch 'bjorn/erts/use-const'Björn Gustavsson
* bjorn/erts/use-const: beam_makeops: Save some memory by making loader tables 'const' beam_makeops: Separate static information from counters make_preload: Save some memory by making preloaded code 'const'
2016-06-29Merge branch 'maint'Björn Gustavsson
* maint: Fix try-catch when writing makefile Show error reason when compiler cannot write file
2016-06-29Merge branch 'legoscia/compiler/error-handling/PR-1112/OTP-13701' into maintBjörn Gustavsson
* legoscia/compiler/error-handling/PR-1112/OTP-13701: Fix try-catch when writing makefile Show error reason when compiler cannot write file
2016-06-27Merge branch 'maint'Hans Nilsson
2016-06-27Merge branch 'maint-18' into maintHans Nilsson
Conflicts: OTP_VERSION lib/ssh/doc/src/notes.xml lib/ssh/src/ssh_connection_handler.erl lib/ssh/vsn.mk otp_versions.table
2016-06-27Merge branch 'maint'Ingela Anderton Andin
2016-06-27Development VersionHenrik Nord
2016-06-23Fix try-catch when writing makefileMagnus Henoch
Any exceptions at this point would be of class error, not exit.
2016-06-22Show error reason when compiler cannot write fileMagnus Henoch
When the compiler fails to write an output file, it used to just print "error writing file". With this change, it also prints the error reason: $ echo "-module(foo)." > foo.erl $ chmod -w . $ erlc foo.erl /tmp/bar/foo.bea#: error writing file: permission denied
2016-06-22ssl: Do not leave zoombie nodes if tests failIngela Anderton Andin
2016-06-22Updated OTP versionOTP-18.3.4.1Erlang/OTP
2016-06-22Update release notesErlang/OTP
2016-06-22Merge branch 'hans/ssh/retry_pwd_patch/OTP-13674' into maint-18Erlang/OTP
* hans/ssh/retry_pwd_patch/OTP-13674: ssh: update vsn.mk ssh: polishing of password prompt's linefeed ssh: Fix a hazard bug in ssh_auth ssh: Some code cuddling in ssh_io ssh: Fix type error in args of ssh_auth:sort_selected_mthds ssh: Make client send a faulty pwd only once, ssh_connection_handler part ssh: Make client send a faulty pwd only once, ssh_auth part ssh: test cases for no repetition of bad passwords
2016-06-22erl_internal: Eliminate duplication of guard testsBjörn Gustavsson
Guard tests (e.g. is_list/1) are listed both in guard_bif/2 and in new_type_test/2. That is a trap for anyone who wants to add a new guard test. Let guard_bif/2 call new_type_test/2 so that new guard tests only have to be added in one place. While we are it, also sort the clauses in guard_bif/2 and new_type/2.
2016-06-22beam_debug: Improve the disassembly of gc_bif instructionsBjörn Gustavsson
Using the translation table in erts_gc_bifs[], we can now print out the name of GC BIFs, instead of just the pointer value.
2016-06-22Simplify creation of new GC BIFsBjörn Gustavsson
Add the BIF type "gcbif" in bif.tab for defining GC BIFs. That will eliminate some of the hand-written administrative code for handling GC BIFs, saving the developer's time.
2016-06-22ssh: update vsn.mkHans Nilsson
2016-06-22ssh: polishing of password prompt's linefeedHans Nilsson
2016-06-22ssh: Fix a hazard bug in ssh_authHans Nilsson
2016-06-22ssh: Some code cuddling in ssh_ioHans Nilsson
2016-06-22ssh: Fix type error in args of ssh_auth:sort_selected_mthdsHans Nilsson
2016-06-22ssh: Make client send a faulty pwd only once, ssh_connection_handler partHans Nilsson
2016-06-22ssh: Make client send a faulty pwd only once, ssh_auth partHans Nilsson
Conflicts: lib/ssh/src/ssh_connection_handler.erl
2016-06-22ssh: test cases for no repetition of bad passwordsHans Nilsson
2016-06-22beam_makeops: Save some memory by making loader tables 'const'Björn Gustavsson
Before: $ size bin/x86_64-unknown-linux-gnu/beam.smp text data bss dec hex filename 3080982 188369 158472 3427823 344def bin/x86_64-unknown-linux-gnu/beam.smp After: $ size bin/x86_64-unknown-linux-gnu/beam.smp text data bss dec hex filename 3164694 104657 158472 3427823 344def bin/x86_64-unknown-linux-gnu/beam.smp
2016-06-22beam_makeops: Separate static information from countersBjörn Gustavsson
The counters are only used in the special 'icount' emulator. We will save some memory by including the counters in the OpEntry. It will also make it possible to make opc 'const'.
2016-06-22make_tables: Remove broken automatic BIF aliasingBjörn Gustavsson
The make_tables script still contains a broken implementation of a mechanism to automatically give a BIF an additional (for example, was used for erlang:'++'/2 and erlang:append/2). When that featured broke, it was worked around by adding additional entries to bif.tab. There is therefore no reason to mend the feature.
2016-06-21Updated OTP versionOTP-19.0Erlang/OTP
2016-06-21Prepare releaseErlang/OTP
2016-06-20Merge branch 'sverker/spawn-driver-env'Sverker Eriksson
2016-06-20erts: Fix spawn driver when env size is above pipe capacitySverker Eriksson
Symptom: open_port() succeeds, port program never starts but instead seem to terminate with exit_status 150 (EINVAL+128). When: If the command payload buffer (including the entire environment) for the port program is between 1 to 4 bytes above the pipe capacity, which is 65536 bytes on newer Linux, but can be as low as 4096 on older 32-bit Linux. Since: OTP-19.0-rc1.
2016-06-20Merge branch 'kenneth/system_doc/update_index/OTP-13696'Kenneth Lundin
* kenneth/system_doc/update_index/OTP-13696: Add ref to new book "Designing for Scalability with Erlang/OTP"
2016-06-20Add ref to new book "Designing for Scalability with Erlang/OTP"Kenneth Lundin
2016-06-20Update preloaded modulesHenrik Nord
2016-06-20Update primary bootstrapHenrik Nord
2016-06-18Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: [ct test] Catch call to ssh:start/0 [sasl test] Do GC before measuring and comparing time [sasl test] Give some time and try again if nodes are not synched
2016-06-18[ct test] Catch call to ssh:start/0Siri Hansen
The ssh application is not installed on all test hosts. Catching the call to ssh:start/0 allows the the netconf tests to be nicely skipped if ssh does not exist.
2016-06-18[sasl test] Do GC before measuring and comparing timeSiri Hansen
release_handler_SUITE:otp_9395_*_many_mods sometimes fail on slow machines. This commit adds an explicit GC before each 'install_release' so GC during test is avoided.
2016-06-18[sasl test] Give some time and try again if nodes are not synchedSiri Hansen
release_handler_SUITE:upgrade_gg (global group) sometimes fails on slow machines. This commit re-tries five times before giving up.
2016-06-17Merge branch 'ingela/ssl/doc-update-supported-list'Ingela Anderton Andin
* ingela/ssl/doc-update-supported-list: ssl: Extend list of supported features
2016-06-17ssl: Extend list of supported featuresIngela Anderton Andin
Note these where supported before ssl-8.0
2016-06-17Merge branch 'zandra/update-dist-doc'Zandra Hird
* zandra/update-dist-doc: Remove unused Cookie from ControlMessage in the dist protocol doc
2016-06-17Merge branch 'zandra/kernel-test-cuddle'Zandra Hird
Conflicts: lib/kernel/test/gen_tcp_api_SUITE.erl lib/kernel/test/gen_udp_SUITE.erl
2016-06-17Merge branch 'rickard/ds-job-type-doc'Rickard Green
* rickard/ds-job-type-doc: Minor reorganization of dirty NIF documentation
2016-06-17Minor reorganization of dirty NIF documentationRickard Green
2016-06-17Remove unused Cookie from ControlMessage in the dist protocol docZandra Hird
The Cookie was removed a long time ago, but the documentation was not updated accordingly.
2016-06-17Merge branch 'raimo/uds-support/OTP-13643'Raimo Niskanen
* raimo/uds-support/OTP-13643: Update test cases after daily builds Return eafnosupport when not supported Add AF_LOCAL test cases Handle 'undefined' in fdopen
2016-06-17make_preload: Save some memory by making preloaded code 'const'Björn Gustavsson
Mark the preloaded code 'const' to allow the compiler to put it into the 'text' segment instead of into the 'data' segment. Since the 'text' segment is shared among all instances of the Erlang virtual machine, this change could potentially reduce memory consumption (slightly). Before the change: $ size bin/x86_64-unknown-linux-gnu/beam.smp text data bss dec hex filename 2920246 352273 158472 3430991 345a4f bin/x86_64-unknown-linux-gnu/beam.smp After the change: $ size bin/x86_64-unknown-linux-gnu/beam.smp text data bss dec hex filename 3081046 191473 158472 3430991 345a4f bin/x86_64-unknown-linux-gnu/beam.smp Roughly speaking, this change cuts the size of the data segment in half.