Integrated: 8273020: LibraryCallKit::sharpen_unsafe_type does not handle narrow oop array

Tobias Hartmann thartmann at openjdk.java.net
Fri Aug 27 05:41:26 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

This pull request has now been integrated.

Changeset: c925c7f3
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c925c7f3e8e1470d0a157ca3387d11137366706f
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8273020: LibraryCallKit::sharpen_unsafe_type does not handle narrow oop array

Reviewed-by: chagedorn

-------------

PR: https://git.openjdk.java.net/jdk/pull/5265


More information about the hotspot-compiler-dev mailing list