Age | Commit message (Collapse) | Author |
|
bmk/inets/inet56_integration
|
|
|
|
bmk/inets/inet56_integration
OTP-9246
|
|
The test case is called test_inline and is using the wrong module name 'Mod1'
instead of 'Mod'. This has never been working correcty but was hidden by the catch in timer:tc.
|
|
|
|
bmk/snmp/snmp420_integration
Conflicts:
lib/snmp/src/app/snmp.appup.src
OTP-9022
|
|
|
|
|
|
|
|
httpc manager crashes.When a request results in a retry, the request
id will be "reused" in the previous implementation a race condition
could occur causing the manager to crash. This is now avoided by using
proc_lib:init_ack and gen_server:enter_loop to allow more advanced
initialization of httpc_handlers without blocking the httpc_manger
and eliminating extra processes that can cause race conditions.
|
|
* dgud/timer_tc/OTP-9169:
Add timer:tc/1 which measures elapsed time for a fun/0
|
|
Also removes the 'catch' from timer:tc functions which masked errors
in measuring code.
|
|
* dgud/et/window-fix/OTP-9238:
Windows fixes, content_viewer window size was wrong and removed focus stealing
|
|
|
|
This could happen on ram_copies tables.
|
|
* rickard/gc-other/OTP-9211:
Fix bad assertions
Avoid scheduling of processes being garbage collected by others
|
|
|
|
|
|
|
|
The contents of the ERL_<version>_FLAGS undocumented environment
variable would be added at the end of the command line passed
to the BEAM emualator (similar to ERL_ZFLAGS), making it impossible
to override (for example) "-smp" with "-smp disable" on the command
line.
To allow overriding, put the contents of ERL_<version>_FLAGS at
the beginning of the command line (similar to ERL_AFLAGS).
Since the ERL_<version>_FLAGS variable is undocumented and
unsupported, it is OK to change its behaviour in a minor release.
|
|
Invoking 'cerl' like 'cerl -smp' would only start the smp emulator
if default was to start the non-smp emulator, otherwise 'erlexec'
would try to start 'beam.smp.smp'. Furthermore 'cerl -smp disable'
would be handled in the same way as 'cerl -smp'.
|
|
It is difficult/impossible to find out whether an invocation of
'erl' will start the smp emulator or the non-smp emulator
(short of actually starting the emulator). Therefore we will need
a way to ask 'erlexec'.
|
|
The -frag and -smp_frag options was used to start an (at the time)
experimental build of the emulator. The -shared and -hybrid option
was used to start experimental versions of the emulator with
alternate heap architectures.
|
|
|
|
(allow only 32 bit values when decoding).
|
|
Atomic operations with specified barriers have specified barrier semantics.
Set and read operations have undefined barrier semantics. All other atomic
operations implied full memory barriers, except when using the libatomic_ops
library and the tilera atomics api.
Some code in the runtime system assumed that all operations used (except for
set, read and specified) implied full memory barriers. The use of the
libatomic_ops library and the tilera atomics api have therefore been modified
to behave as the other implementations.
Some atomic operations with specified barrier semantics on sparc32 have also
been been relaxed in this commit.
|
|
* gl/erl_do_receive_msg/OTP-9241:
The function 'erl_xreceive_msg' returned garbage in the 'to' and 'to_name' members of the message. The reason for that was found in the 'erl_do_receive_msg' function. When no 'pid' is provided by the sender, like when doing rpc calls as those uses registered name sends, it doesn't initialize the 'to' member and also the 'to_name' member is copied by the function.
|
|
|
|
|
|
|
|
Avoid creating two variable names referring to the same memory
area, because that can cause aliasing warnings in some versions of
gcc.
|
|
|
|
|
|
|
|
|
|
Noticed-by: Jon Meredith
|
|
The io_list_len() function returns an int, where a negative return
value indicates a type error. One problem is that an int only consists
of 32 bits in a 64-bit emulator. Changing the return type to Sint
will solve that problem, but in the 32-bit emulator, a large iolist
and a iolist with a type error will both return a negative number.
(Noticed by Jon Meredith.)
Another problem is that for iolists whose total size exceed the
word size, the result would be truncated, leading to a subsequent
buffer overflow and emulator crash.
Therefore, introduce the new erts_iolist_size() function which
returns a status indication and writes the result size through
a passed pointer. If the result size does not fit in a word,
return an overflow indication.
|
|
into dev
* siri/stdlib/list-to-set-for-dynamic-temporary-procs/OTP-9242:
Change list to set in supervisor for saving pids of dynamic temprary children
|
|
* siri/sasl/log_mf_h-env-missing/OTP-9185:
Fail sasl startup if some, but not all, environment variables related to log_mf_h are given
|
|
* lars/docbuilder/fop-10-crash/OTP-9143:
Changed copyright year.
Removed an overflow warning.
Fix fop 1.0 crash when building pdf
|
|
|
|
|
|
|
|
* lars/xmerl/test-suites/OTP-9228:
Fix separator error in tokenlists.
Added the xmerl test suites.
Using the same testdata for testing xmerl_scan and xmerl_sax_parser.
Add test suite for xmerl
xmerl: Add doc/examples directory
|
|
|
|
|
|
|
|
|
|
Needed by the test suite.
|
|
Use of Uint instead of UWord could cause overflow errors on systems
with large memory use.
|