On Fri, 26 Apr 2024 12:43:32 GMT, Chen Liang <li...@openjdk.org> wrote:
> Primitive class desc sharing should be really helpful, especially considering > that they are represented as condy and their `equals` is thus quite > inefficient. Ok. We could consider overriding `equals` in `PrimitiveClassDescImpl` if this is an issue (in a follow-up). With guarantees that they are unique we could even have such a method be implemented as a reference equality check. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18971#issuecomment-2079415480