Description
When we have 100,000 policies, it takes a long time to initialize hive plugin (more than 1min) and evaluate access request(more than 1s). Digging into the process, we found java stack as above images. Obviously it is the List.IndexOf method which makes it taking too much time.