Originally posted by Campbell Ritchie: Does anybody know why HashTable is used so frequently? Joe said it was used by the JVM for mapping purposes.
I've noticed HashTable showing up a lot in the profiler too even though we don't have ANY references to it in our code. Joe's explanation makes sense. Newer code would mostly use HashMap rather than HashTable. But the JVM was written before HashMap was invented.