Synchronization on a String field can lead to deadlock because Strings are interned by the JVM and can be shared.
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |