Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
Under the situation of concurrent requires, if the first require exits with an Exception (that means the feature is not marked as already required), second and third requires by Threads runs parallel even if both have a lock. It's because we remove the lock from pool at the Exception.
It's a bug introduced by fixing
JRUBY-3194(proper require protection and thread-safe autoload)