Skip to content

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

Merged
kares merged 1 commit intomasterfrom
fix-module-sync
Oct 8, 2019
Merged

[fix] avoid locking on class/module creation#5902
kares merged 1 commit intomasterfrom
fix-module-sync

Conversation

@kares
Copy link
Member

@kares 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
@kares kares deleted the fix-module-sync branch October 15, 2019 07:33
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.

singleton class initialization blocks threads

1 participant