another reflection sync test
thread locals instead of locks for vars in Types.scala