Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-25 | Merge branch 'rickard/supercarrier-fix/OTP-11149' into maint | Rickard Green | |
* rickard/supercarrier-fix/OTP-11149: Fix observer retrieval of alloc info Fix documentation of the +MMsco switch Replace the +MMscmgc switch with +MMscrfsd Add switch for disabling sys_alloc carriers Add support for locking mappings to physical memory | |||
2013-11-09 | Add os:unsetenv/1 | Martin Hässler | |
New BIF os:unsetenv/1 which deletes an environment variable and returns 'true'. Does not change any old functionality. Calls the libc function unsetenv(3) on UNIX and SetEnvironmentVariableW(key, NULL) on Windows. The unicode support is the same as for os:getenv and os:putenv. | |||
2013-11-05 | Replace the +MMscmgc switch with +MMscrfsd | Rickard Green | |
Replaced the +MMscmgc switch with the +MMscrfsd switch. The old switch didn't reflect what it controlled. | |||
2013-10-02 | erts: Add mutex to init_atoms in erts_mmap.c | Sverker Eriksson | |
2013-10-02 | erts: Fix lock violation for init_atoms in erl_mmap.c | Sverker Eriksson | |
by not holding the mseg lock while reading version and option info which is unnecessary anyway. | |||
2013-10-02 | erts: Fix misc minor bugs in supercarrier initialization | Sverker Eriksson | |
2013-09-30 | erts: Add erts_mmap stats | Sverker Eriksson | |
As part of erlang:system_info({allocator,mseg_alloc}) and erl_crash.dump | |||
2013-09-30 | erts: Rename erts_bld_atom_uint_2tup_list to *_uword_* | Sverker Eriksson | |
and change from Uint to UWord values | |||
2013-09-30 | erts: Fix bug in lookup_free_seg | Sverker Eriksson | |
that could return segments that are too small after being super aligned. | |||
2013-09-30 | erts: Fix race bug in erts_munmap | Sverker Eriksson | |
Must keep mutex to serialize (un)reserve ops. | |||
2013-09-30 | erts: Add HARD_DBG_MSEG | Sverker Eriksson | |
2013-09-30 | erts: Refactor rbt_insert in erl_mmap | Sverker Eriksson | |
2013-09-30 | erts: erts_mmap improved free seg desc management | Rickard Green | |
2013-09-30 | erts: Allow page aligned erts_munmap() | Rickard Green | |
2013-09-30 | erts: Sort tree in super aligned sizes (SA_SZ_ADDR_ORDER) | Sverker Eriksson | |
2013-09-30 | erts: Fix ASSERT bug and void* arithmetics | Sverker Eriksson | |
2013-09-30 | erts: Add mmap argument to erts_debug:get_internal_state | Sverker Eriksson | |
2013-09-30 | erts: Improve erts_mmap out of free descriptor management | Rickard Green | |
2013-09-30 | erts: Cleanup erl_mmap | Sverker Eriksson | |
2013-09-30 | erts: Add __func__ to ERTS_ASSERT macro | Sverker Eriksson | |
2013-09-30 | erts: Optimize rb-tree operations by "caching" parent ptr | Sverker Eriksson | |
2013-09-30 | erts: Use rbt_foreach_node to check_tree | Sverker Eriksson | |
2013-09-30 | erts: Add build_free_seg_list | Sverker Eriksson | |
2013-09-30 | erts: Remove HARD_DEBUG flags for tree traversal | Sverker Eriksson | |
2013-09-30 | erts: Save one word in ErtsFreeSegDesc | Sverker Eriksson | |
by putting red/black color bit in 'parent' pointer | |||
2013-09-30 | erts: erts_mmap supercarrier management and erts_mseg usage | Rickard Green | |
* Coalescing and trimming of free segments in supercarrier * Management of super aligned and super unaligned areas in supercarrier * Management of reservation of physical memory * erts_mseg usage of erts_mmap | |||
2013-09-30 | erts: Prepare erl_mmap with tree structures for free seg storage | Sverker Eriksson | |
2013-09-30 | erts: Refactor the ASSERT macro | Sverker Eriksson | |
Introduce unconditional ERTS_ASSERT and use that for both ASSERT and ASSERT_EXPR. | |||
2013-09-30 | Merge branch 'maint-r16' into maint | Fredrik Gustafsson | |
Conflicts: erts/vsn.mk | |||
2013-09-25 | Merge branch 'rickard/aligned-sys_alloc-carriers/OTP-11318' into ↵ | Rickard Green | |
rickard/aligned-sys_alloc-carriers_maint/OTP-11318 Conflicts: erts/emulator/beam/erl_alloc.c erts/emulator/beam/erl_alloc_util.c erts/emulator/beam/erl_alloc_util.h | |||
2013-09-25 | Implement platform specific aligned sys_alloc and use when supported | Rickard Green | |
erts_sys_aligned_alloc() is currently implemented using posix_memalign if it exist, or using _aligned_malloc on Windows. If erts_sys_aligned_alloc() exist allocators will create sys_alloc carriers similar to how this was done pre-R16. | |||
2013-09-11 | Fix syslog defines | Matt Lewandowsky | |
config.h defines HAVE_SYSLOG_H whereas the sources are looking for NO_SYSLOG to be undefined. As the logic of "if feature is available" makes more sense than "if feature is not unavailable", I opted for the config.h define. | |||
2013-09-05 | Merge branch 'sverk/mac-select-assert-bug' into maint | Sverker Eriksson | |
* sverk/mac-select-assert-bug: erts: Fix faulty assert in "unlimited select" for mac | |||
2013-09-04 | erts: Fix faulty assert in "unlimited select" for mac | Sverker Eriksson | |
2013-08-23 | Create better distribution of files over async threads | Patrik Nyblom | |
The actual port id is used to create a key from the pointer value which is the ErlDrvPort. To do this a new driver api function driver_async_port_key is added and the driver API minor version is updated. The documentation is updated and the faulty description of how to spread ports over async threads is updated to use the new API. Testcase also added. | |||
2013-06-12 | Update copyright years | Björn-Egil Dahlberg | |
2013-06-10 | Merge branch 'sverk/darwin-unlimited-select' into maint | Sverker Eriksson | |
* sverk/darwin-unlimited-select: erts: Fix dynamic select for darwin erts: Refactor unlimited select patch erts: Fix bug in unlimited fd_set patch Use _DARWIN_UNLIMITED_SELECT in erl_poll | |||
2013-06-05 | Merge branch 'pan/win_now_jumps' into maint | Patrik Nyblom | |
* pan/win_now_jumps: Enable use of GetTickCoun64 when available Intermediate code with lock on gettickcount() Tmp OTP-11146 | |||
2013-06-04 | Merge branch 'rickard/stale-driver-select/OTP-11084' into maint | Rickard Green | |
* rickard/stale-driver-select/OTP-11084: Fix crash when reporting stale driver select | |||
2013-06-04 | erts: Fix dynamic select for darwin | Sverker Eriksson | |
Make sure the fd-sets (read and write) are of equal size. | |||
2013-05-28 | erts: Refactor unlimited select patch | Sverker Eriksson | |
An attempt to beautify the code by reducing the amount of #ifdef's in the hot code path. | |||
2013-05-28 | erts: Fix bug in unlimited fd_set patch | Sverker Eriksson | |
2013-05-22 | Merge branch 'sverk/win64-fixes' into maint | Sverker Eriksson | |
* sverk/win64-fixes: erts: Change some more 'long' to pointer sized int (ErlDrvUInt) erts: Fix crash in nif_SUITE for win64 erts: Fix assert in isdigit for negative characters | |||
2013-05-16 | Merge branch 'lukas/erts/win32_io_flush_hangs/OTP-11096' into maint | Lukas Larsson | |
* lukas/erts/win32_io_flush_hangs/OTP-11096: Repeat flush loop at timeout intervals | |||
2013-05-12 | Use _DARWIN_UNLIMITED_SELECT in erl_poll | Anthony Ramine | |
This allows erl_poll to select() on file descriptors greater than FD_SETSIZE (1024) on Darwin. The fd sets are manually (re)allocated and freed. | |||
2013-05-06 | erts: Change some more 'long' to pointer sized int (ErlDrvUInt) | Sverker Eriksson | |
2013-05-06 | Fix crash when reporting stale driver select | Rickard Green | |
2013-05-03 | erts: Fix assert in isdigit for negative characters | Sverker Eriksson | |
2013-05-02 | Enable use of GetTickCoun64 when available | Patrik Nyblom | |
2013-04-30 | Define matherr only on platforms where it is used | Anthony Ramine | |