Skip to content

Maybe remove notifyAll without any waiters #3093

@gramound

Description

@gramound

Do we still need the notifyAll() since nothing calls wait()?

    // Wake up threads waiting for the allocated size to drop.
    notifyAll();

A long time ago, there was blockWhileTotalBytesAllocatedExceeds calling wait(), but it got removed and the notifyAll()s were left behind.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions