Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
10.2.1.6
-
None
-
None
-
Performance
Description
Clock currently inherits from Hashtable, but the use of Hashtable is really an implementation detail that would benefit from being hidden as private member. All access to the hashtable happens inside sychronized blocks so it is safe to substitute a HashMap. This change appears to trigger a small increase in throughput, as measured by the average TPS number obtained by running the select client from DERBY-1961 repeatedly.