aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/kernel/ebin
AgeCommit message (Collapse)Author
2013-12-12Merge branch 'sverk/trapping-bin2term' into OTP_R16B03Sverker Eriksson
* sverk/trapping-bin2term: erts: Adjust term_to_binary reduction factors erts: Yield after trapping term_to_binary if gc has been ordered erts: Let term_to_binary disable gc while trapping erts: Improve stress of binary_to_term in binary_SUITE erts: Fix bug in binary_to_term for compressed on halfword erts: Fix crash when binary_to_term throws badarg erts: Trapping memcpy in binary_to_term erts: Cleanup code for trapping binary_to_term erts: Add erlang wrappers to binary_to_term trapping uncompress trapping size calculation trapping binary_to_term/2 trapping STRING_EXT trapping lists and tuples trapping binary_to_term passing binary_SUITE Parallel check_process_code when code_server purge a module Functionality for disabling garbage collection Use asynchronous check_process_code in code_parallel_SUITE Execution of system tasks in context of another process Conflicts: erts/emulator/beam/external.c erts/emulator/beam/sys.h erts/emulator/test/binary_SUITE.erl erts/preloaded/ebin/erlang.beam erts/preloaded/ebin/erts_internal.beam
2013-12-06Update primary bootstrap app- and appup filesMagnus Lidén
2013-12-06Update primary bootstrapMagnus Lidén
2013-11-18Parallel check_process_code when code_server purge a moduleRickard Green
When the code_server is about to purge a module it will now issue asynchronous check_process_code requests to all processes at once instead of one at a time. These check_process_code operation can execute in parallel.
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-11-11Update primary bootstrapFredrik Gustafsson
2013-10-16Update primary bootstrapFredrik Gustafsson
2013-09-13Update primary bootstrap app- and appup filesMagnus Lidén
2013-09-13Update primary bootstrapMagnus Lidén
2013-09-05Updated primary bootstrapFredrik Gustafsson
2013-08-20Updated primary bootstrapFredrik Gustafsson
2013-06-12Update primary bootstrap appup filesBjörn-Egil Dahlberg
2013-06-12Update primary bootstrapBjörn-Egil Dahlberg
2013-04-30Added primary bootstrap for os.beamFredrik Gustafsson
2013-04-19Update primary bootstrapFredrik Gustafsson
2013-03-19Update primary bootstrapBjörn Gustavsson
2013-02-14Update primary bootstrapBjörn Gustavsson
2013-02-11Update primary bootstrapBjörn Gustavsson
2013-02-06Update primary bootstrapBjörn Gustavsson
2013-02-04Update primary bootstrapBjörn Gustavsson
2013-01-26Update primary bootstrapBjörn Gustavsson
2013-01-25Update primary bootstrapBjörn Gustavsson
2013-01-23Update primary bootstrapBjörn Gustavsson
2013-01-18Update primary bootstrapBjörn Gustavsson
2013-01-10Update primary bootstrapBjörn Gustavsson
2013-01-09Update primary bootstrapBjörn Gustavsson
2013-01-02Update primary bootstrapHans Bolinder
2012-10-10Update primary bootstrapBjörn Gustavsson
2012-08-15Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap Fix broken building of bootstrap compiler Conflicts: bootstrap/lib/kernel/ebin/code.beam
2012-08-15Update primary bootstrapBjörn Gustavsson
2012-06-25Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap sys_pre_expand: Eliminate bottleneck for modules with many functions Conflicts: bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/kernel/ebin/file.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam
2012-06-25Update primary bootstrapBjörn Gustavsson
2012-03-30Update primary bootstrapBjörn-Egil Dahlberg
2012-03-30Update primary bootstrapBjörn-Egil Dahlberg
2012-03-14Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap v3_life: Use common code for guards and bodies v3_core: Don't put negative line numbers in annotations v3_kernel: Dig out the line number only when generating a warning v3_kernel: Clean up handling of guards v3_kernel: Introduce is_in_guard/1 v3_kernel: Removed unreached clause for #k_bin_int{} in sub_size_var/1 v3_kernel: Remove unreached handling of #k_bin_int{} in arg_con/1 v3_codegen: Eliminate the special case of 'put' without destination v3_kernel: Don't attempt to share identical literals v3_kernel: Handle sequences in guards v3_kernel: Remove clauses that are never executed in arg_val/1 v3_kernel.hrl: Remove unused record #k_string{} v3_kernel.erl: Remove unused define of EXPENSIVE_BINARY_LIMIT sys_core_fold: Refactor previous_ctx_to_binary/2 to cover it completely sys_core_fold: Fix opt_guard_try/1 sys_core_fold: Simplify opt_bool_not() to cover it completely sys_core_fold: Remove duplicate optimization
2012-03-14Update primary bootstrapBjörn Gustavsson
2012-02-28Update primary bootstrap hipe_unified_loaderPatrik Nyblom
2012-01-25Update primary bootstrapBjörn Gustavsson
2012-01-04Update primary bootstrapBjörn Gustavsson
2011-12-09Update primary bootstrapBjörn-Egil Dahlberg
2011-12-07Update primary bootstrapBjörn Gustavsson
2011-12-02Update primary bootstrapLukas Larsson
2011-11-30Update primary bootstrapBjörn Gustavsson
2011-11-28Update primary bootstrapBjörn Gustavsson
2011-11-23Update primary bootstrapBjörn Gustavsson
2011-11-17Update primary bootstrap and preloaded filesRaimo Niskanen
2011-11-07Update primary bootstrapBjörn Gustavsson
2011-10-07Update primary bootstrapHenrik Nord
2011-09-19Merge branch 'dev' into majorBjörn Gustavsson
* dev: tar_SUITE: Work around limited pathname length on Windows Merge the fourth bootstrap stage into the third bootstrap stage Remove unused lib/orber/include/Makefile Remove lib/orber/include/* from the primary bootstrap otp_build update_primary: Don't commit generated source files primary bootstrap: Remove source files Conflicts: Makefile.in bootstrap/bin/start.script bootstrap/bin/start_clean.script bootstrap/lib/compiler/ebin/compiler.app bootstrap/lib/compiler/egen/beam_opcodes.erl bootstrap/lib/compiler/egen/core_parse.erl bootstrap/lib/kernel/ebin/kernel.app bootstrap/lib/kernel/ebin/kernel.appup bootstrap/lib/orber/include/Makefile bootstrap/lib/orber/include/corba.hrl bootstrap/lib/orber/include/orber_pi.hrl bootstrap/lib/stdlib/ebin/stdlib.app bootstrap/lib/stdlib/ebin/stdlib.appup bootstrap/lib/stdlib/egen/erl_parse.erl
2011-09-14primary bootstrap: Remove source filesBjörn Gustavsson
The primary bootstrap contains generated source files that are not needed for building Erlang/OTP. Since these files contains dates, version numbers, or absolute path names, new versions of most of those files will be created in the git repository every time the primary bootstrap is updated, thus growing the git repository grow more than necessary.