RFR: 8273020: LibraryCallKit::sharpen_unsafe_type does not handle narrow oop array
Christian Hagedorn
chagedorn at openjdk.java.net
Thu Aug 26 09:02:22 UTC 2021
On Thu, 26 Aug 2021 08:32:40 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> 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
Looks good and trivial!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5265
More information about the hotspot-compiler-dev
mailing list