!8201 修复IncreaseAliveObject的Assert失败

Merge pull request !8201 from huangzhenghua/master20240716
This commit is contained in:
openharmony_ci 2024-07-17 11:17:43 +00:00 committed by Gitee
commit 7106272b06
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -677,7 +677,6 @@ public:
void IncreaseAliveObject(size_t size)
{
ASSERT(aliveObject_ + size <= GetSize());
aliveObject_.fetch_add(size, std::memory_order_relaxed);
}