-
Sub-task
-
Resolution: Won't Fix
-
P4
-
24
-
None
MethodType objects are deduplicated in the runtime, and so are their descriptors. When we construct MethodTypeDesc from MethodType, we should aim to reuse the descriptor string of the MethodType: the same string object has cached hash code, avoiding redundant hash computations, and can often check descriptor string equality more quickly with identity checks.
- links to
-
Review(master) openjdk/jdk/20942