runtime: fix memory leak/growth when creating many runtimes (#3564)

This commit is contained in:
Ivan Petkov
2021-03-16 19:31:46 +01:00
committed by GitHub
parent e6103d6661
commit e4f76688a0
18 changed files with 437 additions and 285 deletions
+11 -2
View File
@@ -82,14 +82,23 @@ jobs:
sudo apt-get install -y valgrind
# Compile tests
- name: cargo build
- name: cargo build test-mem
run: cargo build --features rt-net --bin test-mem
working-directory: tests-integration
# Run with valgrind
- name: Run valgrind
- name: Run valgrind test-mem
run: valgrind --leak-check=full --show-leak-kinds=all ./target/debug/test-mem
# Compile tests
- name: cargo build test-process-signal
run: cargo build --features rt-process-signal --bin test-process-signal
working-directory: tests-integration
# Run with valgrind
- name: Run valgrind test-process-signal
run: valgrind --leak-check=full --show-leak-kinds=all ./target/debug/test-process-signal
test-unstable:
name: test tokio full --unstable
runs-on: ${{ matrix.os }}