RFR: 8308192: Error in parsing replay file when staticfield is an array of single dimension
Ashutosh Mehra
duke at openjdk.org
Wed May 17 13:06:51 UTC 2023
On Wed, 17 May 2023 10:57:29 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> why we even emit the klass name, if it's not needed?
The klass name seems to be used when parsing a multi-dimensional array. The code that emits `staticfield` command for the arrays does not differentiate between a single and multi-dimensional array and just emits the klass name.
I believe even for multi-dimensional array we don't need the klass name; the field signature can be used instead. But I guess to be consistent with how the command is generated for other types, we can continue with this approach.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14024#issuecomment-1551355377
More information about the hotspot-compiler-dev
mailing list