additional test: @CompileStatic plus @Synchronized