RFR: 8324584: Optimize Symbol and char* handling in ClassLoader [v3]
David Holmes
dholmes at openjdk.org
Thu Feb 8 23:43:02 UTC 2024
On Thu, 8 Feb 2024 23:35:21 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
>> The call to `ClassLoader::load_class()` currently takes a Symbol* for the name and later extracts the string only to change it back into a Symbol* inside `ClassLoader::search_module_entries()` while also recalculating the package entry. This patch simply passes the string directly along with the package entry from the caller. Verified with tier1-5 tests.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
>
> Updated copyrights
Just a few requests to explain the pkg_entry role. Thanks
-------------
Changes requested by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17761#pullrequestreview-1871438224
More information about the hotspot-runtime-dev
mailing list