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

Argument type mismatch for jfr_type_id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 21, 24
    • hotspot
    • None
    • jfr
    • b25

      The declaration for jfr_type_id has the second argument as `jobject jvm`. The definition has `jclass jvm`. This leads to an ODR violation error when building with LTO. The declaration is incorrect, and should be changed to match the definition.

      This mismatch appears to have introduced by JDK-8310661, which updated the definition but not the declaration. All the other nearby declarations were updated by that change.

            mgronlun Markus Grönlund
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: