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

Zero build fails with undeclared G1LastPLABAverageOccupancy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • gc
    • b120



      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

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: