Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeakReferenceCleaner now removed from REFERENCE_MAP on scheduleForClean() but breaks a test #68

Closed
peter-lawrey opened this issue Jun 5, 2018 · 3 comments
Assignees

Comments

@peter-lawrey
Copy link
Member

peter-lawrey commented Jun 5, 2018

The following enhancement to stop a map growing large under load and causing jitter, causes a test monitoring this map to blow up.

net.openhft.chronicle.queue.impl.single.AppenderFileHandleLeakTest#tailerShouldReleaseFileHandlesAsQueueRolls

    public void scheduleForClean() {
        SCHEDULED_CLEAN.add(this);
        REFERENCE_MAP.remove(this); // added to stop this map blowing up.
    }
RobAustin pushed a commit to OpenHFT/Chronicle-Queue that referenced this issue Jun 21, 2018
@RobAustin RobAustin reopened this Jun 24, 2018
RobAustin pushed a commit to OpenHFT/Chronicle-Queue that referenced this issue Jun 24, 2018
@RobAustin RobAustin reopened this Jun 29, 2018
@hft-team-city
Copy link
Collaborator

@hft-team-city
Copy link
Collaborator

Released in Chronicle-Bytes-2.20.101, BOM-2.20.134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants