Adam Lally wrote:
[...]
> 
> Very Interesting...
> 
> Vectors are internally synchronized.  All the CASes in the CAS Pool
> share the same instance of the TypeSystemImpl, so they will all
> synchronize when calling ll_isValidTypeCode().  I wonder if switching
> the Vector to an ArrayList would help.  (Thilo, would that be safe?
> If set() is itself synchronized, and if nothing else modifies the
> table, then it seems like it would be.

Looking at the code, I think it should be safe.  Believe it or not,
this code is actually from a time when there were no ArrayLists, it's
that old :-)

--Thilo

Reply via email to