Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
The method getDefaultInstance() should return the IIORegistry instance for the current ThreadGroup.
This implementation maintains a synchronized hash map to store instances for each ThreadGroup, use ThreadGroup as the key, IIORegistry instance as the value. When the getDefaultInstance() method is being called, we will looks up in the hashmap see if there is exist record, if there is not then a new instance will be created and pushed to the hashmap.