RFR: 8329750: Change Universe functions to return more specific Klass* types [v2]
Stefan Karlsson
stefank at openjdk.org
Mon Apr 8 07:16:11 UTC 2024
> 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?
Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
Update src/hotspot/share/classfile/systemDictionary.cpp
Dean's suggestion
Co-authored-by: Dean Long <17332032+dean-long at users.noreply.github.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18652/files
- new: https://git.openjdk.org/jdk/pull/18652/files/fc2a4a9f..d36f650d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18652&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18652&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18652.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18652/head:pull/18652
PR: https://git.openjdk.org/jdk/pull/18652
More information about the graal-dev
mailing list