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

Build fails without JFR: empty JFR events signatures mismatch

XMLWordPrintable

    • jfr
    • b14

        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.

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

                Created:
                Updated:
                Resolved: