|
Revision tags: v2021.12.0-rc1, v2021.4.1, v2021.11.0, v2021.2.4, v2021.11.0-rc1, v2021.11.0-src-rc1, v2021.2.3 |
|
| #
3b378356 |
| 18-Aug-2023 |
Krzysztof Filipek <[email protected]> |
Add explicit methods to meet the "rule of zero/three/five"
Signed-off-by: Krzysztof Filipek <[email protected]>
|
| #
b9a0ab45 |
| 16-Aug-2023 |
Krzysztof Filipek <[email protected]> |
Add missing methods to ThreadId class
This commit adds missing methods to meet "the rule of three".
Signed-off-by: Krzysztof Filipek <[email protected]>
|
| #
83e48019 |
| 10-Aug-2023 |
Lukasz Dorau <[email protected]> |
Make lastAccessMiss a local variable
Make lastAccessMiss a local variable. It fixes the Coverity issue #449482.
Signed-off-by: Lukasz Dorau <[email protected]>
|
| #
900b99bb |
| 10-Aug-2023 |
Lukasz Dorau <[email protected]> |
Initialize uninitialized scalar field currCacheIdx
Initialize uninitialized scalar field currCacheIdx. It fixes the Coverity issue #449484.
Signed-off-by: Lukasz Dorau <[email protected]>
|
|
Revision tags: v2021.10.0 |
|
| #
32d5ec1f |
| 05-Jun-2023 |
Łukasz Plewa <[email protected]> |
Add additional synchronization around *CachesCleanup function
This commit fixes the issue when test_malloc_pools TestFixedBufferPool fails sporadically on test_malloc_pools.cpp:437
utils::NativePar
Add additional synchronization around *CachesCleanup function
This commit fixes the issue when test_malloc_pools TestFixedBufferPool fails sporadically on test_malloc_pools.cpp:437
utils::NativeParallelFor( p, FixedPoolUse(p, pool, MAX_OBJECT/p/2,1) );
The main problem was that threads were not aware of cleanup operations done by SoftCachesCleanup() and HardCachesCleanup() functions. So while one thread was doing a cleanup, the second one returns ENOMEM as it couldn't find any memory to allocate in the backend (this test creates fixedSizePool)
The change adds additional flags and counters that indicate cleanup operation is in progress, allowing the thread to wait for those operations to complete before deciding if there is free memory to allocate or not and return this information to the caller.
In the scenario reproduced by the test, memory for the allocation can be reclaimed from the LOC. This operation happens in the loc.cleanAll() or loc.regularCleanup functions called respectively, by hardCachesCleanup() or softCachesCleanup() functions. In those functions, free memory is removed from LOC and added to the backend bin. Between those operations, other threads are unaware that this memory block is free and returns ENOMEM to the user.
To fix this problem, this patch adds two flags to indicate that cleanup (soft or hard) is in progress, and threads should wait before returning NULL to the user.
But there was one more problem: backend::clean() function. This function removes memory from the bins to try to release or coalesce it. The problem is that other threads were not aware of this operation. It causes a 'funny' situation when:
Thread 1: Performs HardCachescleanup function Thread 2: wait "waitTillBlockReleased()" Thread 1: Returns memory from LOC Thread 2: exits waitTillBlockReleased() as it detected new memory in backend Thread 1: starts backend::clean() - removes memory from the bin to try coalesce it Thread 2: Fail memory allocation as there is no free block in bins, and returns ENOMEM Thread 1: Finish coalescing and return memory back to bins
To resolve this problem, this patch adds a counter which allows threads to detect when clean operation is done so that the threads will wait for the complition of there is no memory available.
Signed-off-by: Łukasz Plewa <[email protected]>
show more ...
|
| #
fc184738 |
| 08-Jun-2023 |
Konstantin Boyarinov <[email protected]> |
Minor fixes for KW in tbbmalloc (#1124)
Signed-off-by: kboyarinov <[email protected]>
|
|
Revision tags: v2021.10.0-rc1, v2020.3.3, v2021.2.2, v2021.9.0 |
|
| #
a96a032f |
| 06-Apr-2023 |
Vladislav Shchapov <[email protected]> |
Fix for build error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] (#1059)
Signed-off-by: Vladislav Shchapov <[email protected]>
|
| #
2110128e |
| 30-Mar-2023 |
sarathnandu <[email protected]> |
Introduce new SDL compile flags on Windows and fix warnings. (#1035)
* Add Windows compiler flags related to security and fix TBB Malloc Warnings.
---------
Signed-off-by: sarathnandu <sarath.na
Introduce new SDL compile flags on Windows and fix warnings. (#1035)
* Add Windows compiler flags related to security and fix TBB Malloc Warnings.
---------
Signed-off-by: sarathnandu <[email protected]>
Co-authored-by: Pavel Kumbrasev <[email protected]>
show more ...
|
|
Revision tags: v2021.2.1, v2021.9.0-rc1, v2020.3.2, v2021.8.0 |
|
| #
0e6d4699 |
| 12-Dec-2022 |
Anuya Welling <[email protected]> |
Replacing files to update ittnotify to tag v3.23.0 (#956)
* Replacing files to update ittnotify to tag v3.23.0
* codespell error elimination
* Adding back changes made by PR #917
* Adding b
Replacing files to update ittnotify to tag v3.23.0 (#956)
* Replacing files to update ittnotify to tag v3.23.0
* codespell error elimination
* Adding back changes made by PR #917
* Adding back changes made by #850
* Changing copyright
* ITT RELEASE RESOURCES MACRO
* Fixing copyright issue
* Address changes for frontend.cpp
show more ...
|
|
Revision tags: v2021.8.0-rc1, v2020.3.1, v2021.7.0, v2021.7.0-rc1, v2021.6.0 |
|
| #
c21e688a |
| 01-Feb-2022 |
Sergey Zheltov <[email protected]> |
Update copyright year 2021 -> 2022 (#761)
Signed-off-by: Zheltov, Sergey1 <[email protected]>
|
| #
57f524ca |
| 26-Jan-2022 |
Ilya Isaev <[email protected]> |
clang-tidy: use nullptr instead of NULL (#631)
This patch applies clang-tidy check- modernize-use-nullptr
Signed-off-by: Ilya Isaev <[email protected]>
Co-authored-by: vlserov <vladimir.serov
clang-tidy: use nullptr instead of NULL (#631)
This patch applies clang-tidy check- modernize-use-nullptr
Signed-off-by: Ilya Isaev <[email protected]>
Co-authored-by: vlserov <[email protected]>
show more ...
|
|
Revision tags: v2021.6.0-rc1, v2021.5.0 |
|
| #
ba947f18 |
| 21-Oct-2021 |
Ilya Isaev <[email protected]> |
Changes in code after applying some clang-tidy check fixes (#620)
Applied fixes from clang-tidy(readability and modernize)
Signed-off-by: Ilya Isaev [email protected]
|
|
Revision tags: v2021.5.0-rc2, v2021.5.0-rc1, v2021.4.0 |
|
| #
c09c4163 |
| 30-Sep-2021 |
Ilya Isaev <[email protected]> |
Use yield function from tbb in tbbmalloc (#590)
Signed-off-by: Ilya Isaev <[email protected]>
|
|
Revision tags: v2021.4.0-rc1 |
|
| #
1ecde27f |
| 06-Aug-2021 |
Ilya Mishin <[email protected]> |
Fix inclusive language usage issues in tbbmalloc (#522)
Signed-off-by: Mishin, Ilya <[email protected]>
|
| #
dbccbee9 |
| 22-Jul-2021 |
Ilya Mishin <[email protected]> |
ICX compiler support on windows (#499)
* Support ICX on windows
Signed-off-by: Mishin, Ilya <[email protected]>
* clang macro
Signed-off-by: Mishin, Ilya <[email protected]>
* up
ICX compiler support on windows (#499)
* Support ICX on windows
Signed-off-by: Mishin, Ilya <[email protected]>
* clang macro
Signed-off-by: Mishin, Ilya <[email protected]>
* update compiler map
Signed-off-by: Mishin, Ilya <[email protected]>
* fix intptr_t
Signed-off-by: Mishin, Ilya <[email protected]>
* fix duplicate
Signed-off-by: Mishin, Ilya <[email protected]>
* fix spaces
Signed-off-by: Mishin, Ilya <[email protected]>
* fix spaces 2
Signed-off-by: Mishin, Ilya <[email protected]>
* update style
Signed-off-by: Mishin, Ilya <[email protected]>
* Update CMakeLists.txt
* Update test_openmp.cpp
show more ...
|
| #
8827ea7d |
| 21-Jul-2021 |
Long Nguyen <[email protected]> |
Add export attributes + bug fixes (#351)
* Change (_WIN32 || _WIN64) to (_WIN32)
Signed-off-by: Long Nguyen <[email protected]>
* Add _MSC_VER guards around #pragma warning directiv
Add export attributes + bug fixes (#351)
* Change (_WIN32 || _WIN64) to (_WIN32)
Signed-off-by: Long Nguyen <[email protected]>
* Add _MSC_VER guards around #pragma warning directives
Signed-off-by: Long Nguyen <[email protected]>
* Tweak MUTEX_INITIALIZER to suppress warnings
Signed-off-by: Long Nguyen <[email protected]>
* Undefine PATH_MAX before redefining to suppress warnings
Signed-off-by: Long Nguyen <[email protected]>
* Wrap #undef PATH_MAX
Co-authored-by: Alex <[email protected]>
* Add lib prefix to dll names on mingw
Signed-off-by: Long Nguyen <[email protected]>
* Quote LINK_FLAGS and LINK_DEPENDS to avoid space in paths problem
Signed-off-by: Long Nguyen <[email protected]>
* Move #include <cstring> outside of #if _WIN32 block
Signed-off-by: Long Nguyen <[email protected]>
* wchar_t everywhere
Signed-off-by: Long Nguyen <[email protected]>
* Add export attributes
Signed-off-by: Long Nguyen <[email protected]>
* Tweak export macros
Signed-off-by: Long Nguyen <[email protected]>
* Add export directives to tbbmalloc
Signed-off-by: Long Nguyen <[email protected]>
* Wrap version script arguments + Undefine __STRICT_ANSI__
Signed-off-by: Long Nguyen <[email protected]>
* Export directives for tbbbind
Signed-off-by: Long Nguyen <[email protected]>
* Temporarily disable def files flag
Signed-off-by: Long Nguyen <[email protected]>
* Fix __STRICT_ANSI__ undefine
Signed-off-by: Long Nguyen <[email protected]>
* Fix macro in spin_mutex.h
Signed-off-by: Long Nguyen <[email protected]>
* Add export directives to task_group.h
Signed-off-by: Long Nguyen <[email protected]>
* Add waitpkg detection
Signed-off-by: Long Nguyen <[email protected]>
* Tweak x86_64 detection
Signed-off-by: Long Nguyen <[email protected]>
* Fix -U__STRICT_ANSI__ again
Signed-off-by: Long Nguyen <[email protected]>
* Do not link with dl on mingw
Signed-off-by: Long Nguyen <[email protected]>
* Add extra include files for allocator.cpp
Signed-off-by: Long Nguyen <[email protected]>
* Add export directives for version.h
Signed-off-by: Long Nguyen <[email protected]>
* Move export directives macro to a separate file
Signed-off-by: Long Nguyen <[email protected]>
* Split export directives into separate macros
Signed-off-by: Long Nguyen <[email protected]>
* Remove tbbmalloc symbols from proxy.h
Signed-off-by: Long Nguyen <[email protected]>
* Replace TBBMALLOC_EXPORT with TBB_EXPORT in tbb_allocator.h
Signed-off-by: Long Nguyen <[email protected]>
* Include scalable_allocator.h in tbbmalloc.cpp
Signed-off-by: Long Nguyen <[email protected]>
* Disable C4275 in _exception.h
Signed-off-by: Long Nguyen <[email protected]>
* Add export directives for is_writer
Signed-off-by: Long Nguyen <[email protected]>
* Add export directives for _waitable_atomic.h
Signed-off-by: Long Nguyen <[email protected]>
* Create macro for tbbbind
Signed-off-by: Long Nguyen <[email protected]>
* Include <new> in scalable_allocator.h
Signed-off-by: Long Nguyen <[email protected]>
* Add export case for Apple OS
Signed-off-by: Long Nguyen <[email protected]>
* Add VERSION and SOVERSION
Signed-off-by: Long Nguyen <[email protected]>
* Fix warnings under MSYS2 + GCC 10.3.x
* Trying to fix Linux CI
Signed-off-by: Long Nguyen <[email protected]>
* Remove std::this_thread::yield() dependency on Windows
Signed-off-by: Long Nguyen <[email protected]>
* Apply suggestions + fix typo
Signed-off-by: Long Nguyen <[email protected]>
* Add def file flags back in
Signed-off-by: Long Nguyen <[email protected]>
* Tweak export directives mechanism
Signed-off-by: Long Nguyen <[email protected]>
* Change bool to auto to prevent warnings on VS2015
Signed-off-by: Long Nguyen <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: Vittorio Romeo <[email protected]>
show more ...
|
| #
734f0bc0 |
| 02-Jul-2021 |
Pablo Romero <[email protected]> |
Add support for QNX Neutrino (#440)
* Added support for QCC (QNX GNU Compiler)
* Enable source code compilation with non-Linux Unix systems with special focus on QNX.
Signed-off-by: promero <pro
Add support for QNX Neutrino (#440)
* Added support for QCC (QNX GNU Compiler)
* Enable source code compilation with non-Linux Unix systems with special focus on QNX.
Signed-off-by: promero <[email protected]>
show more ...
|
| #
112076d0 |
| 01-Jul-2021 |
Ilya Isaev <[email protected]> |
Improve code coverage (#463)
Signed-off-by: Ilya Isaev <[email protected]>
|
|
Revision tags: v2021.3.0 |
|
| #
fa944e19 |
| 29-Jun-2021 |
Mircho Rodozov <[email protected]> |
Remove arch macros checks for getSmallObjectIndex (#461)
Remove arch macros checks for getSmallObjectIndex
Signed-off-by: Alexei Katranov <[email protected]>
|
| #
8b6f831c |
| 17-May-2021 |
tbbdev <[email protected]> |
Commit oneTBB source code 5ba997e1
|
| #
478de5b1 |
| 05-May-2021 |
tbbdev <[email protected]> |
Commit oneTBB source code 82ff8707
|
| #
9e15720b |
| 26-Mar-2021 |
tbbdev <[email protected]> |
Commit oneTBB source code b0fb1535
|
|
Revision tags: v2021.2.0, v2021.2.0-rc |
|
| #
b15aabb3 |
| 26-Jan-2021 |
tbbdev <[email protected]> |
Commit oneTBB source code 9ed4a21c
|
|
Revision tags: v2021.1.1 |
|
| #
49e08aac |
| 28-Oct-2020 |
tbbdev <[email protected]> |
Commit oneTBB source code 6420d97a
|
|
Revision tags: v2021.1-beta10 |
|
| #
51c0b2f7 |
| 25-Sep-2020 |
tbbdev <[email protected]> |
Commit oneTBB source code 4ebd2d06
|