-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
5.0
-
generic
-
solaris_8
The follwing methods in Class are native. Given the high overhead of calling
a native method, they should either be rewritten to cache their results, or
they should be intrinsified by the VM.
Class.isInterface()
Class.isArray()
Class.isPrimitive()
Class.getSuperclass()
Class.getInterfaces()
Class.getComponentType()
Class.getModifiers()
Class.getSigners()
Class.getDeclaringClass()
a native method, they should either be rewritten to cache their results, or
they should be intrinsified by the VM.
Class.isInterface()
Class.isArray()
Class.isPrimitive()
Class.getSuperclass()
Class.getInterfaces()
Class.getComponentType()
Class.getModifiers()
Class.getSigners()
Class.getDeclaringClass()
- relates to
-
JDK-4901942 (reflect) Class.getName() is a major performance bottleneck
-
- Resolved
-