Monitor contention at ValidatorFactoryImpl

Description

causes synchronization. See screenshot.

It's better to cache the result, beacause the result is static. I create a PR.

Environment

Apache Tomcat 7.0.14
Oracle Java 7u45

Activity

Show:
Lucas Pouzac
October 14, 2015, 8:20 AM
Hardy Ferentschik
October 16, 2015, 11:04 AM

Thanks . OOI, what is the context in which you found this contention? Did you specifically profile Validator or did you just come across this?

Assignee

Unassigned

Reporter

Lucas Pouzac

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure