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

[Fix](common): fix arc cache capacity && add some tests #2953

Closed
wants to merge 1 commit into from

Conversation

zztaki
Copy link
Contributor

@zztaki zztaki commented Dec 8, 2023

What problem does this PR solve?

Issue Number: #2952

Problem Summary: ARCCache cache capacity shoule be maxCount and there is a lack of ARC related tests here.

What is changed and how it works?

What's Changed: adjust ARC cache capacity to maxCount and add some tests.

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@zztaki
Copy link
Contributor Author

zztaki commented Dec 8, 2023

cicheck

2 similar comments
@zztaki
Copy link
Contributor Author

zztaki commented Dec 8, 2023

cicheck

@zztaki
Copy link
Contributor Author

zztaki commented Dec 8, 2023

cicheck

@zztaki
Copy link
Contributor Author

zztaki commented Dec 8, 2023

cicheck

@wuhongsong
Copy link
Contributor

@skypexu PTAL?

@skypexu
Copy link
Member

skypexu commented Dec 14, 2023

It was fixed in recent commits.

@skypexu PTAL?

@skypexu
Copy link
Member

skypexu commented Dec 14, 2023

Yes, you can improve ARC unittest futher if you wish.

@zztaki
Copy link
Contributor Author

zztaki commented Dec 14, 2023

A bit unluck for having been fixed recently. Maybe I can try other modules :)

@zztaki zztaki closed this Dec 28, 2023
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

Successfully merging this pull request may close these issues.

3 participants