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

Build fails without JFR: empty JFR events signatures mismatch

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b14

      Backports

        Description

        This causes to build failures when build configuration disables JFR, like JDK-8211213 and JDK-8211228 with:

        /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/gc/g1/g1CollectedHeap.cpp: In member function 'bool G1ParEvacuateFollowersClosure::offer_termination()':
        /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/gc/g1/g1CollectedHeap.cpp:3177:106: error: no matching function for call to 'EventGCPhaseParallel::commit(uint, uint, const char*)'
           event.commit(GCId::current(), pss->worker_id(), G1GCPhaseTimes::phase_name(G1GCPhaseTimes::Termination));

        The fix candidate is this:
         http://cr.openjdk.java.net/~shade/8211239/webrev.01/

        Until JDK-8211268 is pushed, the easiest way to verify this works is to configure and build post-JDK-8196341 jdk/jdk using --with-jvm-variants=zero.
        Alternatively, disable JFR with --with-jvm-features=-jfr.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: