| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
String could be wrong length if arg was quoted and changed.
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
* maint-25:
Updated OTP version
Prepare release
Update copyright year
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GCC warns about how `strncpy` is used in `erts/etc/common/escript.c`:
```
escript.c: In function ‘main’:
escript.c:289:17: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
289 | strncpy(dir, beg, sz);
| ^
In function ‘find_prog’,
inlined from ‘main’ at escript.c:483:25:
escript.c:282:26: note: length computed here
282 | sz = strlen(beg);
```
The warning is triggered as GCC understands that, as `sz =
strlen(beg)`, `strncpy` will never see and copy a terminating nul
character to `dir`.
As we manually null-terminate `dir`, by `dir[sz] = '\0';` on the line
following `strncpy` we can avoid the warning, and speed up the copy a
little (there is no need to look for a nul terminator), by using a
plain `memcpy`.
|
|\ \ \
| |/ / |
|
| |\ \
| | | |
| | | |
| | | | |
AGAIN
|
| | |\ \
| | | | |
| | | | |
| | | | | |
into sverker/25/erts/hashmap-collision-nodes/OTP-18569
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merging of two key-value leafs with equal keys are handled
by hashmap_merge() itself, which means merge_colliding_node()
will always end up with at least two distinct keys and return
a collision node.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
erts: Fix warning about bitwise operations on booleans
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Clang 16 warns when `&` and `|` are used on boolean operands.
|
|\ \ \ \ \ \
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
* maint:
[erts] ensure no mix of external and internal identifiers
|
| |\ \ \ \ \
| | | |_|_|/
| | |/| | |
| | | | | |
| | | | | | |
* rickard/creation-fix/25.3.1/OTP-18570:
[erts] ensure no mix of external and internal identifiers
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
rickard/creation-fix/25.3.1/OTP-18570
* rickard/creation-fix/24.3.4/OTP-18570:
[erts] ensure no mix of external and internal identifiers
|
| | | |\ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
rickard/creation-fix/24.3.4/OTP-18570
* rickard/creation-fix/23.3.4/OTP-18570:
[erts] ensure no mix of external and internal identifiers
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Silently reject proposed creation and select another one when a node goes
alive if there are external identifiers in the system with the proposed
creation and the same node name that are to be used. Such identifiers would
not work as expected in various situations, and are not from the instance of
the node that are about to go alive.
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
When, on Windows, reading with recvfrom, if the buffer is
too small for the data available, the result is an error:
'more_data'. Add a function for handling this special error case.
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Incorrectly used get_overlapped_result as reason tag.
Should have been completion_status.
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Use the new config flag ESOCK_USE_EXTENDED_ERROR_INFO.
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The I/O Backend files did not support this feature.
OTP-18029
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
OTP-18029
|
|\ \ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| |\ \ \ \ \ \ \ \
| | | |/ / / / / /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* maint-25:
Updated OTP version
Prepare release
Update copyright year
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |\ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* bjorn/erts/utf32/25/OTP-18560:
Eliminate crash in matching of utf32 segment
|
| | |\ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
* rickard/no-native-atomics-fix/GH-7114/OTP-18563:
[erts] Fix build without native atomics
|
| | |\ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
* rickard/mon-link-dbg-fix:
[erts] Fix debug functionalty for monitors/links
|
| | |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
* rickard/aliasmonitor-fix/25.3/OTP-18557:
[erts] Fix erroneous removal of alias from alias table
|
| | |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
* john/erts/fix-ic-dc-config-test/OTP-18554:
Update configure scripts
erts: Fix ic/dc config tests and usage
|
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
maint-25
* john/erts/fix-overlapping-code-barriers-25/OTP-18553:
erts: Fix overlapping blocking code barriers in the same tick
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
* rickard/driver-call-callback-fix/24.3.4/OTP-18525:
[erts] Fix error case for driver call callback
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
This merge commit contains additional jit implementation
for the hashmap collision nodes in
beam/jit/x86/instr_map.cpp
beam/jit/arm/instr_map.cpp
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | |_|_|_|_|_|_|_|_|_|_|_|/ /
| | |/| | | | | | | | | | | | | |
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | |_|_|_|_|_|_|_|_|_|_|_|/
| | | |/| | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
sverker/25/erts/hashmap-collision-nodes
|
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Restrict depth of hashmap tree to 8 levels.
Instead of rehashing with salt, give up and put colliding keys
in "collision nodes" at the bottom of the tree.
Collision nodes are normal tuples of arity 2 or larger.
The elements of collision nodes are key-value cons cells
like the other nodes, but they are sorted in map-key order.
We do linear search in them, but that's ok as they should
be small and rare in practice.
Why?
We had some scary encounter with forever colliding term pairs
in make_internal_hash(). Even though that has been fixed
we will sleep better at night knowing the hashmaps may
not recurse forever draining all memory of the machine.
|
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Macro 'arityval' asserts tuple header in debug.
No point calling macro '_unchecked_header_arity'
which also allows map headers.
|
| | | | |_|_|_|_|_|_|_|_|/ / /
| | | |/| | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Cherry-picked: 5b0cf37de9d69a63a49dac1171ad4e5f1e616cf3
|