Integrated: 8329750: Change Universe functions to return more specific Klass* types
Stefan Karlsson
stefank at openjdk.org
Tue Apr 9 12:34:12 UTC 2024
On Fri, 5 Apr 2024 11:56:11 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> We have various functions in Universe that returns Klass* where they could be returning TypeArrayKlass* and ObjArrayKlass* instead. If we change these functions we could get rid of some casts in the code. Does this seem like a reasonable change?
This pull request has now been integrated.
Changeset: 492b954f
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/492b954f81f75cedec50fabc4e6071cabb53acc0
Stats: 43 lines in 6 files changed: 2 ins; 7 del; 34 mod
8329750: Change Universe functions to return more specific Klass* types
Reviewed-by: coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/18652
More information about the hotspot-dev
mailing list