Details
-
Bug
-
Resolution: Fixed
-
P5
-
repo-valhalla
Description
If -XX:+ValueTypePassFieldsAsArgs is enabled, the compiled method parameters in the -XX:CompileCommand=print output should be adjusted to point to the actual fields being passed:
# {method} {0x00007fb6d1dafe60} 'test35' '(JQcompiler/valhalla/valuetypes/MyValue1;IQcompiler/valhalla/valuetypes/MyValue2;)J' in 'compiler/valhalla/valuetypes/ValueTypeTestBench'
# this: rsi:rsi = 'compiler/valhalla/valuetypes/ValueTypeTestBench'
# parm0: rdx:rdx = long
# parm1: rcx:rcx = 'compiler/valhalla/valuetypes/MyValue1'
# parm2: r8 = int
# parm3: r9:r9 = 'compiler/valhalla/valuetypes/MyValue2'
# {method} {0x00007fb6d1dafe60} 'test35' '(JQcompiler/valhalla/valuetypes/MyValue1;IQcompiler/valhalla/valuetypes/MyValue2;)J' in 'compiler/valhalla/valuetypes/ValueTypeTestBench'
# this: rsi:rsi = 'compiler/valhalla/valuetypes/ValueTypeTestBench'
# parm0: rdx:rdx = long
# parm1: rcx:rcx = 'compiler/valhalla/valuetypes/MyValue1'
# parm2: r8 = int
# parm3: r9:r9 = 'compiler/valhalla/valuetypes/MyValue2'