On Tue, 22 Oct 2024 22:58:10 GMT, ExE Boss <d...@openjdk.org> wrote: > I think it might be a good idea to also have `equalsSymbol(…)` methods for > the other pool entries.
Indeed, this can avoid promotion to String state for all applicable symbols. I decide to start with the ClassEntry as this is the most error-prone and worth optimization. (Feel free to submit a ticket through bugs.java.com) ------------- PR Comment: https://git.openjdk.org/jdk/pull/21526#issuecomment-2430493219