please include function ai_parseTriple. static void ai_parseTriple_setCacheSize(int n) { synchronized(ai_parseTriple_cache) { ai_parseTriple_cache = synchronizedMRUCache(n); } }