RFR: 8255523: Clean up temporary shared_locs initializations
Aleksey Shipilev
shade at openjdk.java.net
Thu Nov 5 07:21:54 UTC 2020
On Wed, 28 Oct 2020 09:36:55 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> See #648. Apparently, LLVM 11 complains that we are computing the number of elements over the array of a different type. Instead of ignoring the warning, it seems better to just clean up that code. We can allocate the whole thing as resource array of the same size. `sizeOf(relocInfo) = 2`, since it carries `unsigned short`.
Friendly reminder.
-------------
PR: https://git.openjdk.java.net/jdk/pull/897
More information about the hotspot-dev
mailing list