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] avoid locking on class/module creation #5902

Merged
merged 1 commit into from Oct 8, 2019
Merged

[fix] avoid locking on class/module creation #5902

merged 1 commit into from Oct 8, 2019

Conversation

@kares
Copy link
Member

kares commented Oct 2, 2019

the synchronization of adding a new module (class) to the system,
has a considerable cost e.g. in threaded envs such as Rails

we simply avoid the sync cost by using a concurrent collection

resolves GH-5901

the synchronization of adding a new module (class) to the system,
has a considerable cost e.g. in threaded envs such as Rails

we simply avoid the sync cost by using a concurrent collection

resolves GH-5901
@kares kares added this to the JRuby 9.2.9.0 milestone Oct 2, 2019
@kares kares merged commit cb8a323 into master Oct 8, 2019
6 checks passed
6 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
jruby.jruby Build #20191002.3 succeeded
Details
jruby.jruby (Job linux) Job linux succeeded
Details
jruby.jruby (Job mac) Job mac succeeded
Details
jruby.jruby (Job windows) Job windows succeeded
Details
@kares kares deleted the fix-module-sync branch Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant
You can’t perform that action at this time.