thesis: Rewrite implementation of xcache entry