Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P5
-
Resolution: Fixed
-
Affects Version/s: repo-valhalla
-
Fix Version/s: repo-valhalla
-
Component/s: hotspot
-
Labels:
-
Subcomponent:
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'