aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
AgeCommit message (Collapse)Author
2017-02-14Fixed typos in ertsAndrew Dryga
2017-02-06Use magic refs for NIF resourcesRickard Green
2017-02-06Implement magic referencesRickard Green
Magic references are *intentionally* indistinguishable from ordinary references for the Erlang software. Magic references do not change the language, and are intended as a pure runtime internal optimization. An ordinary reference is typically used as a key in some table. A magic reference has a direct pointer to a reference counted magic binary. This makes it possible to implement various things without having to do lookups in a table, but instead access the data directly. Besides very fast lookups this can also improve scalability by removing a potentially contended table. A couple of examples of planned future usage of magic references are ETS table identifiers, and BIF timer identifiers. Besides future optimizations using magic references it should also be possible to replace the exposed magic binary cludge with magic references. That is, magic binaries that are exposed as empty binaries to the Erlang software.
2017-02-03Merge branch 'egil/20/erts/signal-service/OTP-14186'Björn-Egil Dahlberg
* egil/20/erts/signal-service/OTP-14186: kernel: Document signal server erts: Use os module instead of erts_internal for set_signal/2 erts: Do not handle SIGILL erts: Fix thread suspend in crashdump erts: Do not enable SIGINT erts: Use generic signal handler erts: Add OS signal tests erts: Handle SIGUSR1 via signal service instead erts: Handle SIGTERM via signal service instead kernel: Add gen_event signal server and default handler erts: Add SIGHUP signal handler erts: Remove whitespace errors Conflicts: erts/emulator/beam/bif.tab
2017-02-02erts: Use os module instead of erts_internal for set_signal/2Björn-Egil Dahlberg
* Add specs * Change return signature to 'ok' instead of 'true'
2017-02-02erts: Do not handle SIGILLBjörn-Egil Dahlberg
* Remove SIGILL from signal whitelist
2017-02-02erts: Add OS signal testsBjörn-Egil Dahlberg
2017-02-01Merge branch 'josevalim/atu8-chunk/PR-1078/OTP-14178'Björn Gustavsson
* josevalim/atu8-chunk/PR-1078/OTP-14178: Add new AtU8 beam chunk
2017-01-30Add new AtU8 beam chunkJosé Valim
The new chunk stores atoms encoded in UTF-8. beam_lib has also been modified to handle the new 'utf8_atoms' attribute while the 'atoms' attribute may be a missing chunk from now on. The binary_to_atom/2 BIF can now encode any utf8 binary with up to 255 characters. The list_to_atom/1 BIF can now accept codepoints higher than 255 with up to 255 characters (thanks to Björn Gustavsson).
2017-01-25Update test cases for erlang:hash/2 removalBjörn-Egil Dahlberg
2017-01-23Merge branch 'maint'Sverker Eriksson
2017-01-23Merge branch 'sverker/cuddle-port_trace_SUITE' into maintSverker Eriksson
* sverker/cuddle-port_trace_SUITE: erts: Fix port_trace_SUITE to join threads
2017-01-23Merge branch 'sverker/ASSERT_IN_ENV'Sverker Eriksson
* sverker/ASSERT_IN_ENV: erts: Add macro ERTS_PROC_LOCKS_HIGHER_THAN erts: Cleanup and extra assertions in nif_SUITE.c erts: Cleanup enif_make_reverse_list erts: Add assertions for correct ErlNifEnv erts: Make erts_dbg_within_proc available # Conflicts: # erts/emulator/beam/erl_gc.h
2017-01-17Scheduler wall time support for dirty schedulersRickard Green
2017-01-17Always return info from system_info(dirty_[cpu|io]_schedulers*)Rickard Green
2017-01-16erts: Fix port_trace_SUITE to join threadsSverker Eriksson
when port is closed before driver may be unloaded.
2017-01-12erts: Cleanup and extra assertions in nif_SUITE.cSverker Eriksson
2017-01-12Support for dirty BIFsRickard Green
2017-01-12Reduction counting on non-tail returnRickard Green
2017-01-11Merge branch 'maint'Rickard Green
* maint: Fix processes() BIF test cases
2017-01-11Merge branch 'rickard/test-fix' into maintRickard Green
* rickard/test-fix: Fix processes() BIF test cases
2017-01-10Fix processes() BIF test casesRickard Green
2017-01-03Merge branch 'maint'Sverker 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
2016-12-20Merge branch 'maint'Sverker Eriksson
2016-12-20Merge pull request #1263 from hawk/hm/stacktrace-depth/OTP-14119Sverker Eriksson
Make depth of current_stacktrace configurable
2016-12-20Merge branch 'sverker/misc-master'Sverker Eriksson
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-20Merge branch 'mikpe/erts/system_info-atom_table/PR-1286/OTP-13976'Lukas Larsson
* mikpe/erts/system_info-atom_table/PR-1286/OTP-13976: erts: add erlang:system_info(atom_count)
2016-12-20erts: add erlang:system_info(atom_count)Mikael Pettersson
2016-12-19Merge branch 'maint'Sverker Eriksson
2016-12-19Merge branch 'sverker/cuddle-port_SUITE' into maintSverker Eriksson
* sverker/cuddle-port_SUITE: erts: Fix faulty printout in port_SUITE
2016-12-19erts: Add ERL_ABORT_ON_FAILURE for driver_SUITESverker Eriksson
2016-12-19Merge branch 'maint'Rickard Green
* maint: 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 Conflicts: erts/emulator/beam/beam_emu.c erts/etc/unix/etp-commands.in
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-19New test cases testing stacktrace from apply on erlang:error()Rickard Green
2016-12-19Fix stack-trace generated by a traced processRickard Green
2016-12-19erts: Fix faulty printout in port_SUITESverker Eriksson
2016-12-16Merge branch 'maint'Sverker Eriksson
2016-12-16Merge branch 'sverker/cuddle-code_SUITE-versions' into maintSverker Eriksson
* sverker/cuddle-code_SUITE-versions: erts: Fix hanging race in code_SUITE:versions
2016-12-15Merge branch 'maint'Björn Gustavsson
* maint: Create CONTRIBUTING.md (#1278) Make sure that Travis fails when test cases fail Don't include problematic test cases in smoke test
2016-12-12erts: Make depth of current_stacktrace configurableHåkan Mattsson
The BIF process_info(Pid, current_stacktrace) truncates the stacktrace. The old behavior was to truncate long stacktraces to max 8 items. And this was hard coded. Now it is truncated to the value of system_flag(backtrace_depth) instead. The backtrace_depth defaults to 8, but is configurable.
2016-12-12Don't include problematic test cases in smoke testBjörn Gustavsson
In time_SUITE, the univ_to_local/1 and local_to_univ/1 test cases will fail if they are run outside the CET timezone. The consistency/1 test case uses is not reliable in March and October because it uses a simplified model for when the switch to/from DST is done.
2016-12-08erts: Fix hanging race in code_SUITE:versionsSverker Eriksson
Monitor first, then ask to terminate.
2016-12-07Merge branch 'maint'Dan Gudmundsson
* maint: Update copyright-year Conflicts: lib/dialyzer/src/dialyzer.hrl lib/dialyzer/src/dialyzer_options.erl lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer.hrl lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer_races.erl lib/hipe/icode/hipe_icode.erl lib/hipe/main/hipe.erl lib/hipe/main/hipe.hrl.src lib/hipe/main/hipe_main.erl
2016-12-07Update copyright-yearErlang/OTP
2016-11-30Merge branch 'sverker/cuddle-hipe-fun-purge-test'Sverker Eriksson
* sverker/cuddle-hipe-fun-purge-test: erts: Fix race in code_SUITE:call_purged_fun_* erts: Refactor test code erts: Add ?line macro for some hipe testing
2016-11-30erts: Fix race in code_SUITE:call_purged_fun_*Sverker Eriksson
Must wait for process P0 to enter fun F2 before starting purge, to make sure it's not suspended.
2016-11-30erts: Refactor test codeSverker Eriksson