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

[zgc] Missing includes in gc/z/zTracer.cpp

XMLWordPrintable

    • gc
    • b23

      Reproduce: configure and build with --with-jvm-features=-jfr

      /data/jdk/src/hotspot/share/gc/z/zTracer.cpp: In member function 'virtual void ZYoungTracer::report_end(const Ticks&)':
      /data/jdk/src/hotspot/share/gc/z/zTracer.cpp:105:40: error: incomplete type 'ZGeneration' used in nested name specifier
        105 | e.set_tenuringThreshold(ZGeneration::young()->tenuring_threshold());
            | ^~~~~
      gmake[3]: *** [lib/CompileJvm.gmk:147: /data/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/zTracer.o] Error 1
      gmake[3]: *** Waiting for unfinished jobs....
      gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: