RFR: 8329750: Change Universe functions to return more specific Klass* types
Coleen Phillimore
coleenp at openjdk.org
Fri Apr 5 13:43:11 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?
Yes, this looks really good!
-------------
Marked as reviewed by coleenp (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18652#pullrequestreview-1983216200
More information about the graal-dev
mailing list