[OpenJDK 2D-Dev] Review Request for JDK - JDK-8022640 : ServiceRegistry (used by ImageIO) lack synchronization

Jayathirth D V jayathirth.d.v at oracle.com
Thu Jan 21 11:30:55 UTC 2016


Hi,

 

Please review the following fix in JDK9:

 

Bug : https://bugs.openjdk.java.net/browse/JDK-8022640 

 

Webrev : http://cr.openjdk.java.net/~jdv/8022640/webrev.00/ 

 

Issue : ServiceRegistry (used by ImageIO) lack synchronization.

 

Root cause : Service Provider API's are not synchronized and concurrent access to its API's result in ConcurrentModificationException.

 

Solution : Both ServiceRegistry and IIORegistry use SubRegistry class for Service Provider API's. Making methods present in SubRegistry synchronized will help us in achieving synchronization.

 

Thanks,

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160121/5523f4ee/attachment.html>


More information about the 2d-dev mailing list