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

org.apache.dubbo.config.utils.SimpleReferenceCache#get(org.apache.dubbo.config.ReferenceConfigBase<T>) Invalid #9829

Closed
1 task
hanl754 opened this issue Mar 23, 2022 · 2 comments
Assignees
Labels
type/bug Bugs to being fixed
Milestone

Comments

@hanl754
Copy link

hanl754 commented Mar 23, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.0.5
  • Operating System version: MacOS Monterey
  • Java version: zulu 1.8.0_312

Steps to reproduce this issue

  1. use generic invoke
  2. SimpleReferenceCache cache = SimpleReferenceCache.getCache();
  3. cache.get(reference);

Pls. provide [GitHub address] to reproduce this issue.

Expected Behavior

expect fast return. because this is cache

Actual Behavior

however, this method call is very slow.
image

If there is an exception, please attach the exception trace:

Just put your stack trace here!
@hanl754 hanl754 added the type/bug Bugs to being fixed label Mar 23, 2022
@EarthChen
Copy link
Member

Would you like a PR to take care of it?

@hanl754
Copy link
Author

hanl754 commented Mar 23, 2022

Would you like a PR to take care of it?
There was a chance for me to become a dubbo contributor but I didn't treasure it. I regret but too late when I lose it!
YES! I want to have a try (ps: It's my first work on github, I dont's know what should I do first~ )

@hanl754 hanl754 changed the title org.apache.dubbo.config.utils.SimpleReferenceCache#get(org.apache.dubbo.config.ReferenceConfigBase<T>) livalid org.apache.dubbo.config.utils.SimpleReferenceCache#get(org.apache.dubbo.config.ReferenceConfigBase<T>) Invalid Mar 23, 2022
hanl754 added a commit to hanl754/dubbo that referenced this issue Mar 23, 2022
@chickenlj chickenlj added this to the 3.0.8 milestone Mar 30, 2022
chickenlj added a commit to chickenlj/incubator-dubbo that referenced this issue May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bugs to being fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants