RFR: 8273020: LibraryCallKit::sharpen_unsafe_type does not handle narrow oop array
Tobias Hartmann
thartmann at openjdk.java.net
Thu Aug 26 08:39:40 UTC 2021
The array handling code in `LibraryCallKit::sharpen_unsafe_type` does not work with narrow oop arrays because `isa_oopptr` returns `NULL`. Instead, `make_oopptr` should be used.
I've only noticed this while working on Valhalla, I don't think there is any impact on mainline code.
Thanks,
Tobias
-------------
Commit messages:
- 8273020: LibraryCallKit::sharpen_unsafe_type does not handle narrow oop array
Changes: https://git.openjdk.java.net/jdk/pull/5265/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5265&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8273020
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/5265.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5265/head:pull/5265
PR: https://git.openjdk.java.net/jdk/pull/5265
More information about the hotspot-compiler-dev
mailing list