Too many permissions file rereads - can slow down much #796
Labels
comp-sandboxing
Issue is related to sandboxing unpermitted operations by Java Security Manager
ctg-enhancement
New feature, improvement or change request
spec-performance
Performance-related issue
Description
Currently if there is some unrecognized permission - we have 55K errors in concrete execution logs.
It shows indirectly that there are many permission read attempts. And this is only for one method test generation.
Permissions file is not expected to be changed during UTBot execution.
So it can be read only before test generation - to save time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Permissions file can be read once before test generation - to save time.
Actual behavior
There are about 55K errors "invalid permission: test" in concrete executor log.
This shows that UTBot is trying to read and recognize this permission many times during test execution.
Visual proofs (screenshots, logs, images)
Many errors with the following text:
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1 - 2022.1.4
JDK 8 / 11
The text was updated successfully, but these errors were encountered: