=========================================First error message=========================================
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp: In member function ‘size_t Arena::used() const’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp:82:19: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
82 | register Chunk *k = _first;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp: In member function ‘void* Arena::grow(size_t)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp:96:19: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
96 | register Chunk *k = _chunk; // Get filled-up chunk address
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/main.cpp: In function ‘int main(int, char**)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/main.cpp:61:20: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
61 | register char *s = argv[i]; // Get option/filename
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp: In function ‘int hashstr(const void*)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:286:17: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
286 | register char c, k = 0;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:286:20: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
286 | register char c, k = 0;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:287:16: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
287 | register int sum = 0;
| ^~~
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:288:24: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
288 | register const char *s = (const char *)t;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp: In member function ‘char* ADLParser::get_ident_common(bool)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp:4567:17: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
4567 | register char c;
| ^
cc1plus: all warnings being treated as errors
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp: In member function ‘int ADLParser::get_int()’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp:4765:17: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
4765 | register char c;
| ^
gmake[6]: *** [/home/jdk8/jdk8u-dev-master/hotspot/make/linux/makefiles/adlc.make:218: ../generated/adfiles/arena.o] Error 1
=========================================Second error message=========================================
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/debugInfoRec.cpp
In file included from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/orderAccess.inline.hpp:45,
from /home/jdk8/jdk8u-dev-master/hotspot/src/os/linux/vm/os_linux.inline.hpp:29,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/utilities/histogram.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/mutex.hpp:30,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/classfile/classLoaderData.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/typeArrayKlass.hpp:28,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/typeArrayOop.hpp:29,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/constantPool.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/method.hpp:33,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/frame.hpp:28,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/codeBlob.hpp:30,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/codeCache.hpp:28,
from /home/jdk8/jdk8u-dev-master/hotspot/src/cpu/aarch64/vm/assembler_aarch64.inline.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/asm/assembler.inline.hpp:46,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/precompiled/precompiled.hpp:30:
In static member function ‘static void* OrderAccess::load_ptr_acquire(const volatile void*)’,
inlined from ‘nmethod* volatile Method::code() const’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/method.hpp:454:127,
inlined from ‘static bool CompileBroker::compilation_is_complete(methodHandle, int, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/compiler/compileBroker.cpp:1463:37,
inlined from ‘static bool CompileBroker::compilation_is_complete(methodHandle, int, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/compiler/compileBroker.cpp:1448:6,
inlined from ‘static nmethod* CompileBroker::compile_method(methodHandle, int, int, methodHandle, int, const char*, Thread*)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/compiler/compileBroker.cpp:1357:34:
/home/jdk8/jdk8u-dev-master/hotspot/src/os_cpu/linux_aarch64/vm/orderAccess_linux_aarch64.inline.hpp:78:28: error: ‘long unsigned int __atomic_load_8(const volatile void*, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
78 | { void* data; __atomic_load((void* const volatile *)p, &data, __ATOMIC_ACQUIRE); return data; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/cpu/aarch64/vm/debug_aarch64.cpp
=====================================================Third error message=========================================
Compiling /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/vframeArray.cpp
In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’,
inlined from ‘TypeAryPtr::TypeAryPtr(TypePtr::PTR, ciObject*, const TypeAry*, ciKlass*, bool, int, int, bool, const TypeOopPtr*, int)’ at /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.hpp:1094:39,
inlined from ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’ at /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:3745:115:
/home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull]
2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciCallSite.hpp:28,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/dependencies.hpp:28,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciEnv.hpp:32,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciConstant.hpp:29,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciArray.hpp:29,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/precompiled/precompiled.hpp:33:
/home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp: In function ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’:
/home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’
68 | ciKlass* java_lang_Class_klass();
| ^~~~~~~~~~~~~~~~~~~~~
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/vframe_hp.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/services/virtualMemoryTracker.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/virtualspace.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/utilities/vmError.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/os/linux/vm/vmError_linux.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’,
inlined from ‘static const TypeOopPtr* TypeOopPtr::make(TypePtr::PTR, int, int, const TypeOopPtr*, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2591:108:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull]
2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp: In static member function ‘static const TypeOopPtr* TypeOopPtr::make(TypePtr::PTR, int, int, const TypeOopPtr*, int)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’
68 | ciKlass* java_lang_Class_klass();
| ^~~~~~~~~~~~~~~~~~~~~
In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’,
inlined from ‘TypeAryPtr::TypeAryPtr(TypePtr::PTR, ciObject*, const TypeAry*, ciKlass*, bool, int, int, bool, const TypeOopPtr*, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.hpp:1094:39,
inlined from ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:3745:115:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull]
2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp: In static member function ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’
68 | ciKlass* java_lang_Class_klass();
| ^~~~~~~~~~~~~~~~~~~~~
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/vmStructs.cpp
=====================================================ok=========================================
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp: In member function ‘size_t Arena::used() const’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp:82:19: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
82 | register Chunk *k = _first;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp: In member function ‘void* Arena::grow(size_t)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/arena.cpp:96:19: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
96 | register Chunk *k = _chunk; // Get filled-up chunk address
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/main.cpp: In function ‘int main(int, char**)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/main.cpp:61:20: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
61 | register char *s = argv[i]; // Get option/filename
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp: In function ‘int hashstr(const void*)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:286:17: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
286 | register char c, k = 0;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:286:20: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
286 | register char c, k = 0;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:287:16: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
287 | register int sum = 0;
| ^~~
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/dict2.cpp:288:24: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
288 | register const char *s = (const char *)t;
| ^
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp: In member function ‘char* ADLParser::get_ident_common(bool)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp:4567:17: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
4567 | register char c;
| ^
cc1plus: all warnings being treated as errors
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp: In member function ‘int ADLParser::get_int()’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/adlc/adlparse.cpp:4765:17: error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]
4765 | register char c;
| ^
gmake[6]: *** [/home/jdk8/jdk8u-dev-master/hotspot/make/linux/makefiles/adlc.make:218: ../generated/adfiles/arena.o] Error 1
=========================================Second error message=========================================
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/debugInfoRec.cpp
In file included from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/orderAccess.inline.hpp:45,
from /home/jdk8/jdk8u-dev-master/hotspot/src/os/linux/vm/os_linux.inline.hpp:29,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/utilities/histogram.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/mutex.hpp:30,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/classfile/classLoaderData.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/typeArrayKlass.hpp:28,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/typeArrayOop.hpp:29,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/constantPool.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/method.hpp:33,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/frame.hpp:28,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/codeBlob.hpp:30,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/codeCache.hpp:28,
from /home/jdk8/jdk8u-dev-master/hotspot/src/cpu/aarch64/vm/assembler_aarch64.inline.hpp:32,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/asm/assembler.inline.hpp:46,
from /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/precompiled/precompiled.hpp:30:
In static member function ‘static void* OrderAccess::load_ptr_acquire(const volatile void*)’,
inlined from ‘nmethod* volatile Method::code() const’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/oops/method.hpp:454:127,
inlined from ‘static bool CompileBroker::compilation_is_complete(methodHandle, int, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/compiler/compileBroker.cpp:1463:37,
inlined from ‘static bool CompileBroker::compilation_is_complete(methodHandle, int, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/compiler/compileBroker.cpp:1448:6,
inlined from ‘static nmethod* CompileBroker::compile_method(methodHandle, int, int, methodHandle, int, const char*, Thread*)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/compiler/compileBroker.cpp:1357:34:
/home/jdk8/jdk8u-dev-master/hotspot/src/os_cpu/linux_aarch64/vm/orderAccess_linux_aarch64.inline.hpp:78:28: error: ‘long unsigned int __atomic_load_8(const volatile void*, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
78 | { void* data; __atomic_load((void* const volatile *)p, &data, __ATOMIC_ACQUIRE); return data; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/cpu/aarch64/vm/debug_aarch64.cpp
=====================================================Third error message=========================================
Compiling /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/vframeArray.cpp
In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’,
inlined from ‘TypeAryPtr::TypeAryPtr(TypePtr::PTR, ciObject*, const TypeAry*, ciKlass*, bool, int, int, bool, const TypeOopPtr*, int)’ at /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.hpp:1094:39,
inlined from ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’ at /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:3745:115:
/home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull]
2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciCallSite.hpp:28,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/code/dependencies.hpp:28,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciEnv.hpp:32,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciConstant.hpp:29,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciArray.hpp:29,
from /home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/precompiled/precompiled.hpp:33:
/home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp: In function ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’:
/home/wangkun/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’
68 | ciKlass* java_lang_Class_klass();
| ^~~~~~~~~~~~~~~~~~~~~
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/vframe_hp.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/services/virtualMemoryTracker.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/virtualspace.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/utilities/vmError.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/os/linux/vm/vmError_linux.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’,
inlined from ‘static const TypeOopPtr* TypeOopPtr::make(TypePtr::PTR, int, int, const TypeOopPtr*, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2591:108:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull]
2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp: In static member function ‘static const TypeOopPtr* TypeOopPtr::make(TypePtr::PTR, int, int, const TypeOopPtr*, int)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’
68 | ciKlass* java_lang_Class_klass();
| ^~~~~~~~~~~~~~~~~~~~~
In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’,
inlined from ‘TypeAryPtr::TypeAryPtr(TypePtr::PTR, ciObject*, const TypeAry*, ciKlass*, bool, int, int, bool, const TypeOopPtr*, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.hpp:1094:39,
inlined from ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’ at /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:3745:115:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull]
2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp: In static member function ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’:
/home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’
68 | ciKlass* java_lang_Class_klass();
| ^~~~~~~~~~~~~~~~~~~~~
Compiling /home/jdk8/jdk8u-dev-master/hotspot/src/share/vm/runtime/vmStructs.cpp
=====================================================ok=========================================
- links to
-
Review(master) openjdk/jdk8u-dev/479