Integrated: 8324584: Optimize Symbol and char* handling in ClassLoader
Matias Saavedra Silva
matsaave at openjdk.org
Thu Feb 15 14:50:59 UTC 2024
On Wed, 7 Feb 2024 22:22:22 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.
This pull request has now been integrated.
Changeset: 9a1b843f
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9a1b843ff6ef72e17ec6096733408c5e265ee429
Stats: 14 lines in 3 files changed: 0 ins; 3 del; 11 mod
8324584: Optimize Symbol and char* handling in ClassLoader
Reviewed-by: dholmes, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/17761
More information about the hotspot-runtime-dev
mailing list