[OpenJDK 2D-Dev] <2D Dev> [7u6] Request for review: 7027300 Unsynchronized HashMap access causes endless loop

Vladislav Karnaukhov Vladislav.Karnaukhov at oracle.com
Mon Jun 18 13:31:58 UTC 2012


please review a fix for CR 7027300: Unsynchronized HashMap access causes 
endless loop.

The issue is that SunLayoutEngine.getEngine uses non-synchronized 
HashMap, which may cause an endless loop.
The fix is to use ConcurrentHashMap instead of HashMap.

Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7027300
Webrev: http://cr.openjdk.java.net/~vkarnauk/7027300/webrev.00/

- Vlad

More information about the 2d-dev mailing list