RFR: 8342206: Convenience method to check if a ClassEntry matches a ClassDesc [v3]

Chen Liang liach at openjdk.org
Tue Oct 22 23:23:04 UTC 2024


On Tue, 22 Oct 2024 22:58:10 GMT, ExE Boss <duke at 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


More information about the core-libs-dev mailing list