| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Use asynchtonous close message to not fail on already closed port.
|
|\ \
| | |
| | |
| | |
| | | |
os_mon: Implement cpu_sup:util/0,1 for OpenBSD
OTP-18566
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
|
| | | |
|
| | | |
|
|/ /
| |
| | |
Free memory allocated for cpu_times in line 688
|
| |
| |
| |
| | |
This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* maint:
Close cpu_sup and memsup port on terminate
|
| |
| |
| |
| | |
cpu_sup and memsup shutdown fixes
|
| |
| |
| |
| | |
This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Add support for `disksup:get_disk_info/[0,1]`
OTP-18303
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
References #6156
https://github.com/erlang/otp/issues/6156#issuecomment-1208010552
This PR adds support for a function that will immediately fetch total
and available disk space for all local drives, or for a specific path.
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* maint:
os_mon: allow check intervals smaller than 1 minute
|
| |
| |
| |
| | |
- expand type of `disk_space_check_interval` to `Minute | {TimeUnit, Time}`
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
On systems with 0% of used disk space this testcase used to
fail. Note that 0% does not mean that 9 bytes was used, just
that the df command rounded down to 0% usage.
|
|/
|
|
|
|
|
|
|
|
|
| |
The `COMMUNICATION` section in `lib/os_mon/c_src/win32sysinfo.c`
specifies how to communicate with the port program. These changes fix
the expected input data for retrieving information for a single drive.
Ensure that get_disk_info/1 arguments and processing work together. The
port program takes a single drive letter, not a list.
Fixes #6156
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a --enable-deterministic-build to the configure script,
which sets ERL_DETERMINISTIC=yes throughout the relevant
Makefiles, which then invoke the relevant build stages with the
+deterministic option.
This addresses absolute paths being included in generated .erl files
and compiled .beam files that resulted in builds from different source
directories generating different artefacts (which is a component of the
issue in erlang#4482).
I think it would make sense to make this the default at some stage, but
I've put the change behind a flag for now to decouple
making deterministic OTP builds possible from making them the default.
Having +deterministic set results in compiler options being
removed from the module info for modules where this options was used.
This may have other implications for users of OTP.
For tests themselves, +determinism is not set, since many test cases
depend on accessing the test module's compilation options, or other
features not available in deterministic mode, in order to configure
themselves. For tests of the determinism feature specifically,
+deterministic must be explicitly passed to the compiler within the
relevant test cases.
|
| |
|
|
|
|
|
| |
Codemod, drops undocumented function in favour of a
documented one.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* maint:
Update copyright year
|
| | |
|
| |
| |
| |
| | |
Replace test_server:start_node with ?CT_PEER.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Removing ?t retained for backward compatibility allows to
search for test_server callsites easier.
Replace ?t:fail and test_server:fail with ct:fail.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a test case to check that app files for the
Erlang/OTP applications specifies correct versions for the
dependencies in the runtime_dependencies field. The test is designed
to work on the Erlang/OTP team's test servers as it assumes that all
released applications are installed in particular places and that all
app versions have been increased in the correct way (which is done by
scripts in the Erlang/OTP team's test infrastructure).
The test uses xref to try to find undefined function calls in all
Erlang/OTP applications. When running xref to test an application,
`xref`'s library path is set to point to folders containing beam-files
for the applications that are specified as the minimum correct
versions by the `runtime_dependencies` field in the application's app
file.
This commit also bumps the versions of several dependencies that the
test found to have incorrect versiosn so they instead get the first
version of the dependencies that makes the test pass.
|
|
|
|
|
| |
On a Mac with Apple Silicon, `memsup:get_os_wordsize/0` would return
32 instead of the correct 64.
|