Remove unneeded logging in tests.
This commit is contained in:
parent
328c5b57d2
commit
f5fe132722
@ -58,7 +58,7 @@ TEST(EpochBaseMemoryReclamation, stress) {
|
|||||||
for (auto &thread : threads) {
|
for (auto &thread : threads) {
|
||||||
thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
LOG(ERROR) << "Undeleted pointers: " << ebmr.to_delete_size_unsafe();
|
LOG(INFO) << "Undeleted pointers: " << ebmr.to_delete_size_unsafe();
|
||||||
//CHECK(static_cast<int>(ebmr.to_delete_size_unsafe()) <= threads_n * threads_n);
|
//CHECK(static_cast<int>(ebmr.to_delete_size_unsafe()) <= threads_n * threads_n);
|
||||||
for (int i = 0; i < threads_n; i++) {
|
for (int i = 0; i < threads_n; i++) {
|
||||||
ebmr.get_locker(i).retire_sync();
|
ebmr.get_locker(i).retire_sync();
|
||||||
|
@ -50,7 +50,7 @@ TEST(HazardPointers, stress) {
|
|||||||
for (auto &thread : threads) {
|
for (auto &thread : threads) {
|
||||||
thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
LOG(ERROR) << "Undeleted pointers: " << hazard_pointers.to_delete_size_unsafe();
|
LOG(INFO) << "Undeleted pointers: " << hazard_pointers.to_delete_size_unsafe();
|
||||||
CHECK(static_cast<int>(hazard_pointers.to_delete_size_unsafe()) <= threads_n * threads_n);
|
CHECK(static_cast<int>(hazard_pointers.to_delete_size_unsafe()) <= threads_n * threads_n);
|
||||||
for (int i = 0; i < threads_n; i++) {
|
for (int i = 0; i < threads_n; i++) {
|
||||||
hazard_pointers.retire(i);
|
hazard_pointers.retire(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user