com.fasterxml.jackson.databind.type.TypeFactory._hashMapSuperInterfaceChain (HierarchicType)
com.fasterxml.jackson.databind.type.TypeFactory._findSuperInterfaceChain(Type, Class)
com.fasterxml.jackson.databind.type.TypeFactory._findSuperTypeChain(Class, Class)
com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(Class, Class, TypeBindings)
com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(JavaType, Class)
com.fasterxml.jackson.databind.type.TypeFactory._fromParamType(ParameterizedType, TypeBindings)
com.fasterxml.jackson.databind.type.TypeFactory._constructType(Type, TypeBindings)
com.fasterxml.jackson.databind.type.TypeFactory.constructType(TypeReference)
com.fasterxml.jackson.databind.ObjectMapper.convertValue(Object, TypeReference)
เมธอด _hashMapSuperInterfaceChain ในคลาสcom.fasterxml.jackson.databind.type.TypeFactoryถูกซิงโครไนซ์ ฉันเห็นการต่อสู้ในที่โหลดสูง
อาจเป็นอีกสาเหตุหนึ่งที่จะหลีกเลี่ยง ObjectMapper แบบคงที่
ObjectMapperยังคงปลอดภัยกระทู้หลังจากที่ObjectMapper#setDateFormat()ถูกเรียก เป็นที่ทราบกันดีว่าSimpleDateFormatไม่ปลอดภัยสำหรับเธรดดังนั้นObjectMapperจะไม่เป็นเช่นนั้นหากไม่ได้ทำการโคลนนิ่งเช่นSerializationConfigกันก่อนwriteValue()(ฉันสงสัย) คุณหักล้างความกลัวของฉันได้ไหม