Github user lizhanhui commented on the issue:
https://github.com/apache/incubator-rocketmq/pull/95
You are right that more changes are required for my suggested approach.
But, IMO, the suggested way is more unified in design and may also save a few
memory footprint in case we have very large semaphore initial capacity.
Indeed, this is the place we need to enhance.
Let's bring more guys into discussion before you implement the suggested
approach. They should easily conceive what's going on here via checking
changes made in your PR. Any opinion on this issue? @zhouxinyu @shroman
@vongosling
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---