I was just glancing at SymbolTable, getting the flavor of how things fit
together, and noticed that writes to the HashMap 'symbols' are locked,
but reads are not. From the HashMap javadoc:
If multiple threads access this map concurrently, and at least one
of the threads modifies the map structurally, it must be
synchronized externally.
In Java 1.5 there will be a better implementation of a thread-safe hash
table, we could wrap 'symbols' with Collections.synchronizedMap(), or
switch to StaticBucketMap or FastHashMap from the apache commons
collections project.
Am I missing something or is this worth attending to?
Gary