Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185334

[MVT] nmethod::print_nmethod_labels() does not work with -XX:+ValueTypePassFieldsAsArgs

    XMLWordPrintable

    Details

      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'

        Attachments

          Activity

            People

            Assignee:
            thartmann Tobias Hartmann
            Reporter:
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: