-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b70
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135931 | emb-9 | Daniel Fuchs | P3 | Resolved | Fixed | team |
The package matching algorithm in the checkPackageAccess method can be optimized in several ways to improve performance:
1. Restricted packages that are longer than the package being checked can be skipped; there is no need to compare them since they will never match
2. A more efficient algorithm can be used when checking if the packages are equal to each other
1. Restricted packages that are longer than the package being checked can be skipped; there is no need to compare them since they will never match
2. A more efficient algorithm can be used when checking if the packages are equal to each other
- backported by
-
JDK-8135931 Improve performance of SecurityManager.checkPackageAccess
-
- Resolved
-
- relates to
-
JDK-8062948 Implement and measure potential performance improvements
-
- Resolved
-