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

Minimal fastdebug build broken after JDK-8245801

XMLWordPrintable

    • b25
    • Verified

        $ make hotspot CONF=linux-x86_64-minimal-fa
        Building target 'hotspot' in configuration 'linux-x86_64-minimal-fastdebug'
        Updating support/modules_libs/java.base/minimal/libjvm.so due to 1 file(s)
        In file included from /home/aoqi/work/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:29,
                         from /home/aoqi/work/jdk/src/hotspot/share/memory/allocation.hpp:28,
                         from /home/aoqi/work/jdk/src/hotspot/share/classfile/classLoaderData.hpp:28,
                         from /home/aoqi/work/jdk/src/hotspot/share/precompiled/precompiled.hpp:34,
                         from /home/aoqi/work/jdk/src/hotspot/share/oops/instanceKlass.cpp:25:
        /home/aoqi/work/jdk/src/hotspot/share/oops/instanceKlass.cpp: In member function 'void InstanceKlass::add_osr_nmethod(nmethod*)':
        /home/aoqi/work/jdk/src/hotspot/share/oops/instanceKlass.cpp:3091:50: error: 'StressRecompilation' was not declared in this scope
             assert(prev == NULL || !prev->is_in_use() || StressRecompilation,
                                                          ^~~~~~~~~~~~~~~~~~~
        /home/aoqi/work/jdk/src/hotspot/share/utilities/debug.hpp:56:9: note: in definition of macro 'vmassert'
           if (!(p)) { \
                 ^
        /home/aoqi/work/jdk/src/hotspot/share/oops/instanceKlass.cpp:3091:5: note: in expansion of macro 'assert'
             assert(prev == NULL || !prev->is_in_use() || StressRecompilation,
             ^~~~~~
        /home/aoqi/work/jdk/src/hotspot/share/oops/instanceKlass.cpp:3091:50: note: suggested alternative: 'MethodCompilation'
             assert(prev == NULL || !prev->is_in_use() || StressRecompilation,
                                                          ^~~~~~~~~~~~~~~~~~~
        /home/aoqi/work/jdk/src/hotspot/share/utilities/debug.hpp:56:9: note: in definition of macro 'vmassert'
           if (!(p)) { \
                 ^
        /home/aoqi/work/jdk/src/hotspot/share/oops/instanceKlass.cpp:3091:5: note: in expansion of macro 'assert'
             assert(prev == NULL || !prev->is_in_use() || StressRecompilation,
             ^~~~~~
        gmake[3]: *** [lib/CompileJvm.gmk:150: /home/aoqi/work/jdk/build/linux-x86_64-minimal-fastdebug/hotspot/variant-minimal/libjvm/objs/instanceKlass.o] Error 1
        gmake[2]: *** [make/Main.gmk:259: hotspot-minimal-libs] Error 2

              aoqi Qi Ao
              aoqi Qi Ao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: