This fixes it:diff --git a/src/share/vm/gc/g1/g1EvacStats.cpp b/src/share/vm/gc/g1/g1EvacStats.cpp
--- a/src/share/vm/gc/g1/g1EvacStats.cpp
+++ b/src/share/vm/gc/g1/g1EvacStats.cpp
@@ -24,6 +24,7 @@
#include "precompiled.hpp"
#include "memory/allocation.inline.hpp"
+#include "gc/g1/g1_globals.hpp"
#include "gc/g1/g1EvacStats.hpp"
#include "gc/shared/gcId.hpp"
#include "logging/log.hpp"
/home/cphillim/hg.local/jdk9.zero/hotspot/src/share/vm/gc/g1/g1EvacStats.cpp: In member function ‘vi
rtual void G1EvacStats::adjust_desired_plab_sz()’:
/home/cphillim/hg.local/jdk9.zero/hotspot/src/share/vm/gc/g1/g1EvacStats.cpp:110:69: error: ‘G1LastP
LABAverageOccupancy’ was not declared in this scope
size_t const cur_plab_sz = (size_t)((double)total_waste_allowed / G1LastPLABAverageOccupancy);
^
make[4]: *** [/home/cphillim/hg.local/jdk9.zero/build/linux-x86_64-normal-zero-fastdebug/hotspot/var
iant-zero/libjvm/objs/g1EvacStats.o] Error 1
- relates to
-
JDK-8153275 Zero JVM fails to initialize after JDK-8152440
- Resolved