@@ -180,7 +180,6 @@ namespace NActors {
180180 switch (x->MailboxType ) {
181181 case TMailboxType::Simple: {
182182 TSimpleMailbox* const mailbox = TSimpleMailbox::Get (lineHint, x);
183- mailbox->Push (recipient.LocalId ());
184183#if (!defined(_tsan_enabled_))
185184 Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
186185#endif
@@ -205,7 +204,6 @@ namespace NActors {
205204 return false ;
206205
207206 TRevolvingMailbox* const mailbox = TRevolvingMailbox::Get (lineHint, x);
208- mailbox->Push (recipient.LocalId ());
209207#if (!defined(_tsan_enabled_))
210208 Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
211209#endif
@@ -218,7 +216,6 @@ namespace NActors {
218216 return true ;
219217 case TMailboxType::HTSwap: {
220218 THTSwapMailbox* const mailbox = THTSwapMailbox::Get (lineHint, x);
221- mailbox->Push (recipient.LocalId ());
222219#if (!defined(_tsan_enabled_))
223220 Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
224221#endif
@@ -234,7 +231,6 @@ namespace NActors {
234231 return false ;
235232
236233 TReadAsFilledMailbox* const mailbox = TReadAsFilledMailbox::Get (lineHint, x);
237- mailbox->Push (recipient.LocalId ());
238234#if (!defined(_tsan_enabled_))
239235 Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
240236#endif
@@ -250,7 +246,6 @@ namespace NActors {
250246 return false ;
251247
252248 TTinyReadAsFilledMailbox* const mailbox = TTinyReadAsFilledMailbox::Get (lineHint, x);
253- mailbox->Push (recipient.LocalId ());
254249#if (!defined(_tsan_enabled_))
255250 Y_DEBUG_ABORT_UNLESS (mailbox->Type == (ui32)x->MailboxType );
256251#endif
@@ -435,24 +430,6 @@ namespace NActors {
435430 }
436431 }
437432
438- TMailboxUsageImpl<true >::~TMailboxUsageImpl () {
439- while (auto *e = PendingEventQueue.Pop ()) {
440- delete e;
441- }
442- }
443-
444- void TMailboxUsageImpl<true >::Push(ui64 localId) {
445- PendingEventQueue.Push (new TPendingEvent{localId, GetCycleCountFast ()});
446- }
447-
448- void TMailboxUsageImpl<true >::ProcessEvents(TMailboxHeader *mailbox) {
449- while (std::unique_ptr<TPendingEvent> e{PendingEventQueue.Pop ()}) {
450- if (IActor *actor = mailbox->FindActor (e->LocalId )) {
451- actor->OnEnqueueEvent (e->Timestamp );
452- }
453- }
454- }
455-
456433 TMailboxTable::TSimpleMailbox::TSimpleMailbox ()
457434 : TMailboxHeader(TMailboxType::Simple)
458435 , ScheduleMoment(0 )
0 commit comments