-
Enhancement
-
Resolution: Fixed
-
P4
-
23
-
None
-
b26
JVM installs loader constraints for unloaded signature classes when method resolution occurs. MethodHandle resolution took a different route and eagerly resolves signature classes instead (see sun.invoke.util.VerifyAccess::isTypeVisible). There's a micro-optimization which bypasses that logic for java.* classes. The downside is that java.* classes can show up as unloaded signature classes. It manifests as inlining failures during JIT-compilation and may cause severe performance issues.
- relates to
-
JDK-8294609 C2: Improve inlining of methods with unloaded signature classes
- Resolved