Optimizing 'instanceof' operator by prefetching class entries