Invalid format specifiers in jvmci trace messages

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b103
    • sparc

      In jvmciCodeInstaller_sparc.cpp:CodeInstaller::pd_patch_MetaspaceConstant there are a couple of calls to TRACE_jvmci_3 in which the format specifier does not match the corresponding arguments. Specifically, %p is used to print a narrowKlass and in general, the rest of the file uses PTR_FORMAT + p2i to print pointers, so these two calls probably should too.

            Assignee:
            Mikael Vidstedt
            Reporter:
            Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: