Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-18 | Update copyright year | Henrik Nord | |
2018-05-08 | erts: Rename untrapping db_free_*empty*_table | Sverker Eriksson | |
as it's now only used for empty tables by ets:new/2. | |||
2018-05-08 | erts: Cleanup ets code | Sverker Eriksson | |
2018-05-08 | erts: Make atomic ets:delete_all_objects yield | Sverker Eriksson | |
by using a cooperative strategy that will make any process accessing the table execute delelete_all_objects_continue until the table is empty. This is not an optimal solution as concurrent threads will still block on the table lock, but at least thread progress is made. | |||
2017-09-11 | Merge branch 'maint' | John Högberg | |
2017-09-07 | Replace ad-hoc MIN/MAX macros with common ones | John Högberg | |
Besides being noisy, they were already defined by a global Unix- specific header, causing the Windows build to fail if one forgot to define them. | |||
2017-07-17 | erts: Replace usage of all erts_smp prefixes to just erts | Lukas Larsson | |
2017-05-04 | Update copyright year | Raimo Niskanen | |
2017-04-12 | erts: Introduce struct binary_internals | Sverker Eriksson | |
to replace macro ERTS_INTERNAL_BINARY_FIELDS as header in Binary and friends. | |||
2017-03-23 | Remove redundant variable initializations | Guilherme Andrade | |
2017-03-22 | Use ETS table id references on select_replace | Guilherme Andrade | |
2017-03-22 | erts: Optimize ets:select_replace to not use heap | Sverker Eriksson | |
for temporary matchspec results. ToDo: Would be even nicer if PAM could allocate and build the ETS objects without extra copy_struct needed. | |||
2017-03-22 | Cleanup some unnecessary variable initialization | Sverker Eriksson | |
2017-03-22 | Reject unsafe matchspecs on ets:select_replace/2 | Guilherme Andrade | |
Preemptively fail operation with badarg if the replacement object might have a different key. | |||
2017-03-22 | Use magic refs on revamped ETS code | Guilherme Andrade | |
2017-03-22 | Deduplicate select* code on ETS hash tables | Guilherme Andrade | |
Refactor existing solution into a common iteration loop parameterized using stateful callbacks. | |||
2017-03-22 | ETS: Allow for matchspec-based replacement | Guilherme Andrade | |
2017-03-22 | erts: Improve reduction count during table cleanup | Sverker Eriksson | |
2017-03-22 | erts: Remove meta_main_tab | Sverker Eriksson | |
\o/ O / \ Also removed the body for CHECK_TABLES enabled by HARDDEBUG. Removed quite useless check for hash, but kept dead check code for tree. | |||
2017-03-22 | erts: Pass tid argument down to trapping functions | Sverker Eriksson | |
to get rid of meta table lookup by integer (tb->common.id) | |||
2017-02-06 | Use magic refs for compiled match specs | Rickard Green | |
2016-11-17 | erts: Refactor crash dumping with cbprintf | Sverker Eriksson | |
Instead of passing around a file descriptor use a function pointer to facilitate more advanced backend write logic such as size limitation or compression. | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-02-24 | Merge branch 'master' into sverk/master/halt-INT_MIN | Sverker Eriksson | |
2016-02-24 | erts: Change erl_exit into erts_exit | Sverker Eriksson | |
This is mostly a pure refactoring. Except for the buggy cases when calling erlang:halt() with a positive integer in the range -(INT_MIN+2) to -INT_MIN that got confused with ERTS_ABORT_EXIT, ERTS_DUMP_EXIT and ERTS_INTR_EXIT. Outcome OLD erl_exit(n, ) NEW erts_exit(n, ) ------- ------------------- ------------------------------------------- exit(Status) n = -Status <= 0 n = Status >= 0 crashdump+abort n > 0, ignore n n = ERTS_ERROR_EXIT < 0 The outcome of the old ERTS_ABORT_EXIT, ERTS_INTR_EXIT and ERTS_DUMP_EXIT are the same as before (even though their values have changed). | |||
2015-06-24 | erts: Remove halfword bases in ETS | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove halfword relative printf | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove halfword is_same bases macro | Björn-Egil Dahlberg | |
Keep is_same macro for readability but remove base pointers. | |||
2015-06-24 | erts: Remove halfword object manipulation | Björn-Egil Dahlberg | |
* Remove macros size_object_rel, copy_struct_rel and copy_shallow_rel | |||
2015-06-24 | erts: Remove halfword heap relative comparisions | Björn-Egil Dahlberg | |
* Removed cmp_rel, cmp_rel_term and eq_rel | |||
2015-06-24 | erts: Remove halfword basic relative heap operations | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove HALFWORD_HEAP definition | Björn-Egil Dahlberg | |
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-05-07 | erts: ETS ordered_set cannot use it's optimization with Maps | Björn-Egil Dahlberg | |
The optimization cannot be used due to that the pattern cannot be ordered. | |||
2015-03-30 | erts: Optimize == and /= for unequal big maps | Sverker Eriksson | |
Bail out as soon as we find a diff between maps if we are not interested in term order. | |||
2015-03-12 | Create new BIF ets:update_counter/4 | Anthony Ramine | |
Conflicts: erts/emulator/beam/bif.tab lib/stdlib/src/ets.erl | |||
2014-05-30 | Implement ets:take/2 | Anthony Ramine | |
This new ETS BIF returns and deletes objects from tables. | |||
2014-03-05 | Fix comment that differs from code | Cobus Carstens | |
The comment in the code state that the tree is traversed to the left, when in fact it is traversed to the right. | |||
2013-01-25 | Update copyright years | Björn-Egil Dahlberg | |
2012-02-21 | erts: Refactor new helper function erts_init_trap_export | Sverker Eriksson | |
2011-10-26 | Use the proper macros in all BIFs | Björn Gustavsson | |
As a preparation for changing the calling convention for BIFs, make sure that all BIFs use the macros. Also, eliminate all calls from one BIF to another, since that also breaks the calling convention abstraction. | |||
2011-06-14 | Use new atomic API in runtime system | Rickard Green | |
All uses of the old deprecated atomic API in the runtime system have been replaced with the use of the new atomic API. In a lot of places this change imply a relaxation of memory barriers used. | |||
2011-05-13 | Merge branch 'rickard/barriers/OTP-9281' into dev | Rickard Green | |
* rickard/barriers/OTP-9281: Silence warnings Fix build with hipe on amd64 Reduce number of atomic ops Use 32-bit atomic for port snapshot Remove pointless erts_ports_alive variable Ensure quick break Ensure that all rehashing information are seen when done Ensure that stack updates are seen when stack is released Add needed barriers for write_concurrency tables Homogenize memory barriers on atomics | |||
2011-05-13 | Ensure that stack updates are seen when stack is released | Rickard Green | |
Ets tables using ordered_set could potentially get into an internally inconsistent state. | |||
2011-05-06 | ETS usage of erts_printf %R | Sverker Eriksson | |
2011-05-06 | Another halfword is_same-bug for ETS ordered_set | Sverker Eriksson | |
This one is less likely to provoke error as one of the terms is always NULL-based. | |||
2011-04-07 | Remove truncation error in key comparision for ordered set | Patrik Nyblom | |
2011-02-24 | Don't dump the contents of ordered_set ets tables | Björn Gustavsson | |
2011-02-03 | HALFWORD ETS Further match spec optimization to minimize copying and garbage | Sverker Eriksson | |
2011-02-03 | HALFWORD ETS 32-bit arch fixes and other cleanups | Sverker Eriksson | |