Skip to content

Conversation

@minhhai2209
Copy link

Fixes to prevent locking and high CPU:

  • cache XPathFactory.newInstance() in ThreadLocal - avoid thread locking
  • replace HashMap with ConcurrentHashMap in MetaModel - HashMap.put causes high CPU usage when being used concurrently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant