Warm up cache to prevent assertion failure.

Fix #16087.

cc @rafaelfranca @senny