aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-01-11dialyzer: Reduce memory consumption during 'remote' phaseHans Bolinder
The cache used for speeding up the translation from forms to types is no longer global, but reset per module. The peak memory consumption is reduced, and the added time seems to be small.
2017-01-11dialyzer: Update code for finding parallelismHans Bolinder
Using erlang:system_info(schedulers_online) for determining parallelism is recommended by OTP experts. It takes care of "+S 4:1" and simultaneous loading of HiPE code.
2017-01-11compiler: Do not spawn process when dialyzingHans Bolinder
Memory consumption is reduced during the compilation phase by keeping the Core parse tree shared. In particular the file annotation takes a lot of memory when not shared.
2017-01-11dialyzer: Reduce ETS usage during the typesig phaseHans Bolinder
The condensed graph of SCCs occupies less ETS memory. A table translating to and from SCC to a unique integer is introduced.
2017-01-11dialyzer: Optimize graph condensationHans Bolinder
By not using ETS when calculating the condensation of graphs, peak heap memory consumption is reduced.
2017-01-11dialyzer: Do not send full PLTs as messagesHans Bolinder
The mini PLT is extended to hold all data of the full PLT, and the full PLT is restored when needed (for storing the PLT on file).
2017-01-11Merge branch 'hasse/dialyzer/fix_opaque_parms/OTP-14130' into maintHans Bolinder
* hasse/dialyzer/fix_opaque_parms/OTP-14130: dialyzer: Fix check of parameterized opaque types
2017-01-10Fix call_time trace for NIFsRickard Green
2017-01-10Fix issues with abandoned heapRickard Green
2017-01-10Fix processes() BIF test casesRickard Green
2017-01-10stdlib: Correct signatures of functions in erl_parseHans Bolinder
The signatures of erl_parse:anno_to_term/1 and erl_parse:anno_from_term/1 are corrected. Using these function no longer results in false Dialyzer warnings.
2017-01-10Add ct_default_gl to common_test.app.srcSiri Hansen
2017-01-10Merge branch 'hasse/stdlib/char_as_integer/ERL-313/OTP-14103' into maintHans Bolinder
* hasse/stdlib/char_as_integer/ERL-313/OTP-14103: stdlib: Allow characters in types and constant patterns
2017-01-10dialyzer: Fix check of parameterized opaque typesHans Bolinder
Two parameters used to be "compatible" if one is a specialization of the other, in the way that the input type of t_limit() is a specialization of the output type. This check is now relaxed: any() in any of the two parameters is compatible with any type of the other parameter. The change is due to bugus warnings. A clause for maps has been added.
2017-01-09Merge branch 'sverker/delete_module-error-msg/ERL-334' into maintSverker Eriksson
* sverker/delete_module-error-msg: erts: Fix error report message for erlang:delete/1
2017-01-09erts: Fix error report message for erlang:delete/1Sverker Eriksson
2017-01-05erts: Fix GC tracing to use temp heapSverker Eriksson
Can't use HAlloc as it might consume part of callers 'need'.
2017-01-05erts: Assert sufficient space need after GCSverker Eriksson
2017-01-03Merge branch 'sverker/cuddle-port_SUITE' again into maintSverker Eriksson
* sverker/cuddle-port_SUITE: erts: Fix some compile warnings for port_SUITE erts: Add missing make rules for port_SUITE
2017-01-02Merge branch 'rickard/ds-fixes' into maintRickard Green
OTP-14122 * rickard/ds-fixes: Fix VM global GC info for dirty schedulers Leave dirty work in dirty run-queues on multi scheduling block Fix premature removal of process struct Fix crash due to GC of node entry on dirty scheduler
2017-01-02Merge branch 'rickard/msb-fixes' into maintRickard Green
OTP-14121 * rickard/msb-fixes: Multi scheduling block bug-fixes
2017-01-02Fix faulty assertionRickard Green
2016-12-30Multi scheduling block bug-fixesRickard Green
2016-12-28Fix VM global GC info for dirty schedulersRickard Green
2016-12-28Leave dirty work in dirty run-queues on multi scheduling blockRickard Green
2016-12-28Fix premature removal of process structRickard Green
Refc on process struct could reach zero while it was still referred by dirty scheduler
2016-12-28Fix crash due to GC of node entry on dirty schedulerRickard Green
The dirty scheduler failed to set a timer. Dispatch this job to an ordinary scheduler.
2016-12-28Merge branch 'reith/erts/c_port_driver_tutorial_fix/PR-1281' into maintLukas Larsson
* reith/erts/c_port_driver_tutorial_fix/PR-1281: fix library open error in linked-in port driver tutorial
2016-12-21stdlib: Allow characters in types and constant patternsHans Bolinder
Characters ($char) can be used in constant pattern expressions. They can also be used in types and contracts.
2016-12-21Merge branch 'ingela/inets/httpc-user-hangs/ERL-271/OTP-14091' into maintIngela Anderton Andin
* ingela/inets/httpc-user-hangs/ERL-271/OTP-14091: inets: httpc - Prevent hanging user process inets: httpc - clean code
2016-12-21inets: httpc - Prevent hanging user processIngela Anderton Andin
Input should be checked and httpc_handler process shall terminate gracefully on errors so that user process will in hang in gen_server:call.
2016-12-21inets: httpc - clean codeIngela Anderton Andin
Remove dead code and redundant debug macros. Better to use tracing for debugging.
2016-12-21Merge branch 'ingela/inets/httpc-stream/ERL-116/OTP-13571' into maintIngela Anderton Andin
* ingela/inets/httpc-stream/ERL-116/OTP-13571: inets: httpc - Chunk size decoding could fail
2016-12-20Merge pull request #1263 from hawk/hm/stacktrace-depth/OTP-14119Sverker Eriksson
Make depth of current_stacktrace configurable
2016-12-20[ct] Add tests for .app and .appup filesSiri Hansen
2016-12-20Merge branch 'sverker/map-footprint-docs/OTP-14118' into maintSverker Eriksson
* sverker/map-footprint-docs: erts: Correct memory footprint for maps
2016-12-20erts: Fix some compile warnings for port_SUITESverker Eriksson
2016-12-20erts: Add missing make rules for port_SUITESverker Eriksson
Seems some default rule made it work before until an upgrade of FreeBSD resulted in: make: don't know how to make dead_port. Stop
2016-12-20erts: Correct memory footprint for mapsSverker Eriksson
Small map was wrong as we should include our own top Eterm and exclude them for keys and values. Large maps was wrong as it described the theoretical minimum of a full tree, which does not happen in reality.
2016-12-20inets: httpc - Chunk size decoding could failIngela Anderton Andin
Correct chunk decoding by adding missing argument to match. The symptom was that chunk decoding sometimes failed depending on stream data arrival timing.
2016-12-20Merge branch 'siri/cdv/multi-line-slogan/ERL-318/OTP-14093' into maintSiri Hansen
* siri/cdv/multi-line-slogan/ERL-318/OTP-14093: [crashdump_viewer] Allow multiple lines in Slogan
2016-12-20Merge branch 'siri/etop/cpu-per-interval/OTP-14090' into maintSiri Hansen
* siri/etop/cpu-per-interval/OTP-14090: [etop] Show CPU utilization for last interval only
2016-12-19Merge branch 'sverker/cuddle-port_SUITE' into maintSverker Eriksson
* sverker/cuddle-port_SUITE: erts: Fix faulty printout in port_SUITE
2016-12-19Merge branch 'legoscia/remove-watchdog-vestiges/PR-1255/OTP-14112' into maintBjörn-Egil Dahlberg
* legoscia/remove-watchdog-vestiges/PR-1255/OTP-14112: Remove vestiges of watchdog support in heart
2016-12-19Merge branch 'rickard/stacktrace-bugs' into maintRickard Green
OTP-14055 * rickard/stacktrace-bugs: Remove faulty release note for these fixes New test cases testing stacktrace from apply on erlang:error() Fix stactrace for apply on error/[1,2], exit/1, or throw/1 Fix stack-trace generated by a traced process
2016-12-19Remove faulty release note for these fixesRickard Green
2016-12-19New test cases testing stacktrace from apply on erlang:error()Rickard Green
2016-12-19Fix stactrace for apply on error/[1,2], exit/1, or throw/1Rickard Green
2016-12-19Fix stack-trace generated by a traced processRickard Green
2016-12-19erts: Fix faulty printout in port_SUITESverker Eriksson