aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-11-18Functionality for disabling garbage collectionRickard Green
Being able to disable garbage collection over context switches vastly simplifies implementation of yielding native code that builds large or complex data structures on the heap. This since the heap can be left in an inconsistent state over the context switch.
2013-11-18Use asynchronous check_process_code in code_parallel_SUITERickard Green
2013-11-18Execution of system tasks in context of another processRickard Green
A process requesting a system task to be executed in the context of another process will be notified by a message when the task has executed. This message will be on the form: {RequestType, RequestId, Pid, Result}. A process requesting a system task to be executed can set priority on the system task. The requester typically set the same priority on the task as its own process priority, and by this avoiding priority inversion. A request for execution of a system task is made by calling the statically linked in NIF erts_internal:request_system_task(Pid, Prio, Request). This is an undocumented ERTS internal function that should remain so. It should *only* be called from BIF implementations. Currently defined system tasks are: * garbage_collect * check_process_code Further system tasks can and will be implemented in the future. The erlang:garbage_collect/[1,2] and erlang:check_process_code/[2,3] BIFs are now implemented using system tasks. Both the 'garbage_collect' and the 'check_process_code' operations perform or may perform garbage_collections. By doing these via the system task functionality all garbage collect operations in the system will be performed solely in the context of the process being garbage collected. This makes it possible to later implement functionality for disabling garbage collection of a process over context switches. Newly introduced BIFs: * erlang:garbage_collect/2 - The new second argument is an option list. Introduced option: * {async, RequestId} - making it possible for users to issue asynchronous garbage collect requests. * erlang:check_process_code/3 - The new third argument is an option list. Introduced options: * {async, RequestId} - making it possible for users to issue asynchronous check process code requests. * {allow_gc, boolean()} - making it possible to issue requests that aren't allowed to garbage collect (operation will abort if gc should be needed). These options have been introduced as a preparation for parallelization of check_process_code operations when the code_server is about to purge a module.
2013-09-16Prepare releaseOTP_R16B02Erlang/OTP
2013-09-13Update system readme for R16B02Magnus Lidén
2013-09-13Update preloaded modulesMagnus Lidén
2013-09-13Update primary bootstrap app- and appup filesMagnus Lidén
2013-09-13Update primary bootstrapMagnus Lidén
2013-09-13Merge branch 'anders/diameter/R16B02_release/OTP-11322' into maintAnders Svensson
* anders/diameter/R16B02_release/OTP-11322: vsn -> 1.4.3 Update appup for diameter-1.4.3 in R16B02
2013-09-13Merge branch 'egil/fix-megaco-appup' into maintBjörn-Egil Dahlberg
* egil/fix-megaco-appup: megaco: Update appup file
2013-09-12vsn -> 1.4.3Anders Svensson
2013-09-12megaco: Update appup fileBjörn-Egil Dahlberg
2013-09-12Update appup for diameter-1.4.3 in R16B02Anders Svensson
2013-09-12Merge branch 'hb/erts/refman_corrections/OTP-11321' into maintHans Bolinder
* hb/erts/refman_corrections/OTP-11321: Correct documentation of predefined types
2013-09-12Correct documentation of predefined typesHans Bolinder
The documentation of predefined types has been corrected Thanks to Kostis Sagonas.
2013-09-12crypto: Add ticket for 5d8a13bb6a180e0aSverker Eriksson
OTP-11320
2013-09-12Merge branch 'peppe/common_test/init_stop_problem' into maintPeter Andersson
* peppe/common_test/init_stop_problem: Make builtin hook respond to init:stop OTP-11175
2013-09-11Make builtin hook respond to init:stopPeter Andersson
2013-09-11Merge branch 'peppe/common_test/misc_r16b02_docs' into maintPeter Andersson
* peppe/common_test/misc_r16b02_docs: Add misc documentation OTP-11272 OTP-11263 OTP-11244 OTP-11238 OTP-11176
2013-09-11Add misc documentationPeter Andersson
2013-09-11Merge branch 'vinoski/sv/fix-sched-stats-disable/OTP-11317' into maintFredrik Gustafsson
* vinoski/sv/fix-sched-stats-disable/OTP-11317: fix system_flag(scheduling_statistics,disable)
2013-09-11Merge branch 'jcomellas/jc-integer-to-binary2/OTP-11311' into maintFredrik Gustafsson
* jcomellas/jc-integer-to-binary2/OTP-11311: Update preloaded Fix incorrect values returned by integer_to_binary/2
2013-09-11Merge branch 'fenollp/parsetools/fix_unicode_leex/OTP-11313' into maintFredrik Gustafsson
* fenollp/parsetools/fix_unicode_leex/OTP-11313: parsetools: added testcase for unicode Missed a few similar calls Fix leex module`s inability to build unicode-aware lexers.
2013-09-10fix system_flag(scheduling_statistics,disable)Steve Vinoski
Clear the "enabled" flag for scheduling statistics when disable is specified.
2013-09-10parsetools: added testcase for unicodeFredrik Gustafsson
2013-09-10Missed a few similar callsPierre Fenoll
2013-09-10Fix leex module`s inability to build unicode-aware lexers.Pierre Fenoll
If you have declared your .xrl file as utf-8 encoded and that some of your definitions contain unicode characters, either leex wouldn`t be able to lex them or compilation of the .xrl file would crash.
2013-09-10Merge branch 'ia/prep-release/ssl' into maintIngela Anderton Andin
* ia/prep-release/ssl: ssl: Prepare for release
2013-09-10ssl: Prepare for releaseIngela Anderton Andin
2013-09-10Merge branch 'ia/ssl/dtls-refactor/OTP-11292' into maintIngela Anderton Andin
* ia/ssl/dtls-refactor/OTP-11292: ssl: Refactor TLS/DTLS record handling ssl: Dialyzer fixes ssl: Solve rebase issues ssl: DTLS record handling ssl: Add DTLS record primitives ssl: Refactor to provide common handshake functions for TLS/DTLS ssl: Add DTLS handshake primitivs.
2013-09-10ssl: Refactor TLS/DTLS record handlingIngela Anderton Andin
2013-09-10ssl: Dialyzer fixesIngela Anderton Andin
2013-09-10ssl: Solve rebase issuesIngela Anderton Andin
2013-09-10ssl: DTLS record handlingIngela Anderton Andin
Also refactor so that TLS and DTLS can have common functions when possible.
2013-09-10ssl: Add DTLS record primitivesAndreas Schultz
This code is to 99 % written by Andreas Schultz only some small changes to start integrating with OTPs DTLS solution.
2013-09-10ssl: Refactor to provide common handshake functions for TLS/DTLSIngela Anderton Andin
Common functions will be located in ssl_handshake.erl while specific functions will be located in tls_handshake.erl and dtls_handshake.erl
2013-09-10ssl: Add DTLS handshake primitivs.Andreas Schultz
This code is to 99 % written by Andreas Schultz only some small changes to start integrating with OTPs DTLS solution.
2013-09-10Update preloadedFredrik Gustafsson
2013-09-10Merge branch 'hb/doc/refman_type_corrections/OTP-11090' into maintHans Bolinder
* hb/doc/refman_type_corrections/OTP-11090: Correct documentation of predefined and built-in types
2013-09-09core_lint: Correct the type error() to conform to the codeBjörn Gustavsson
Commit 60984ade updated the code, but not the type spec. Noticed-by: Kostis Sagonas
2013-09-09Fix incorrect values returned by integer_to_binary/2Juan Jose Comellas
When integer_to_binary/2 receives 0 or a negative number as an argument with a base that is different from 10, it will return incorrect values (<<>> in the case of 0) or it will crash (with negative numbers). This commit fixes these problems and adds tests to cover these cases.
2013-09-09Merge branch 'bjorn/xml-encoding-fix/OTP-11310' into maintBjörn Gustavsson
* bjorn/xml-encoding-fix/OTP-11310: Change encoding of troublesome notes.xml files to utf-8 Convert some notes.xml files from latin-1 to utf-8
2013-09-09Merge branch 'lukas/erts/erl_exec_e' into maintBjörn-Egil Dahlberg
* lukas/erts/erl_exec_e: +e should be passed through erlexec
2013-09-09Merge branch 'kenneth/doc_to_dtd/OTP-11193' into maintBjörn-Egil Dahlberg
* kenneth/doc_to_dtd/OTP-11193: Corrections so that the documentation confirms to the DTD Minor correction of xml structure to conform to the DTD
2013-09-09Merge branch 'anders/diameter/spawn_opt/OTP-11299' into maintAnders Svensson
* anders/diameter/spawn_opt/OTP-11299: Fix broken spawn_opt
2013-09-09Merge branch 'anders/diameter/failed_avp/OTP-11293' into maintAnders Svensson
* anders/diameter/failed_avp/OTP-11293: Fix Failed-AVP construction for CEA/DWA/DPA
2013-09-09Merge branch 'bmk/snmp/agent/improve_load_unload_mibs_if/OTP-11216' into maintMicael Karlberg
2013-09-09Merge branch 'bjorn/compiler/return_errors/OTP-11304' into maintBjörn Gustavsson
* bjorn/compiler/return_errors/OTP-11304: compiler: Conform returned errors to the documented format
2013-09-09Merge branch 'ks/hipe_unified_loader-cleanup/OTP-11301' into maintFredrik Gustafsson
* ks/hipe_unified_loader-cleanup/OTP-11301: Updated primary bootstrap Cleanup of the file
2013-09-06Merge branch 'dotsimon/os_mon_cpu_sup_solaris64/OTP-11298' into maintFredrik Gustafsson
* dotsimon/os_mon_cpu_sup_solaris64/OTP-11298: Fix broken cpu_sup:nprocs and others on Solaris 64-bit Fix some compiler warnings Remove object files when cleaning