The JID class uses three caches, in which the result of stringprepping is stored. The capacity of these caches is hardcoded.
For high-volume instances of Openfire, the hardcoded values might not suffice. It should be possible to reconfigure the caches. Additionally, it would be nice if the caches are displayed in the cache summary admin console page.