summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/weak_ptr.h
Commit message (Collapse)AuthorAgeFilesLines
* Unpoison use-after-dtor access to ref countermakxenov9 days1-1/+1
| | | | | | | | Two scenarios addressed: - Access to ref counters after explicit destructor of an object - Access to vptr for upcast of an already destroyed object commit_hash:a8f27500111817f325832d006feb3ce6c3c830f1
* Replace DangerousGetPtr with TWeakPtrbabenko2026-03-011-7/+29
| | | | commit_hash:866e4401ff3564ae6e58c067f937c15d322a3828
* YT-27536: Fix (seemingly benign) race in TTwoLevelFairShareQueuebabenko2026-02-281-226/+49
| | | | commit_hash:700b15a49621e9f79e6e6c725a1aa958f9bd132e
* Do not get ref counter when copy weak ptrthenewone2025-09-251-2/+7
| | | | | | | | | | | Если копировать TWeakPtr в момент разрушения объекта, на который он ссылается, то происходит гонка на vptr. GetRefCounter использует vptr, а деструктор объекта может его менять. Thread-sanitizer эту гонку видит. Unit test added; also fixed and enabled older test. Enabled thread sanitizer for library/cpp/yt/memory. commit_hash:87cb083a9905cc8a262b575868bbae3438b9324f
* add ::element_type, .get() to smart pointers for better compatibility with stdpavook2024-11-041-0/+1
| | | | | For example, this makes it possible to use gtest pointer matchers on smart pointers commit_hash:2650074ae18ee35696b297d3d1f0393e7350789f
* Library import 8 (#1074)AlexSm2024-01-181-3/+3
| | | | | * Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
* Removed the last typedefs in the codebasesabdenovch2023-08-281-1/+1
| | | | | removed a lot of typedefs and turned a couple of std::pairs into something more meaningful
* Intermediate changesrobot-piglet2023-06-301-15/+33
|
* Fix typos in library/cpp/ytbabenko2023-06-031-1/+1
|
* Intermediate changesrobot-piglet2023-03-211-1/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.klyachin2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.klyachin2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.psushin2022-02-101-7/+7
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.psushin2022-02-101-7/+7
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.babenko2022-02-101-40/+40
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.babenko2022-02-101-40/+40
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ignat2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.ignat2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.lukyan2022-02-101-92/+92
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.lukyan2022-02-101-92/+92
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.max422022-02-101-19/+19
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.max422022-02-101-19/+19
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.prime2022-02-101-11/+11
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.prime2022-02-101-11/+11
|
* intermediate changesDevtools Arcadia2022-02-071-0/+314
ref:cde9a383711a11544ce7e107a78147fb96cc4029