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

Shenandoah: build fails without both JVMTI and JFR

XMLWordPrintable

    • gc
    • b05

        $ sh ./configure --with-debug-level=release --with-jvm-features=-jvmti,-services,-jfr,-nmt,-management,-vm-structs

        In file included from /home/shade/trunks/jdk-jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:37,
                         from /home/shade/trunks/jdk-jdk/src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp:34:
        /home/shade/trunks/jdk-jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.hpp: In constructor 'ShenandoahSerialWeakRoots::ShenandoahSerialWeakRoots(ShenandoahPhaseTimings::Phase)':
        /home/shade/trunks/jdk-jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.hpp:98:53: error: expected identifier before '{' token
           98 | JFR_ONLY(JVMTI_ONLY(COMMA)_jfr_weak_roots(phase)) {};

        That's because we get dangling ":".

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

                Created:
                Updated:
                Resolved: