Building target 'hotspot' in configuration 'linux-riscv64-server-fastdebug' Compiling up to 1 files for BUILD_TOOLS_HOTSPOT Copying support/modules_include/java.base/jni.h Copying support/modules_include/java.base/jvmticmlr.h Copying support/modules_include/java.base/linux/jni_md.h Adding -server KNOWN to jvm.cfg Adding -client IGNORE to jvm.cfg Copying support/modules_conf/java.base/sdp/sdp.conf.template Copying support/modules_legal/common/LICENSE Copying support/modules_legal/common/ASSEMBLY_EXCEPTION Copying support/modules_legal/common/ADDITIONAL_LICENSE_INFO Copying support/modules_legal/java.base/aes.md Copying support/modules_legal/java.base/asm.md Copying support/modules_legal/java.base/c-libutl.md Copying support/modules_legal/java.base/cldr.md Copying support/modules_legal/java.base/icu.md Copying support/modules_legal/java.base/public_suffix.md Copying support/modules_legal/java.base/unicode.md Copying support/modules_legal/java.base/zlib.md Processing classfile_constants.h Copying jdk/include/jni.h Copying jdk/include/jvmticmlr.h Copying jdk/include/linux/jni_md.h Copying jdk/conf/security/java.policy Copying jdk/conf/net.properties Copying jdk/conf/sdp/sdp.conf.template Creating symlink jdk/lib/jvm.cfg Creating symlink jdk/lib/security/default.policy Copying jdk/include/classfile_constants.h Building JVM variant 'server' with features 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc' Generating JFR header files Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Preprocessing adlc files riscv.ad riscv_v.ad riscv_b.ad shenandoah_riscv.ad x_riscv.ad z_riscv.ad Compiling up to 2 files for BUILD_JVMTI_TOOLS Processing hotspot Compiling adlArena.cpp (for adlc) Compiling adlparse.cpp (for adlc) Compiling archDesc.cpp (for adlc) Compiling dfa.cpp (for adlc) Compiling dict2.cpp (for adlc) Compiling filebuff.cpp (for adlc) Compiling forms.cpp (for adlc) Compiling formsopt.cpp (for adlc) Compiling formssel.cpp (for adlc) Compiling main.cpp (for adlc) Compiling opcodes.cpp (for adlc) Compiling output_c.cpp (for adlc) Compiling output_h.cpp (for adlc) Linking adlc Generating jvmti file jvmtiEnter.cpp Generating jvmti file jvmtiEnterTrace.cpp Generating jvmti file jvmtiEnv.hpp Generating jvmti file jvmti.h Generating jvmti file jvmti.html Generating adlc files Postprocessing adlc file ad_riscv.cpp Postprocessing adlc file ad_riscv.hpp Postprocessing adlc file ad_riscv_clone.cpp Postprocessing adlc file ad_riscv_expand.cpp Postprocessing adlc file ad_riscv_format.cpp Postprocessing adlc file ad_riscv_gen.cpp Postprocessing adlc file ad_riscv_misc.cpp Postprocessing adlc file ad_riscv_peephole.cpp Postprocessing adlc file ad_riscv_pipeline.cpp Postprocessing adlc file adGlobals_riscv.hpp Postprocessing adlc file dfa_riscv.cpp Copying support/modules_include/java.base/jvmti.h Creating support/modules_libs/java.base/server/libjvm.so from 1203 file(s) Compiling abstractCompiler.cpp (for libjvm.so) Compiling abstractDisassembler.cpp (for libjvm.so) Compiling abstractInterpreter.cpp (for libjvm.so) Compiling abstractInterpreter_riscv.cpp (for libjvm.so) Compiling accessBackend.cpp (for libjvm.so) Compiling accessBarrierSupport.cpp (for libjvm.so) Compiling accessFlags.cpp (for libjvm.so) Compiling ad_riscv.cpp (for libjvm.so) Compiling ad_riscv_clone.cpp (for libjvm.so) Compiling ad_riscv_expand.cpp (for libjvm.so) Compiling ad_riscv_format.cpp (for libjvm.so) Compiling ad_riscv_gen.cpp (for libjvm.so) Compiling ad_riscv_misc.cpp (for libjvm.so) Compiling ad_riscv_peephole.cpp (for libjvm.so) Compiling ad_riscv_pipeline.cpp (for libjvm.so) Compiling adaptiveSizePolicy.cpp (for libjvm.so) Compiling addnode.cpp (for libjvm.so) Compiling ageTable.cpp (for libjvm.so) Compiling ageTableTracer.cpp (for libjvm.so) Compiling allocTracer.cpp (for libjvm.so) Compiling allocation.cpp (for libjvm.so) Compiling altHashing.cpp (for libjvm.so) Compiling annotations.cpp (for libjvm.so) Compiling archiveBuilder.cpp (for libjvm.so) Compiling archiveHeapLoader.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/compilerInterface.hpp:28, from ../../src/hotspot/share/compiler/abstractCompiler.hpp:28, from ../../src/hotspot/share/compiler/abstractCompiler.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/assembler.inline.hpp:28, from ../../src/hotspot/share/compiler/abstractDisassembler.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/compiler/abstractDisassembler.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/stubs.hpp:28, from ../../src/hotspot/share/interpreter/interpreter.hpp:28, from ../../src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/gcUtil.inline.hpp:30, from ../../src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/interpreter/abstractInterpreter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/oops/cpCache.inline.hpp:30, from ../../src/hotspot/share/interpreter/abstractInterpreter.cpp:40: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/oops/accessBackend.inline.hpp:31, from ../../src/hotspot/share/oops/accessBackend.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/oops/accessBackend.hpp:29, from ../../src/hotspot/share/oops/accessBackend.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/accessBackend.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/shared/accessBarrierSupport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayOop.inline.hpp:32, from ../../src/hotspot/share/cds/archiveBuilder.cpp:45: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/altHashing.cpp:48: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/altHashing.hpp:30, from ../../src/hotspot/share/classfile/altHashing.cpp:47: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/classfile/altHashing.cpp:49: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/oop.inline.hpp:28, from ../../src/hotspot/share/utilities/accessFlags.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/oop.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shared/ageTableTracer.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/ageTableTracer.hpp:29, from ../../src/hotspot/share/gc/shared/ageTableTracer.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/oops/annotations.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/typeArrayOop.inline.hpp:30, from ../../src/hotspot/share/oops/annotations.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling archiveHeapWriter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/memory/allocation.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/gc/shared/allocTracer.hpp:29, from ../../src/hotspot/share/gc/shared/allocTracer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shared/allocTracer.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/ageTable.hpp:29, from ../../src/hotspot/share/gc/shared/ageTable.inline.hpp:28, from ../../src/hotspot/share/gc/shared/ageTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/oops/markWord.hpp:28, from ../../src/hotspot/share/gc/shared/ageTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/ageTable.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling archiveUtils.cpp (for libjvm.so) Compiling arena.cpp (for libjvm.so) Compiling arguments.cpp (for libjvm.so) Compiling arrayKlass.cpp (for libjvm.so) Compiling arraycopynode.cpp (for libjvm.so) Compiling assembler.cpp (for libjvm.so) Compiling assembler_linux_riscv.cpp (for libjvm.so) Compiling assembler_riscv.cpp (for libjvm.so) Compiling attachListener.cpp (for libjvm.so) Compiling attachListener_linux.cpp (for libjvm.so) Compiling barrierSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/memory/arena.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/archiveUtils.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling barrierSetAssembler_riscv.cpp (for libjvm.so) Compiling barrierSetC1.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.inline.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/cds/archiveHeapLoader.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling barrierSetC2.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/oops/arrayKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/oops/arrayKlass.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/dumpTimeClassInfo.hpp:27, from ../../src/hotspot/share/cds/heapShared.hpp:28, from ../../src/hotspot/share/cds/archiveHeapWriter.hpp:28, from ../../src/hotspot/share/cds/archiveHeapWriter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/cds/archiveHeapWriter.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/assembler_riscv.cpp:31: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/cpu/riscv/assembler_riscv.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling barrierSetNMethod.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp:29, from ../../src/hotspot/share/gc/shared/barrierSetAssembler.hpp:30, from ../../src/hotspot/share/gc/shared/barrierSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/shared/barrierSet.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling barrierSetNMethod_riscv.cpp (for libjvm.so) Compiling barrierSetStackChunk.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/attachListener_linux.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/os/linux/attachListener_linux.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling basicLock.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/services/attachListener.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/attachListener.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling bcEscapeAnalyzer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_LIRGenerator.hpp:29, from ../../src/hotspot/share/gc/shared/c1/barrierSetC1.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/c1/c1_Defs.hpp:28, from ../../src/hotspot/share/gc/shared/c1/barrierSetC1.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling bfsClosure.cpp (for libjvm.so) Compiling bitMap.cpp (for libjvm.so) Compiling block.cpp (for libjvm.so) Compiling blockOffsetTable.cpp (for libjvm.so) Compiling blockTree.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSetNMethod.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetNMethod.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling bootstrapInfo.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetNMethod_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetNMethod_riscv.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.inline.hpp:30, from ../../src/hotspot/share/oops/access.inline.hpp:30, from ../../src/hotspot/share/gc/shared/barrierSetStackChunk.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/barrierSetStackChunk.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSetStackChunk.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling bufferNodeList.cpp (for libjvm.so) Compiling buildOopMap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/oop.inline.hpp:28, from ../../src/hotspot/share/runtime/basicLock.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/oop.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling bytecode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/bitMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/blockTree.hpp:31, from ../../src/hotspot/share/memory/metaspace/blockTree.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling bytecodeAssembler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/utilities/objectBitSet.hpp:29, from ../../src/hotspot/share/utilities/objectBitSet.inline.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/jfrbitset.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/jfrbitset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/ci/bcEscapeAnalyzer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/ci/bcEscapeAnalyzer.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling bytecodeHistogram.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/interpreter/bootstrapInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.inline.hpp:28, from ../../src/hotspot/share/interpreter/bytecode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/interpreter/bytecodes.hpp:29, from ../../src/hotspot/share/interpreter/bytecode.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/oops/cpCache.inline.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling bytecodeInfo.cpp (for libjvm.so) Compiling bytecodeStream.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/classfile/bytecodeAssembler.hpp:29, from ../../src/hotspot/share/classfile/bytecodeAssembler.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling bytecodeTracer.cpp (for libjvm.so) Compiling bytecodeUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/interpreter/bytecodeHistogram.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling bytecodes.cpp (for libjvm.so) Compiling c1_CFGPrinter.cpp (for libjvm.so) Compiling c1_Canonicalizer.cpp (for libjvm.so) Compiling c1_CodeStubs_riscv.cpp (for libjvm.so) Compiling c1_Compilation.cpp (for libjvm.so) Compiling c1_Compiler.cpp (for libjvm.so) Compiling c1_FpuStackSim_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.hpp:30, from ../../src/hotspot/share/interpreter/bytecodeStream.hpp:28, from ../../src/hotspot/share/interpreter/bytecodeStream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/interpreter/bytecodeTracer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/classPrinter.hpp:29, from ../../src/hotspot/share/interpreter/bytecodeTracer.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/interpreter/bytecodes.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/interpreter/bytecodeUtils.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/interpreter/bytecodeUtils.cpp:34: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_Canonicalizer.hpp:28, from ../../src/hotspot/share/c1/c1_Canonicalizer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_CFGPrinter.hpp:28, from ../../src/hotspot/share/c1/c1_CFGPrinter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_FrameMap.cpp (for libjvm.so) Compiling c1_FrameMap_riscv.cpp (for libjvm.so) Compiling c1_GraphBuilder.cpp (for libjvm.so) Compiling c1_IR.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Compiler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/c1/c1_Compiler.cpp:40: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling c1_Instruction.cpp (for libjvm.so) Compiling c1_InstructionPrinter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_CFGPrinter.hpp:28, from ../../src/hotspot/share/c1/c1_Compilation.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_LIR.cpp (for libjvm.so) Compiling c1_LIRAssembler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/c1/c1_FrameMap.hpp:28, from ../../src/hotspot/share/c1/c1_FrameMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_LIRAssembler_arith_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_IR.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/c1/c1_FrameMap.hpp:28, from ../../src/hotspot/cpu/riscv/c1_FrameMap_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_IR.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/c1/c1_InstructionPrinter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_LIRAssembler_arraycopy_riscv.cpp (for libjvm.so) Compiling c1_LIRAssembler_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_CFGPrinter.hpp:28, from ../../src/hotspot/share/c1/c1_GraphBuilder.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/c1/c1_GraphBuilder.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/assembler.inline.hpp:28, from ../../src/hotspot/share/c1/c1_LIRAssembler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_LIRGenerator.cpp (for libjvm.so) Compiling c1_LIRGenerator_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/c1/c1_FrameMap.hpp:28, from ../../src/hotspot/share/c1/c1_CodeStubs.hpp:28, from ../../src/hotspot/share/c1/c1_LIR.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_LIR_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_LinearScan.cpp (for libjvm.so) Compiling c1_LinearScan_riscv.cpp (for libjvm.so) Compiling c1_MacroAssembler_riscv.cpp (for libjvm.so) Compiling c1_Optimizer.cpp (for libjvm.so) Compiling c1_RangeCheckElimination.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_ValueType.hpp:28, from ../../src/hotspot/share/c1/c1_LIR.hpp:29, from ../../src/hotspot/cpu/riscv/c1_LIR_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/cpu/riscv/c1_LIR_riscv.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_LIRGenerator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/c1/c1_LIRGenerator.cpp:40: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/cpu/riscv/c1_LinearScan_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_Runtime1.cpp (for libjvm.so)In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_ValueType.hpp:28, from ../../src/hotspot/share/c1/c1_LIR.hpp:29, from ../../src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/c1/c1_Defs.hpp:28, from ../../src/hotspot/share/c1/c1_LIR.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c1_Runtime1_riscv.cpp (for libjvm.so) Compiling c1_ValueMap.cpp (for libjvm.so) Compiling c1_ValueStack.cpp (for libjvm.so) Compiling c1_ValueType.cpp (for libjvm.so) Compiling c2_CodeStubs.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_Canonicalizer.hpp:28, from ../../src/hotspot/share/c1/c1_Optimizer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling c2_CodeStubs_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/c1/c1_Runtime1.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/c1/c1_Runtime1.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/c1/c1_Runtime1.cpp:75: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_ValueType.hpp:28, from ../../src/hotspot/share/c1/c1_ValueType.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_ValueStack.hpp:28, from ../../src/hotspot/share/c1/c1_RangeCheckElimination.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_IR.hpp:28, from ../../src/hotspot/share/c1/c1_ValueStack.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_Canonicalizer.hpp:28, from ../../src/hotspot/share/c1/c1_ValueMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_CFGPrinter.hpp:28, from ../../src/hotspot/share/c1/c1_LinearScan.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp:41: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling c2_MacroAssembler_riscv.cpp (for libjvm.so) Compiling c2_init_riscv.cpp (for libjvm.so) Compiling c2compiler.cpp (for libjvm.so) Compiling cSpaceCounters.cpp (for libjvm.so) Compiling callGenerator.cpp (for libjvm.so) Compiling callnode.cpp (for libjvm.so) Compiling cardTable.cpp (for libjvm.so) Compiling cardTableBarrierSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/space.hpp:30, from ../../src/hotspot/share/gc/serial/cSpaceCounters.hpp:29, from ../../src/hotspot/share/gc/serial/cSpaceCounters.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling cardTableBarrierSetAssembler_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/cardTable.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/cardTable.hpp:28, from ../../src/hotspot/share/gc/shared/cardTable.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/shared/cardTable.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling cardTableBarrierSetC1.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/cardTableBarrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/addnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling cardTableBarrierSetC2.cpp (for libjvm.so) Compiling cardTableRS.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_LIRGenerator.hpp:29, from ../../src/hotspot/share/gc/shared/c1/barrierSetC1.hpp:29, from ../../src/hotspot/share/gc/shared/c1/modRefBarrierSetC1.hpp:28, from ../../src/hotspot/share/gc/shared/c1/cardTableBarrierSetC1.hpp:28, from ../../src/hotspot/share/gc/shared/c1/cardTableBarrierSetC1.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/oops/accessDecorators.hpp:30, from ../../src/hotspot/share/c1/c1_Decorators.hpp:28, from ../../src/hotspot/share/gc/shared/c1/barrierSetC1.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling castnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/serial/cardTableRS.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/serial/cardTableRS.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling cdsConstants.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_format.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_gen.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling cdsHeapVerifier.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_peephole.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/arraycopynode.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/arraycopynode.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling cdsProtectionDomain.cpp (for libjvm.so) Compiling cfgnode.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/opto/buildOopMap.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/code/vmreg.hpp:28, from ../../src/hotspot/share/code/vmreg.inline.hpp:28, from ../../src/hotspot/share/opto/buildOopMap.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/dynamicArchive.hpp:28, from ../../src/hotspot/share/cds/cdsConstants.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_clone.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling cgroupSubsystem_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/runtime/arguments.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/cds/cds_globals.hpp:28, from ../../src/hotspot/share/runtime/arguments.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/arguments.cpp:45: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_expand.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/tlab_globals.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/block.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/cdsHeapVerifier.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/cds/cdsHeapVerifier.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/classfile/moduleEntry.hpp:32, from ../../src/hotspot/share/cds/cdsProtectionDomain.hpp:28, from ../../src/hotspot/share/cds/cdsProtectionDomain.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopHandle.hpp:28, from ../../src/hotspot/share/classfile/moduleEntry.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/cds/cdsProtectionDomain.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling cgroupV1Subsystem_linux.cpp (for libjvm.so) Compiling cgroupV2Subsystem_linux.cpp (for libjvm.so) Compiling chaitin.cpp (for libjvm.so) Compiling chunkHeaderPool.cpp (for libjvm.so) Compiling chunkManager.cpp (for libjvm.so) Compiling chunklevel.cpp (for libjvm.so) Compiling ciArray.cpp (for libjvm.so) Compiling ciArrayKlass.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/cgroupSubsystem_linux.hpp:30, from ../../src/hotspot/os/linux/cgroupSubsystem_linux.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/cgroupSubsystem_linux.hpp:30, from ../../src/hotspot/os/linux/cgroupV1Subsystem_linux.hpp:30, from ../../src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/chunkHeaderPool.hpp:30, from ../../src/hotspot/share/memory/metaspace/chunkHeaderPool.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/cgroupSubsystem_linux.hpp:30, from ../../src/hotspot/os/linux/cgroupV2Subsystem_linux.hpp:28, from ../../src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling ciBaseObject.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_misc.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/chunkManager.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling ciCallSite.cpp (for libjvm.so) Compiling ciConstant.cpp (for libjvm.so) Compiling ciConstantPoolCache.cpp (for libjvm.so) Compiling ciEnv.cpp (for libjvm.so) Compiling ciExceptionHandler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/ciArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciArray.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciField.cpp (for libjvm.so) Compiling ciFlags.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/ci/ciCallSite.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciArrayKlass.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/ci/ciBaseObject.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciBaseObject.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/ci/ciBaseObject.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciInstance.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/ci/ciConstant.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/ci/ciConstant.hpp:29, from ../../src/hotspot/share/ci/ciConstant.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciField.hpp:31, from ../../src/hotspot/share/ci/ciField.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/ci/ciConstant.hpp:29, from ../../src/hotspot/share/ci/ciField.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciField.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciInstanceKlass.cpp (for libjvm.so) Compiling ciKlass.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciConstantPoolCache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciConstantPoolCache.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciMemberName.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciExceptionHandler.hpp:29, from ../../src/hotspot/share/ci/ciExceptionHandler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciExceptionHandler.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciMetadata.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_pipeline.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling ciMethod.cpp (for libjvm.so) Compiling ciMethodBlocks.cpp (for libjvm.so) Compiling ciMethodData.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/ci/ciInstance.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciMethodHandle.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciField.hpp:31, from ../../src/hotspot/share/ci/ciInstanceKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/ci/ciConstant.hpp:29, from ../../src/hotspot/share/ci/ciField.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciInstanceKlass.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciMemberName.hpp:29, from ../../src/hotspot/share/ci/ciMemberName.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciCallProfile.hpp:29, from ../../src/hotspot/share/ci/ciMemberName.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciMemberName.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciKlass.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciMetadata.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciMetadata.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciMethodType.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/opto/compile.hpp:28, from ../../src/hotspot/cpu/riscv/c2_init_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling ciNullObject.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/ci/ciMethodBlocks.hpp:28, from ../../src/hotspot/share/ci/ciMethodBlocks.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling ciObjArray.cpp (for libjvm.so) Compiling ciObjArrayKlass.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciExceptionHandler.hpp:29, from ../../src/hotspot/share/ci/ciMethod.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciCallProfile.hpp:29, from ../../src/hotspot/share/ci/ciMethod.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciMethod.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciMethodData.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciMethodData.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciMethodHandle.hpp:29, from ../../src/hotspot/share/ci/ciMethodHandle.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciMethodHandle.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciObject.cpp (for libjvm.so) Compiling ciObjectFactory.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciNullObject.hpp:29, from ../../src/hotspot/share/ci/ciNullObject.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling ciReplay.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/bcEscapeAnalyzer.hpp:29, from ../../src/hotspot/share/opto/callGenerator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling ciSignature.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciMethodType.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciMethodType.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciNullObject.hpp:29, from ../../src/hotspot/share/ci/ciObjArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciObjArray.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciStreams.cpp (for libjvm.so) Compiling ciSymbol.cpp (for libjvm.so) Compiling ciType.cpp (for libjvm.so) Compiling ciTypeArray.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciObjArrayKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciObjArrayKlass.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling ciTypeArrayKlass.cpp (for libjvm.so) Compiling ciTypeFlow.cpp (for libjvm.so) Compiling ciUtilities.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciCallSite.hpp:28, from ../../src/hotspot/share/ci/ciObjectFactory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciObjectFactory.cpp:44: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObject.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciObject.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethodData.hpp:29, from ../../src/hotspot/share/ci/ciReplay.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciReplay.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/gc/shared/c2/cardTableBarrierSetC2.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling classFileError.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/ciTypeArray.hpp:28, from ../../src/hotspot/share/ci/ciTypeArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciTypeArray.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciField.hpp:31, from ../../src/hotspot/share/ci/ciStreams.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/ci/ciConstant.hpp:29, from ../../src/hotspot/share/ci/ciStreams.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciStreams.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciMethodType.hpp:28, from ../../src/hotspot/share/ci/ciSignature.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciSignature.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciSymbol.hpp:29, from ../../src/hotspot/share/ci/ciSymbol.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciSymbol.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciSymbol.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciType.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciType.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling classFileParser.cpp (for libjvm.so) Compiling classFileStream.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/ci/ciReplay.hpp:28, from ../../src/hotspot/share/opto/bytecodeInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/accessFlags.hpp:30, from ../../src/hotspot/share/ci/ciFlags.hpp:30, from ../../src/hotspot/share/ci/ciMethod.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/opto/bytecodeInfo.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/opto/bytecodeInfo.cpp:38: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling classListParser.cpp (for libjvm.so) Compiling classListWriter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/ci/ciUtilities.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciTypeArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciTypeArrayKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciTypeArrayKlass.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling classLoader.cpp (for libjvm.so) Compiling classLoaderData.cpp (for libjvm.so) Compiling classLoaderDataGraph.cpp (for libjvm.so) Compiling classLoaderDataShared.cpp (for libjvm.so) Compiling classLoaderExt.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/classfile/classFileParser.hpp:29, from ../../src/hotspot/share/classfile/classFileError.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling classLoaderHierarchyDCmd.cpp (for libjvm.so) Compiling classLoaderMetaspace.cpp (for libjvm.so) Compiling classLoaderStats.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/share/classfile/classFileStream.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/classfile/classFileParser.hpp:29, from ../../src/hotspot/share/classfile/classFileParser.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/classFileParser.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/callnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/cds/classListWriter.hpp:28, from ../../src/hotspot/share/cds/classListWriter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/classListParser.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/cds/classListParser.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/classfile/classLoaderDataShared.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/classLoaderDataShared.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/classLoaderMetaspace.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.cpp:50: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling classLoadingService.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/classLoaderDataGraph.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:29, from ../../src/hotspot/share/classfile/classLoaderDataGraph.cpp:30: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/classfile/classLoader.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/cds/cds_globals.hpp:28, from ../../src/hotspot/share/classfile/classLoader.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/classLoader.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/classLoader.cpp:77: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/dynamicArchive.hpp:28, from ../../src/hotspot/share/classfile/classLoaderExt.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/cds/cds_globals.hpp:28, from ../../src/hotspot/share/classfile/classLoaderExt.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/classLoaderExt.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv.cpp:31: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ad_riscv.cpp:37: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/classLoaderHierarchyDCmd.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling classPrelinker.cpp (for libjvm.so) Compiling classPrinter.cpp (for libjvm.so) Compiling classes.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/opto/c2compiler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling classpathStream.cpp (for libjvm.so) Compiling coalesce.cpp (for libjvm.so) Compiling codeBehaviours.cpp (for libjvm.so) Compiling codeBlob.cpp (for libjvm.so) Compiling codeBuffer.cpp (for libjvm.so) Compiling codeBuffer_riscv.cpp (for libjvm.so) Compiling codeCache.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/opto/c2_CodeStubs.hpp:25, from ../../src/hotspot/cpu/riscv/c2_CodeStubs_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling codeHeapState.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/classLoaderStats.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classPrinter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/services/classLoadingService.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/services/classLoadingService.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/classLoadingService.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/opto/c2_CodeStubs.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/classPrelinker.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/oops/cpCache.inline.hpp:30, from ../../src/hotspot/share/oops/constantPool.inline.hpp:30, from ../../src/hotspot/share/cds/classPrelinker.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/code/codeBehaviours.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/classpathStream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/cardTableBarrierSetAssembler_riscv.hpp:29, from ../../src/hotspot/share/gc/shared/cardTableBarrierSetAssembler.hpp:30, from ../../src/hotspot/share/gc/shared/cardTableBarrierSet.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/compilerDefinitions.hpp:29, from ../../src/hotspot/share/compiler/compilerDefinitions.inline.hpp:28, from ../../src/hotspot/share/gc/shared/cardTableBarrierSet.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/shared/cardTableBarrierSet.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling collectedHeap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeBlob.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/code/codeBlob.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling collectorCounters.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.inline.hpp:28, from ../../src/hotspot/cpu/riscv/codeBuffer_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling commitLimiter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/asm/codeBuffer.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling commitMask.cpp (for libjvm.so) Compiling compactHashtable.cpp (for libjvm.so) Compiling compilationLog.cpp (for libjvm.so) Compiling compilationPolicy.cpp (for libjvm.so) Compiling compile.cpp (for libjvm.so) Compiling compileBroker.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/memory/heap.hpp:28, from ../../src/hotspot/share/code/codeHeapState.hpp:29, from ../../src/hotspot/share/code/codeHeapState.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/code/codeHeapState.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling compileLog.cpp (for libjvm.so) Compiling compileTask.cpp (for libjvm.so) Compiling compiledIC.cpp (for libjvm.so) Compiling compiledICHolder.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/shared/collectedHeap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/collectedHeap.cpp:60: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling compiledIC_riscv.cpp (for libjvm.so) Compiling compiledMethod.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/commitLimiter.hpp:30, from ../../src/hotspot/share/memory/metaspace/commitLimiter.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/collectorCounters.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling compilerDefinitions.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/memory/metaspace/commitMask.hpp:29, from ../../src/hotspot/share/memory/metaspace/commitMask.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/bitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling compilerDirectives.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/compiler/compilationLog.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/compiler/compilationLog.hpp:28, from ../../src/hotspot/share/compiler/compilationLog.cpp:27: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/compactHashtable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling compilerEvent.cpp (for libjvm.so) Compiling compilerOracle.cpp (for libjvm.so) Compiling compilerThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/compiledICHolder.hpp:28, from ../../src/hotspot/share/oops/compiledICHolder.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/compiler/compilationPolicy.hpp:28, from ../../src/hotspot/share/compiler/compileTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/compiler/compileTask.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/compiler/compileLog.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/accessFlags.hpp:30, from ../../src/hotspot/share/ci/ciFlags.hpp:30, from ../../src/hotspot/share/ci/ciMethod.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/compiledIC_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/code/compiledIC.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/codeBehaviours.hpp:28, from ../../src/hotspot/share/code/compiledIC.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/code/compiledIC.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/code/compiledIC.cpp:49: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling compressedOops.cpp (for libjvm.so) Compiling compressedStream.cpp (for libjvm.so) Compiling concurrentGCBreakpoints.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/compiler/compilerDefinitions.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ../../src/hotspot/share/code/compiledIC.hpp:28, from ../../src/hotspot/share/code/compiledMethod.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/oops/cpCache.inline.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.inline.hpp:30, from ../../src/hotspot/share/code/compiledMethod.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/compiler/compilerDirectives.hpp:28, from ../../src/hotspot/share/compiler/compilerOracle.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/compiler/compilerDirectives.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/accessFlags.hpp:30, from ../../src/hotspot/share/ci/ciFlags.hpp:30, from ../../src/hotspot/share/ci/ciMethod.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/compiler/compilerDirectives.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/compiler/compilerEvent.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/accessFlags.hpp:30, from ../../src/hotspot/share/ci/ciFlags.hpp:30, from ../../src/hotspot/share/ci/ciMethod.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/compiler/compilerEvent.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling concurrentGCThread.cpp (for libjvm.so) Compiling connode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/compilerInterface.hpp:28, from ../../src/hotspot/share/compiler/compileBroker.hpp:28, from ../../src/hotspot/share/compiler/compilerThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/compiler/compilerThread.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling constMethod.cpp (for libjvm.so) Compiling constMethodFlags.cpp (for libjvm.so) Compiling constantPool.cpp (for libjvm.so) Compiling constantTable.cpp (for libjvm.so) Compiling constantTag.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/oops/compressedOops.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling continuation.cpp (for libjvm.so) Compiling continuationEntry.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/concurrentGCThread.hpp:28, from ../../src/hotspot/share/gc/shared/concurrentGCThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/concurrentGCBreakpoints.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/gc/shared/concurrentGCBreakpoints.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling continuationFreezeThaw.cpp (for libjvm.so) Compiling continuationJavaClasses.cpp (for libjvm.so) Compiling continuationWrapper.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/constMethodFlags.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/stubs.hpp:28, from ../../src/hotspot/share/interpreter/interpreter.hpp:28, from ../../src/hotspot/share/oops/constMethod.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling convertnode.cpp (for libjvm.so) Compiling copy.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/continuationJavaClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/castnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ../../src/hotspot/share/code/compiledIC.hpp:28, from ../../src/hotspot/share/runtime/continuationEntry.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/cpu/riscv/continuationEntry_riscv.inline.hpp:32, from ../../src/hotspot/share/runtime/continuationEntry.inline.hpp:36, from ../../src/hotspot/share/runtime/continuationEntry.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling countbitsnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/continuation.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/cpu/riscv/continuationEntry_riscv.inline.hpp:32, from ../../src/hotspot/share/runtime/continuationEntry.inline.hpp:36, from ../../src/hotspot/share/runtime/continuation.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling cpCache.cpp (for libjvm.so) Compiling cppVtables.cpp (for libjvm.so) Compiling debug.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/dumpTimeClassInfo.hpp:27, from ../../src/hotspot/share/cds/heapShared.hpp:28, from ../../src/hotspot/share/cds/archiveHeapWriter.hpp:28, from ../../src/hotspot/share/oops/constantPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/oops/constantPool.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:29, from ../../src/hotspot/share/oops/constantPool.cpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling debugInfo.cpp (for libjvm.so) Compiling debugInfoRec.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/continuationWrapper.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/continuationFreezeThaw.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling decoder.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/utilities/copy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopsHierarchy.hpp:28, from ../../src/hotspot/share/utilities/copy.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling decoder_elf.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/cppVtables.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling decoder_linux.cpp (for libjvm.so) Compiling defNewGeneration.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/utilities/debug.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/classPrinter.hpp:29, from ../../src/hotspot/share/utilities/debug.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/utilities/debug.cpp:40: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/debug.cpp:61: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling defaultMethods.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/decoder.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/oops/cpCache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/cpCache.cpp:43: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/code/debugInfoRec.hpp:29, from ../../src/hotspot/share/code/debugInfoRec.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling deoptimization.cpp (for libjvm.so) Compiling dependencies.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/location.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:29, from ../../src/hotspot/share/code/debugInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/code/debugInfo.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/chaitin.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/utilities/decoder.hpp:30, from ../../src/hotspot/share/utilities/decoder_elf.hpp:30, from ../../src/hotspot/share/utilities/decoder_elf.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling dependencyContext.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/utilities/decoder.hpp:30, from ../../src/hotspot/share/utilities/decoder_elf.hpp:30, from ../../src/hotspot/os/linux/decoder_linux.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling dfa_riscv.cpp (for libjvm.so) Compiling dfsClosure.cpp (for libjvm.so) Compiling diagnosticArgument.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/cfgnode.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/cfgnode.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/classfile/bytecodeAssembler.hpp:29, from ../../src/hotspot/share/classfile/defaultMethods.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling diagnosticCommand.cpp (for libjvm.so) Compiling diagnosticFramework.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/code/dependencyContext.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling dict.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:30, from ../../src/hotspot/share/gc/serial/defNewGeneration.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/cardTable.hpp:28, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/serial/defNewGeneration.inline.hpp:32, from ../../src/hotspot/share/gc/serial/defNewGeneration.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling dictionary.cpp (for libjvm.so) Compiling directivesParser.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/code/dependencies.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/code/dependencies.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/services/diagnosticArgument.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/utilities/objectBitSet.hpp:29, from ../../src/hotspot/share/utilities/objectBitSet.inline.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/jfrbitset.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/jfrbitset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling disassembler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/libadt/dict.hpp:31, from ../../src/hotspot/share/libadt/dict.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling divnode.cpp (for libjvm.so) Compiling doCall.cpp (for libjvm.so) Compiling domgraph.cpp (for libjvm.so) Compiling downcallLinker.cpp (for libjvm.so) Compiling downcallLinker_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/deoptimization.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/deoptimization.cpp:92: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/memory/oopFactory.hpp:30, from ../../src/hotspot/share/services/diagnosticFramework.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopsHierarchy.hpp:28, from ../../src/hotspot/share/memory/oopFactory.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/diagnosticFramework.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling dumpAllocStats.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/dictionary.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/runtime/sharedRuntime.hpp:28, from ../../src/hotspot/share/prims/foreignGlobals.hpp:30, from ../../src/hotspot/share/prims/downcallLinker.hpp:27, from ../../src/hotspot/share/prims/downcallLinker.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/code/vmreg.hpp:28, from ../../src/hotspot/share/prims/foreignGlobals.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/assembler.inline.hpp:28, from ../../src/hotspot/share/compiler/disassembler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/compiler/disassembler.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/compilerInterface.hpp:28, from ../../src/hotspot/share/compiler/compileBroker.hpp:28, from ../../src/hotspot/share/compiler/directivesParser.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling dumpTimeClassInfo.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/services/diagnosticCommand.hpp:28, from ../../src/hotspot/share/classfile/classLoaderHierarchyDCmd.hpp:29, from ../../src/hotspot/share/services/diagnosticCommand.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/cds/cds_globals.hpp:28, from ../../src/hotspot/share/services/diagnosticCommand.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayOop.inline.hpp:32, from ../../src/hotspot/share/services/diagnosticCommand.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/services/diagnosticCommand.cpp:63: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling dynamicArchive.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/downcallLinker_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling edge.cpp (for libjvm.so) Compiling edgeQueue.cpp (for libjvm.so) Compiling edgeStore.cpp (for libjvm.so) Compiling edgeUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/classfile/compactHashtable.hpp:29, from ../../src/hotspot/share/cds/dumpAllocStats.hpp:28, from ../../src/hotspot/share/cds/dumpAllocStats.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling elfFile.cpp (for libjvm.so) Compiling elfFuncDescTable.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/dumpTimeClassInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp:32, from ../../src/hotspot/share/cds/dumpTimeClassInfo.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.inline.hpp:30, from ../../src/hotspot/share/oops/access.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeQueue.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeQueue.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeQueue.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/edge.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/dynamicArchive.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/cds/dynamicArchive.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrHashtable.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeStore.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeStore.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopsHierarchy.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/edge.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeStore.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeStore.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/utilities/elfFile.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling elfStringTable.cpp (for libjvm.so) Compiling elfSymbolTable.cpp (for libjvm.so) Compiling epsilonArguments.cpp (for libjvm.so) Compiling epsilonBarrierSet.cpp (for libjvm.so) Compiling epsilonHeap.cpp (for libjvm.so) Compiling epsilonInitLogger.cpp (for libjvm.so) Compiling epsilonMemoryPool.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/elfFuncDescTable.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling epsilonMonitoringSupport.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/elfStringTable.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/elfSymbolTable.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:31, from ../../src/hotspot/share/gc/epsilon/epsilonArguments.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:31, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/epsilon/epsilonBarrierSet.hpp:28, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling escape.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:31, from ../../src/hotspot/share/gc/epsilon/epsilonMemoryPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/epsilon/epsilonBarrierSet.hpp:28, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling escapeBarrier.cpp (for libjvm.so) Compiling eventEmitter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:31, from ../../src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/epsilon/epsilonHeap.hpp:31, from ../../src/hotspot/share/gc/epsilon/epsilonInitLogger.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling events.cpp (for libjvm.so) Compiling exceptionHandlerTable.cpp (for libjvm.so) Compiling exceptions.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/location.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:29, from ../../src/hotspot/share/code/scopeDesc.hpp:28, from ../../src/hotspot/share/runtime/escapeBarrier.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/escapeBarrier.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/events.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/events.cpp:33: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/code/exceptionHandlerTable.hpp:29, from ../../src/hotspot/share/code/exceptionHandlerTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/exceptionHandlerTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/eventEmitter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling fieldDescriptor.cpp (for libjvm.so) Compiling fieldInfo.cpp (for libjvm.so) Compiling fieldLayoutBuilder.cpp (for libjvm.so) Compiling filemap.cpp (for libjvm.so) Compiling finalizerService.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/utilities/exceptions.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/utilities/exceptions.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/exceptions.cpp:44: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling foreignGlobals.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciField.hpp:31, from ../../src/hotspot/share/ci/ciTypeFlow.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/ci/ciConstant.hpp:29, from ../../src/hotspot/share/ci/ciTypeFlow.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/ci/ciTypeFlow.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/oops/typeArrayOop.hpp:28, from ../../src/hotspot/share/oops/fieldInfo.hpp:29, from ../../src/hotspot/share/oops/fieldInfo.inline.hpp:28, from ../../src/hotspot/share/oops/fieldInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/fieldDescriptor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/runtime/fieldDescriptor.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling foreignGlobals_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/filemap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/cds/filemap.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:28, from ../../src/hotspot/share/services/finalizerService.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling formatBuffer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/classfile/classFileParser.hpp:29, from ../../src/hotspot/share/classfile/fieldLayoutBuilder.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/oops/instanceKlass.inline.hpp:35, from ../../src/hotspot/share/classfile/fieldLayoutBuilder.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling forte.cpp (for libjvm.so) Compiling frame.cpp (for libjvm.so) Compiling frame_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/runtime/sharedRuntime.hpp:28, from ../../src/hotspot/share/prims/foreignGlobals.hpp:30, from ../../src/hotspot/share/prims/foreignGlobals.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/code/vmreg.hpp:28, from ../../src/hotspot/share/prims/foreignGlobals.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/oopCast.inline.hpp:28, from ../../src/hotspot/share/prims/foreignGlobals.inline.hpp:32, from ../../src/hotspot/share/prims/foreignGlobals.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/runtime/jniHandles.hpp:29, from ../../src/hotspot/cpu/riscv/foreignGlobals_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/code/vmreg.hpp:28, from ../../src/hotspot/share/code/vmreg.inline.hpp:28, from ../../src/hotspot/cpu/riscv/foreignGlobals_riscv.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/runtime/jniHandles.inline.hpp:30, from ../../src/hotspot/cpu/riscv/foreignGlobals_riscv.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling freeBlocks.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/cpu/riscv/frame_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/compiler/oopMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/frame_riscv.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/code/debugInfoRec.hpp:29, from ../../src/hotspot/share/prims/forte.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/prims/forte.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling freeChunkList.cpp (for libjvm.so) Compiling freeListAllocator.cpp (for libjvm.so) Compiling g1AllocRegion.cpp (for libjvm.so) Compiling g1Allocator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/classfile/moduleEntry.hpp:32, from ../../src/hotspot/share/runtime/frame.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopHandle.hpp:28, from ../../src/hotspot/share/classfile/moduleEntry.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/runtime/frame.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/binList.hpp:29, from ../../src/hotspot/share/memory/metaspace/freeBlocks.hpp:30, from ../../src/hotspot/share/memory/metaspace/freeBlocks.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/freeChunkList.hpp:31, from ../../src/hotspot/share/memory/metaspace/freeChunkList.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1Analytics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciEnv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/ci/ciConstant.hpp:29, from ../../src/hotspot/share/ci/ciEnv.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/ci/ciEnv.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/compilationLog.hpp:28, from ../../src/hotspot/share/ci/ciEnv.cpp:43: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/freeListAllocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1Arguments.cpp (for libjvm.so) Compiling g1BarrierSet.cpp (for libjvm.so) Compiling g1BarrierSetAssembler_riscv.cpp (for libjvm.so) Compiling g1BarrierSetC1.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1AllocRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1AllocRegion.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1BarrierSetC2.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1AllocRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1Allocator.hpp:28, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1Allocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/classes.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/gc/g1/g1BarrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/connode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/utilities/concurrentHashTable.hpp:31, from ../../src/hotspot/share/gc/g1/g1CardSet.hpp:30, from ../../src/hotspot/share/gc/g1/g1Arguments.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcArguments.hpp:29, from ../../src/hotspot/share/gc/g1/g1Arguments.hpp:29, from ../../src/hotspot/share/gc/g1/g1Arguments.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1Arguments.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/coalesce.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_LIRGenerator.hpp:29, from ../../src/hotspot/share/gc/g1/c1/g1BarrierSetC1.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/oops/accessDecorators.hpp:30, from ../../src/hotspot/share/c1/c1_Decorators.hpp:28, from ../../src/hotspot/share/c1/c1_LIRGenerator.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1BarrierSetRuntime.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/countbitsnode.hpp:28, from ../../src/hotspot/share/opto/countbitsnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1BatchedTask.cpp (for libjvm.so) Compiling g1BiasedArray.cpp (for libjvm.so) Compiling g1BlockOffsetTable.cpp (for libjvm.so) Compiling g1CardSet.cpp (for libjvm.so) Compiling g1CardSetContainers.cpp (for libjvm.so) Compiling g1CardSetMemory.cpp (for libjvm.so) Compiling g1CardTable.cpp (for libjvm.so) Compiling g1CodeBlobClosure.cpp (for libjvm.so) Compiling g1CodeRootSet.cpp (for libjvm.so) Compiling g1CollectedHeap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1BarrierSetRuntime.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/memory/padded.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1BiasedArray.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/referenceProcessor.hpp:31, from ../../src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.hpp:28, from ../../src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp:29, from ../../src/hotspot/share/gc/g1/g1BatchedTask.hpp:28, from ../../src/hotspot/share/gc/g1/g1BatchedTask.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/oopStorageSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1BatchedTask.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1CollectionSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp:27: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/convertnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1CollectionSetCandidates.cpp (for libjvm.so) In file included from ../../src/hotspot/share/utilities/concurrentHashTable.hpp:31, from ../../src/hotspot/share/gc/g1/g1CardSet.hpp:30, from ../../src/hotspot/share/gc/g1/g1CardSetContainers.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardSetContainers.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardSetMemory.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1CollectionSetChooser.cpp (for libjvm.so) In file included from ../../src/hotspot/share/utilities/concurrentHashTable.hpp:31, from ../../src/hotspot/share/gc/g1/g1CardSet.hpp:30, from ../../src/hotspot/share/gc/g1/g1CardSet.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/g1/g1CardSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CardSet.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/gc/g1/g1CodeRootSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CodeRootSet.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/g1/g1CodeBlobClosure.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1CodeBlobClosure.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1CollectorState.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1CardTable.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1CommittedRegionMap.cpp (for libjvm.so) In file included from ../../src/hotspot/share/utilities/concurrentHashTable.hpp:31, from ../../src/hotspot/share/gc/g1/g1CardSet.hpp:30, from ../../src/hotspot/share/gc/g1/g1CardSetContainers.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardSetContainers.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1ConcurrentMark.cpp (for libjvm.so) Compiling g1ConcurrentMarkBitMap.cpp (for libjvm.so) Compiling g1ConcurrentMarkObjArrayProcessor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/opto/constantTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectionSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1AnalyticsSequences.hpp:28, from ../../src/hotspot/share/gc/g1/g1Analytics.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectionSet.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1ConcurrentMarkThread.cpp (for libjvm.so) Compiling g1ConcurrentRebuildAndScrub.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:29, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.cpp:27: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1CommittedRegionMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1CommittedRegionMap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1CommittedRegionMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1ConcurrentRefine.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/g1/g1CollectionSetCandidates.hpp:29, from ../../src/hotspot/share/gc/g1/g1CollectionSetCandidates.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectionSetCandidates.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1ConcurrentRefineStats.cpp (for libjvm.so) Compiling g1ConcurrentRefineThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1ConcurrentRefineThreadsNeeded.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectionSetChooser.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1DirtyCardQueue.cpp (for libjvm.so) Compiling g1EvacFailure.cpp (for libjvm.so) Compiling g1EvacFailureRegions.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkObjArrayProcessor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentRebuildAndScrub.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:36, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentRefineThreadsNeeded.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1EvacStats.cpp (for libjvm.so) Compiling g1FreeIdSet.cpp (for libjvm.so) Compiling g1FromCardCache.cpp (for libjvm.so) Compiling g1FullCollector.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1ConcurrentRefineThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1FullGCAdjustTask.cpp (for libjvm.so) Compiling g1FullGCCompactTask.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp:28: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/domgraph.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1EvacFailure.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/plab.hpp:28, from ../../src/hotspot/share/gc/g1/g1EvacStats.hpp:28, from ../../src/hotspot/share/gc/g1/g1EvacStats.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1FromCardCache.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1FullGCCompactionPoint.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/referenceProcessor.hpp:31, from ../../src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.hpp:28, from ../../src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp:29, from ../../src/hotspot/share/gc/g1/g1BatchedTask.hpp:28, from ../../src/hotspot/share/gc/g1/g1EvacFailureRegions.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/oopStorageSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1EvacFailureRegions.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1FullGCMarkTask.cpp (for libjvm.so) Compiling g1FullGCMarker.cpp (for libjvm.so) Compiling g1FullGCOopClosures.cpp (for libjvm.so) Compiling g1FullGCPrepareTask.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCAdjustTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCAdjustTask.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCAdjustTask.cpp:30: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1FullGCResetMetadataTask.cpp (for libjvm.so) Compiling g1FullGCScope.cpp (for libjvm.so) Compiling g1FullGCTask.cpp (for libjvm.so) Compiling g1GCCounters.cpp (for libjvm.so) Compiling g1GCPhaseTimes.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullCollector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullCollector.cpp:31: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/divnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1HRPrinter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp:28: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCTask.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCScope.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCScope.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1HeapRegionEventSender.cpp (for libjvm.so) In file included from ../../src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling g1HeapSizingPolicy.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1GCCounters.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCMarker.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullGCMarker.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCMarker.cpp:28: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1FullGCMarker.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCMarkTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCMarkTask.cpp:27: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCOopClosures.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCMarkTask.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1HeapTransition.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp:27: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1FullGCMarker.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/code/codeCache.cpp:41: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling g1HeapVerifier.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1HRPrinter.hpp:28, from ../../src/hotspot/share/gc/g1/g1HRPrinter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1IHOPControl.cpp (for libjvm.so) Compiling g1InitLogger.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1MMUTracker.cpp (for libjvm.so) Compiling g1MemoryPool.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1AnalyticsSequences.hpp:28, from ../../src/hotspot/share/gc/g1/g1Analytics.hpp:28, from ../../src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1FullGCResetMetadataTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1FullGCMarker.hpp:38, from ../../src/hotspot/share/gc/g1/g1FullCollector.hpp:30: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1FullCollector.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling g1MonitoringSupport.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1HeapRegionEventSender.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/g1/g1HeapRegionEventSender.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling g1MonotonicArena.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1HeapTransition.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1MonotonicArenaFreeMemoryTask.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/g1/g1InitLogger.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1IHOPControl.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/epsilon/epsilonThreadLocalData.hpp:29, from ../../src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/epsilon/epsilonBarrierSet.hpp:28, from ../../src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1MemoryPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciInstance.hpp:28, from ../../src/hotspot/share/ci/ciCallSite.hpp:28, from ../../src/hotspot/share/opto/doCall.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/location.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:29, from ../../src/hotspot/share/code/scopeDesc.hpp:28, from ../../src/hotspot/share/compiler/compilationPolicy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/compiler/compilationPolicy.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/g1/g1Trace.hpp:29, from ../../src/hotspot/share/gc/g1/g1MMUTracker.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/g1/g1MonotonicArena.hpp:29, from ../../src/hotspot/share/gc/g1/g1MonotonicArena.inline.hpp:29, from ../../src/hotspot/share/gc/g1/g1MonotonicArena.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/g1/g1HeapVerifier.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1HeapVerifier.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1MonotonicArenaFreePool.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1MonitoringSupport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1NUMA.cpp (for libjvm.so) Compiling g1NUMAStats.cpp (for libjvm.so) Compiling g1OldGenAllocationTracker.cpp (for libjvm.so) Compiling g1OopClosures.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/gc/g1/g1MonotonicArenaFreeMemoryTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1OopStarChunkedList.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/g1/g1MonotonicArena.hpp:29, from ../../src/hotspot/share/gc/g1/g1MonotonicArena.inline.hpp:29, from ../../src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1PageBasedVirtualSpace.cpp (for libjvm.so) Compiling g1ParScanThreadState.cpp (for libjvm.so) Compiling g1ParallelCleaning.cpp (for libjvm.so) Compiling g1PeriodicGCTask.cpp (for libjvm.so) Compiling g1Policy.cpp (for libjvm.so) Compiling g1RedirtyCardsQueue.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1NUMA.hpp:29, from ../../src/hotspot/share/gc/g1/g1NUMA.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1RegionMarkStatsCache.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logStream.hpp:28, from ../../src/hotspot/share/gc/g1/g1NUMAStats.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1RegionToSpaceMapper.cpp (for libjvm.so) Compiling g1RegionsOnNodes.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1OldGenAllocationTracker.hpp:28, from ../../src/hotspot/share/gc/g1/g1OldGenAllocationTracker.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1RemSet.cpp (for libjvm.so) Compiling g1RemSetSummary.cpp (for libjvm.so) Compiling g1RemSetTrackingPolicy.cpp (for libjvm.so) Compiling g1RootClosures.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/shared/parallelCleaning.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParallelCleaning.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParallelCleaning.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling g1RootProcessor.cpp (for libjvm.so) Compiling g1SATBMarkQueueSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling g1ServiceThread.cpp (for libjvm.so) Compiling g1StringDedup.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1NUMA.hpp:29, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/g1/g1BiasedArray.hpp:28, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1OopClosures.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1NUMA.hpp:29, from ../../src/hotspot/share/gc/g1/g1RegionsOnNodes.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/g1/g1RedirtyCardsQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1RedirtyCardsQueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.cpp:26: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopsHierarchy.hpp:28, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1AllocRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1Allocator.hpp:28, from ../../src/hotspot/share/gc/g1/g1Policy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1Policy.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1PeriodicGCTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1SurvRateGroup.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1RegionMarkStatsCache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1AllocRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1Allocator.hpp:28, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1SurvivorRegions.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1RemSetSummary.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1RemSetSummary.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/concurrentGCThread.hpp:28, from ../../src/hotspot/share/gc/g1/g1ServiceThread.hpp:28, from ../../src/hotspot/share/gc/g1/g1ServiceThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1Trace.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp:28, from ../../src/hotspot/share/gc/g1/g1RemSetTrackingPolicy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1RemSetTrackingPolicy.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1RemSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1RemSet.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1RemSet.cpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1UncommitRegionTask.cpp (for libjvm.so) Compiling g1VMOperations.cpp (for libjvm.so) Compiling g1YoungCollector.cpp (for libjvm.so) Compiling g1YoungGCEvacFailureInjector.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1SATBMarkQueueSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1SATBMarkQueueSet.cpp:27: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/g1/g1OopClosures.hpp:28, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1RootClosures.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling g1YoungGCPostEvacuateTasks.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/bcEscapeAnalyzer.hpp:29, from ../../src/hotspot/share/opto/escape.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/g1/g1RootProcessor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1RootProcessor.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1SurvivorRegions.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling g1YoungGCPreEvacuateTasks.cpp (for libjvm.so) Compiling g1YoungGenSizer.cpp (for libjvm.so) Compiling gcAdaptivePolicyCounters.cpp (for libjvm.so) Compiling gcArguments.cpp (for libjvm.so) Compiling gcBehaviours.cpp (for libjvm.so) Compiling gcCause.cpp (for libjvm.so) Compiling gcConfig.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1StringDedup.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/opto/compile.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/opto/compile.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling gcConfiguration.cpp (for libjvm.so) Compiling gcId.cpp (for libjvm.so) Compiling gcInitLogger.cpp (for libjvm.so) Compiling gcLocker.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1YoungCollector.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1YoungCollector.cpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1SurvRateGroup.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1UncommitRegionTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/g1/g1Trace.hpp:29, from ../../src/hotspot/share/gc/g1/g1Trace.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/g1/g1EvacInfo.hpp:28, from ../../src/hotspot/share/gc/g1/g1Trace.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/g1/g1Trace.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling gcLogPrecious.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1VMOperations.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/gc/shared/gcBehaviours.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1YoungGenSizer.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/compiler/oopMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/gc/shared/gcArguments.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/gc/parallel/gcAdaptivePolicyCounters.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1YoungGCEvacFailureInjector.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/gcConfiguration.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling gcNotifier.cpp (for libjvm.so) Compiling gcOverheadChecker.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1YoungGCPreEvacuateTasks.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/gcId.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/shared/gcInitLogger.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/gcLocker.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/gc/shared/gcLocker.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling gcPolicyCounters.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/gcConfig.hpp:28, from ../../src/hotspot/share/gc/shared/gcConfig.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling gcStats.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/compiler/compileBroker.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/compilationLog.hpp:28, from ../../src/hotspot/share/compiler/compileBroker.cpp:33: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling gcTimer.cpp (for libjvm.so) Compiling gcTrace.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/shared/gcLogPrecious.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling gcTraceSend.cpp (for libjvm.so) Compiling gcTraceTime.cpp (for libjvm.so) Compiling gcUtil.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/gc/shared/gcOverheadChecker.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling gcVMOperations.cpp (for libjvm.so) Compiling gcm.cpp (for libjvm.so) Compiling genArguments.cpp (for libjvm.so) Compiling genCollectedHeap.cpp (for libjvm.so) Compiling genMarkSweep.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/gcUtil.inline.hpp:30, from ../../src/hotspot/share/gc/shared/gcStats.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling genMemoryPools.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/services/gcNotifier.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayOop.inline.hpp:32, from ../../src/hotspot/share/services/gcNotifier.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/gc/shared/gcPolicyCounters.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling generateOopMap.cpp (for libjvm.so) In file included from ../../src/hotspot/share/gc/shared/gcTimer.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling generateOptoStub.cpp (for libjvm.so) Compiling generation.cpp (for libjvm.so) Compiling generationCounters.cpp (for libjvm.so) Compiling generationSpec.cpp (for libjvm.so) Compiling globalCounter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling globalDefinitions.cpp (for libjvm.so)In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/gcTraceTime.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling globals.cpp (for libjvm.so) Compiling granularTimer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/referenceProcessor.hpp:31, from ../../src/hotspot/share/gc/shared/generation.hpp:29, from ../../src/hotspot/share/gc/shared/genArguments.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling graphKit.cpp (for libjvm.so) Compiling growableArray.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTraceSend.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shared/gcTraceSend.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling guardedMemory.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/referenceProcessor.hpp:31, from ../../src/hotspot/share/gc/shared/generation.hpp:29, from ../../src/hotspot/share/gc/shared/genMemoryPools.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/perfData.hpp:28, from ../../src/hotspot/share/gc/shared/collectorCounters.hpp:28, from ../../src/hotspot/share/gc/shared/generation.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling hSpaceCounters.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:30, from ../../src/hotspot/share/gc/shared/generationSpec.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/shared/genCollectedHeap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/shared/genCollectedHeap.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling handles.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/shared/gcVMOperations.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/shared/gcVMOperations.cpp:48: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling handshake.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:30, from ../../src/hotspot/share/gc/shared/generation.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/cardTable.hpp:28, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/shared/generation.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/generation.cpp:42: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/runtime/signature.hpp:30, from ../../src/hotspot/share/utilities/globalDefinitions.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/globalCounter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling heap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/generationCounters.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/oops/generateOopMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/generateOopMap.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/growableArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling heapDumper.cpp (for libjvm.so) Compiling heapDumperCompression.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/serial/genMarkSweep.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/serial/genMarkSweep.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/serial/genMarkSweep.cpp:61: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/memory/guardedMemory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling heapInspection.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/hSpaceCounters.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling heapRegion.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/runtime/handles.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/handles.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling heapRegionManager.cpp (for libjvm.so) Compiling heapRegionRemSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/handshake.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/runtime/handshake.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)' at ../../src/hotspot/share/runtime/handshake.cpp:404:43: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31, inlined from 'ThreadBlockInVMPreprocess::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23, inlined from 'ThreadBlockInVM::ThreadBlockInVM(JavaThread*, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:226:63, inlined from 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)' at ../../src/hotspot/share/runtime/handshake.cpp:406:33: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'void JavaThread::set_thread_state_fence(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:163:19, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:214:36, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)' at ../../src/hotspot/share/runtime/handshake.cpp:407:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:216:43, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)' at ../../src/hotspot/share/runtime/handshake.cpp:407:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:212:5, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)' at ../../src/hotspot/share/runtime/handshake.cpp:407:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)' at ../../src/hotspot/share/runtime/handshake.cpp:407:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void Handshake::execute(HandshakeClosure*, ThreadsListHandle*, JavaThread*)': cc1plus: note: destination object is likely at address zero Compiling heapRegionSet.cpp (for libjvm.so) Compiling heapRegionTracer.cpp (for libjvm.so) Compiling heapRegionType.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/services/heapDumperCompression.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling heapShared.cpp (for libjvm.so) Compiling hugepages.cpp (for libjvm.so) Compiling icBuffer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/memory/heap.hpp:28, from ../../src/hotspot/share/memory/heap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/memory/heap.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling icBuffer_riscv.cpp (for libjvm.so) Compiling icache.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/services/heapDumper.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling icache_riscv.cpp (for libjvm.so) Compiling idealGraphPrinter.cpp (for libjvm.so) Compiling idealKit.cpp (for libjvm.so) Compiling ifg.cpp (for libjvm.so) Compiling ifnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/memory/heapInspection.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling indexSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegion.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1AllocRegion.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1Allocator.inline.hpp:30, from ../../src/hotspot/share/gc/g1/heapRegion.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegion.inline.hpp:32: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/hugepages.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegionManager.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcArguments.hpp:29, from ../../src/hotspot/share/gc/g1/g1Arguments.hpp:29, from ../../src/hotspot/share/gc/g1/heapRegionManager.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/icBuffer_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/cpu/riscv/icBuffer_riscv.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegionTracer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/heapRegionTracer.hpp:30, from ../../src/hotspot/share/gc/g1/heapRegionTracer.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegionRemSet.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/heapRegionRemSet.cpp:30: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/code/icBuffer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/code/icBuffer.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling init.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/runtime/icache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.hpp:28, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:28, from ../../src/hotspot/share/gc/g1/heapRegionSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.inline.hpp:30, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/icache_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling instanceKlass.cpp (for libjvm.so) Compiling instanceKlassFlags.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/heapShared.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/cds/heapShared.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling instanceMirrorKlass.cpp (for libjvm.so) Compiling instanceOop.cpp (for libjvm.so) Compiling instanceRefKlass.cpp (for libjvm.so) Compiling instanceStackChunkKlass.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/runtime/init.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/stringTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling interfaceSupport.cpp (for libjvm.so) Compiling internalStats.cpp (for libjvm.so) Compiling interp_masm_riscv.cpp (for libjvm.so) Compiling interpreter.cpp (for libjvm.so) Compiling interpreterRT_riscv.cpp (for libjvm.so) Compiling interpreterRuntime.cpp (for libjvm.so) Compiling intrinsicnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/g1/g1PageBasedVirtualSpace.hpp:31, from ../../src/hotspot/share/gc/g1/g1RegionToSpaceMapper.hpp:28, from ../../src/hotspot/share/gc/g1/g1CardTable.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:29, from ../../src/hotspot/share/gc/g1/g1BarrierSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1BarrierSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/semaphore.hpp:28, from ../../src/hotspot/share/gc/g1/g1FreeIdSet.hpp:28, from ../../src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1BarrierSet.cpp:29: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' Compiling invocationCounter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/instanceOop.hpp:28, from ../../src/hotspot/share/oops/instanceOop.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/internalStats.hpp:30, from ../../src/hotspot/share/memory/metaspace/internalStats.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/share/oops/instanceKlassFlags.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/instanceKlassFlags.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from dfa_riscv.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/oops/instanceMirrorKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/classfile/classFileParser.hpp:29, from ../../src/hotspot/share/oops/instanceRefKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/oops/instanceRefKlass.inline.hpp:30, from ../../src/hotspot/share/oops/instanceRefKlass.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/oops/instanceStackChunkKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/compiler/oopMap.inline.hpp:31, from ../../src/hotspot/share/oops/instanceStackChunkKlass.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/runtime/interfaceSupport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/runtime/interfaceSupport.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/interp_masm_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/cpu/riscv/interp_masm_riscv.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/instanceKlass.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/oops/instanceKlass.cpp:91: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/interpreter/interpreter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/interpreter/interpreter.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/interpreterRT_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/interpreterRT_riscv.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling isGCActiveMark.cpp (for libjvm.so) Compiling iterator.cpp (for libjvm.so) Compiling java.cpp (for libjvm.so) Compiling javaAssertions.cpp (for libjvm.so) Compiling javaCalls.cpp (for libjvm.so) Compiling javaClasses.cpp (for libjvm.so) Compiling javaThread.cpp (for libjvm.so) Compiling javaThread_linux_riscv.cpp (for libjvm.so) Compiling jfr.cpp (for libjvm.so) Compiling jfrAdaptiveSampler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/interpreter/invocationCounter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrAllocation.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/isGCActiveMark.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrAllocationTracer.cpp (for libjvm.so) Compiling jfrBlob.cpp (for libjvm.so) Compiling jfrBuffer.cpp (for libjvm.so) Compiling jfrCallTrace.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/oops/objArrayOop.hpp:28, from ../../src/hotspot/share/classfile/javaAssertions.hpp:28, from ../../src/hotspot/share/classfile/javaAssertions.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/oop.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayOop.inline.hpp:32, from ../../src/hotspot/share/classfile/javaAssertions.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/runtime/frame.hpp:29, from ../../src/hotspot/share/runtime/frame.inline.hpp:28, from ../../src/hotspot/os_cpu/linux_riscv/javaThread_linux_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/compiler/oopMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/javaCalls.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/javaCalls.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.hpp:28, from ../../src/hotspot/share/jfr/jfr.cpp:31: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrCheckpointManager.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/memory/iterator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/memory/iterator.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrSpinlockHelper.hpp:28, from ../../src/hotspot/share/jfr/support/jfrAdaptiveSampler.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/recorder/jfrRecorder.hpp:28, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/jfr/support/jfrAllocationTracer.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrCheckpointWriter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/javaClasses.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/dynamicArchive.hpp:28, from ../../src/hotspot/share/runtime/javaThread.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/runtime/javaThread.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/javaThread.cpp:99: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/code/debugInfoRec.hpp:29, from ../../src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrChunk.cpp (for libjvm.so) Compiling jfrChunkRotation.cpp (for libjvm.so) Compiling jfrChunkWriter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrDcmds.cpp (for libjvm.so) Compiling jfrEmergencyDump.cpp (for libjvm.so) Compiling jfrEvent.cpp (for libjvm.so) Compiling jfrEventClassTransformer.cpp (for libjvm.so) Compiling jfrEventSetting.cpp (for libjvm.so) Compiling jfrEventThrottler.cpp (for libjvm.so) Compiling jfrFinalizerStatisticsEvent.cpp (for libjvm.so) Compiling jfrFlush.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:32, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrIntrinsics.cpp (for libjvm.so) Compiling jfrJavaCall.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkRotation.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaCall.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaSupport.hpp:28, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkRotation.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunk.hpp:28, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrSpinlockHelper.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrEventThrottler.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrFlush.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/recorder/jfrEventSetting.hpp:29, from ../../src/hotspot/share/jfr/recorder/jfrEventSetting.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrJavaEventWriter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/storage/jfrStorage.hpp:27, from ../../src/hotspot/share/jfr/support/jfrFlush.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/dcmd/jfrDcmds.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrSignal.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaCall.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaSupport.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/jfr/support/jfrThreadId.inline.hpp:30, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/jfr/periodic/jfrFinalizerStatisticsEvent.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrFinalizerStatisticsEvent.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrJavaLog.cpp (for libjvm.so) Compiling jfrJavaSupport.cpp (for libjvm.so) Compiling jfrJdkJfrEvent.cpp (for libjvm.so) Compiling jfrJniMethod.cpp (for libjvm.so)In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/jfr/jni/jfrJavaCall.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrJniMethodRegistration.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/classfile/classFileParser.hpp:29, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrJvmtiAgent.cpp (for libjvm.so) Compiling jfrKlassUnloading.cpp (for libjvm.so) Compiling jfrMemorySizer.cpp (for libjvm.so) Compiling jfrMetadataEvent.cpp (for libjvm.so) Compiling jfrMethodLookup.cpp (for libjvm.so) Compiling jfrModuleEvent.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/jfr/writers/jfrJavaEventWriter.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrJavaEventWriter.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrJavaEventWriter.cpp:37: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrNativeMemoryEvent.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrJavaLog.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaCall.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaSupport.hpp:28, from ../../src/hotspot/share/jfr/utilities/jfrJavaLog.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayOop.inline.hpp:32, from ../../src/hotspot/share/jfr/utilities/jfrJavaLog.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrNetworkUtilization.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/support/jfrJdkJfrEvent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaSupport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:30, from ../../src/hotspot/share/jfr/instrumentation/jfrJvmtiAgent.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrJvmtiAgent.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrJvmtiAgent.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/recorder/service/jfrMemorySizer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/support/jfrKlassUnloading.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/jni/jfrJniMethod.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/jfr.hpp:30, from ../../src/hotspot/share/jfr/jni/jfrJniMethod.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/jni/jfrJniMethodRegistration.hpp:29, from ../../src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrOSInterface.cpp (for libjvm.so) Compiling jfrObjectAllocationSample.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdBits.inline.hpp:30, from ../../src/hotspot/share/jfr/support/jfrMethodLookup.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp:10, from ../../src/hotspot/share/jfr/utilities/jfrTypes.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdBits.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdBits.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/oops/instanceKlass.inline.hpp:35, from ../../src/hotspot/share/jfr/support/jfrMethodLookup.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrMetadataEvent.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaCall.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaSupport.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrMetadataEvent.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/jfr/periodic/jfrModuleEvent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrOptionSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrNativeMemoryEvent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrPeriodic.cpp (for libjvm.so) Compiling jfrPostBox.cpp (for libjvm.so) Compiling jfrRecorder.cpp (for libjvm.so) Compiling jfrRecorderService.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrRecorderThread.cpp (for libjvm.so) Compiling jfrRecorderThreadLoop.cpp (for libjvm.so) Compiling jfrRepository.cpp (for libjvm.so) Compiling jfrResolution.cpp (for libjvm.so) Compiling jfrStackTrace.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrOptionSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrOSInterface.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrStackTraceMark.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/threadLocalAllocBuffer.inline.hpp:30, from ../../src/hotspot/share/jfr/support/jfrObjectAllocationSample.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcUtil.hpp:28, from ../../src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp:28, from ../../src/hotspot/share/gc/shared/threadLocalAllocBuffer.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/support/jfrObjectAllocationSample.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrStackTraceRepository.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrTryLock.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrPostBox.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/recorder/jfrRecorder.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/jfr/recorder/service/jfrRecorderThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp:32: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaCall.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrJavaSupport.hpp:28, from ../../src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrStorage.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/jfr.hpp:30, from ../../src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrStorageControl.cpp (for libjvm.so) Compiling jfrStringPool.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/recorder/service/jfrRecorderService.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrStringPoolBuffer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/jfr/periodic/jfrPeriodic.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrPeriodic.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrStackTraceMark.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:28, from ../../src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrStringPoolWriter.cpp (for libjvm.so) Compiling jfrSymbolTable.cpp (for libjvm.so) Compiling jfrThreadCPULoadEvent.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:28, from ../../src/hotspot/share/jfr/metadata/jfrSerializer.hpp:29, from ../../src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/metadata/jfrSerializer.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrStorageControl.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrThreadDumpEvent.cpp (for libjvm.so) Compiling jfrThreadGroup.cpp (for libjvm.so) Compiling jfrThreadIterator.cpp (for libjvm.so) Compiling jfrThreadLocal.cpp (for libjvm.so) Compiling jfrThreadSampler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/recorder/storage/jfrStorage.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.hpp:28, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrThreadState.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/support/jfrSymbolTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.hpp:28, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPool.hpp:30, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolWriter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/recorder/storage/jfrMemorySpace.hpp:27, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPool.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolWriter.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrTime.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrTimeConverter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrTraceId.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/services/diagnosticCommand.hpp:28, from ../../src/hotspot/share/jfr/dcmd/jfrDcmds.hpp:28, from ../../src/hotspot/share/jfr/periodic/jfrThreadDumpEvent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/stringTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/jfrThreadDumpEvent.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrTraceIdEpoch.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadGroup.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrTraceIdKlassQueue.cpp (for libjvm.so) Compiling jfrTraceIdLoadBarrier.cpp (for libjvm.so) Compiling jfrType.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/os/posix/os_posix.inline.hpp:30, from ../../src/hotspot/os/linux/os_linux.inline.hpp:31, from ../../src/hotspot/share/runtime/os.inline.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrTime.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jfrTypeManager.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/os/posix/os_posix.inline.hpp:30, from ../../src/hotspot/os/linux/os_linux.inline.hpp:31, from ../../src/hotspot/share/runtime/os.inline.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrTimeConverter.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadState.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrTypeSet.cpp (for libjvm.so) Compiling jfrTypeSetUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrSignal.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/jfr/support/jfrThreadId.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp:10, from ../../src/hotspot/share/jfr/utilities/jfrTypes.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/storage/jfrStorageUtils.hpp:29, from ../../src/hotspot/share/jfr/recorder/storage/jfrStorageUtils.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/storage/jfrEpochStorage.inline.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrEpochQueue.inline.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdKlassQueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp:10, from ../../src/hotspot/share/jfr/utilities/jfrTypes.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeManager.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopHandle.hpp:28, from ../../src/hotspot/share/classfile/systemDictionary.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp:32, from ../../src/hotspot/share/jfr/metadata/jfrSerializer.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeManager.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jfrUpcalls.cpp (for libjvm.so) Compiling jfrVirtualMemory.cpp (for libjvm.so) Compiling jni.cpp (for libjvm.so) Compiling jniCheck.cpp (for libjvm.so) Compiling jniFastGetField.cpp (for libjvm.so) Compiling jniFastGetField_riscv.cpp (for libjvm.so) Compiling jniHandles.cpp (for libjvm.so) Compiling jniPeriodicChecker.cpp (for libjvm.so) Compiling json.cpp (for libjvm.so) Compiling jvm.cpp (for libjvm.so) Compiling jvmFlag.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:30, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp:10, from ../../src/hotspot/share/jfr/utilities/jfrTypes.hpp:29, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/prims/jvm_misc.hpp:29, from ../../src/hotspot/share/prims/jniFastGetField.hpp:29, from ../../src/hotspot/share/prims/jniFastGetField.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/services/memTracker.hpp:28, from ../../src/hotspot/share/jfr/recorder/storage/jfrVirtualMemory.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/recorder/storage/jfrVirtualMemory.hpp:28, from ../../src/hotspot/share/jfr/recorder/storage/jfrVirtualMemory.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/jfr/jni/jfrUpcalls.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/jfr/jni/jfrUpcalls.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/jniFastGetField_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/runtime/jniPeriodicChecker.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/opto/generateOptoStub.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/runtime/jniHandles.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/runtime/jniHandles.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/jniCheck.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/indexSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling jvmFlagAccess.cpp (for libjvm.so) Compiling jvmFlagConstraintsCompiler.cpp (for libjvm.so) Compiling jvmFlagConstraintsG1.cpp (for libjvm.so) Compiling jvmFlagConstraintsGC.cpp (for libjvm.so) Compiling jvmFlagConstraintsParallel.cpp (for libjvm.so) Compiling jvmFlagConstraintsRuntime.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/ci/ciReplay.hpp:28, from ../../src/hotspot/share/prims/jni.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/accessFlags.hpp:30, from ../../src/hotspot/share/ci/ciFlags.hpp:30, from ../../src/hotspot/share/ci/ciMethod.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/jni.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/prims/jni.cpp:95: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling jvmFlagLimit.cpp (for libjvm.so) Compiling jvmFlagLookup.cpp (for libjvm.so) Compiling jvm_posix.cpp (for libjvm.so) Compiling jvmci.cpp (for libjvm.so) Compiling jvmciCodeInstaller.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/flags/jvmFlag.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/opto/graphKit.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciTypeFlow.hpp:29, from ../../src/hotspot/share/opto/ifnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/idealKit.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/flags/jvmFlagAccess.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/compiler/compilerDirectives.hpp:28, from ../../src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:30, from ../../src/hotspot/share/gc/shared/jvmFlagConstraintsGC.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/opto/idealGraphPrinter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/runtime/flags/jvmFlagLimit.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/utilities/defaultStream.hpp:28, from ../../src/hotspot/share/runtime/flags/jvmFlagLookup.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/cds/classListParser.hpp:30, from ../../src/hotspot/share/prims/jvm.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/cds/classListParser.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/prims/jvm.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/prims/jvm.cpp:101: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/jvmci/jvmci.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopHandle.hpp:28, from ../../src/hotspot/share/classfile/systemDictionary.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jvmci/jvmci.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/jvmci/jvmci.cpp:40: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/runtime/handles.inline.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:33, from ../../src/hotspot/os/posix/jvm_posix.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:31: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jvmciCodeInstaller_riscv.cpp (for libjvm.so) Compiling jvmciCompiler.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/opto/ifg.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/compiler/oopMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/gcm.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling jvmciCompilerToVM.cpp (for libjvm.so) Compiling jvmciCompilerToVMInit.cpp (for libjvm.so) Compiling jvmciEnv.cpp (for libjvm.so) Compiling jvmciJavaClasses.cpp (for libjvm.so) Compiling jvmciRuntime.cpp (for libjvm.so) Compiling jvmci_globals.cpp (for libjvm.so) Compiling jvmtiAgent.cpp (for libjvm.so) Compiling jvmtiAgentList.cpp (for libjvm.so) Compiling jvmtiClassFileReconstituter.cpp (for libjvm.so) Compiling jvmtiCodeBlobEvents.cpp (for libjvm.so) Compiling jvmtiDeferredUpdates.cpp (for libjvm.so) Compiling jvmtiEnter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/jvmciCodeInstaller_riscv.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/jvmciCodeInstaller_riscv.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jvmtiEnterTrace.cpp (for libjvm.so) Compiling jvmtiEnv.cpp (for libjvm.so) Compiling jvmtiEnvBase.cpp (for libjvm.so) Compiling jvmtiEnvThreadState.cpp (for libjvm.so) Compiling jvmtiEventController.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jvmci/jvmciCodeInstaller.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'JVMCI::CodeInstallResult CodeInstaller::initialize_buffer(JVMCIObject, CodeBuffer&, HotSpotCompiledCodeStream*, u1, JVMCIEnv*)' at ../../src/hotspot/share/jvmci/jvmciCodeInstaller.cpp:990:60: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'JVMCI::CodeInstallResult CodeInstaller::initialize_buffer(JVMCIObject, CodeBuffer&, HotSpotCompiledCodeStream*, u1, JVMCIEnv*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'static void ThreadStateTransition::transition_from_native(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:97:5, inlined from 'ThreadToNativeFromVM::~ThreadToNativeFromVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:191:27, inlined from 'JVMCI::CodeInstallResult CodeInstaller::initialize_buffer(JVMCIObject, CodeBuffer&, HotSpotCompiledCodeStream*, u1, JVMCIEnv*)' at ../../src/hotspot/share/jvmci/jvmciCodeInstaller.cpp:993:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'JVMCI::CodeInstallResult CodeInstaller::initialize_buffer(JVMCIObject, CodeBuffer&, HotSpotCompiledCodeStream*, u1, JVMCIEnv*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'static void SafepointMechanism::process_if_requested_with_exit_check(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:88:23, inlined from 'static void ThreadStateTransition::transition_from_native(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:106:61, inlined from 'ThreadToNativeFromVM::~ThreadToNativeFromVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:191:27, inlined from 'JVMCI::CodeInstallResult CodeInstaller::initialize_buffer(JVMCIObject, CodeBuffer&, HotSpotCompiledCodeStream*, u1, JVMCIEnv*)' at ../../src/hotspot/share/jvmci/jvmciCodeInstaller.cpp:993:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'JVMCI::CodeInstallResult CodeInstaller::initialize_buffer(JVMCIObject, CodeBuffer&, HotSpotCompiledCodeStream*, u1, JVMCIEnv*)': cc1plus: note: destination object is likely at address zero In file included from ../../src/hotspot/share/prims/jvmtiAgentList.hpp:30, from ../../src/hotspot/share/prims/jvmtiAgentList.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/jvmci/jvmciCompiler.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayOop.inline.hpp:32, from ../../src/hotspot/share/jvmci/jvmciCompiler.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/ci/ciUtilities.hpp:28, from ../../src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:44: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/gcConfig.hpp:28, from ../../src/hotspot/share/jvmci/jvmci_globals.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.hpp:29, from ../../src/hotspot/share/prims/jvmtiEnvThreadState.hpp:30, from ../../src/hotspot/share/prims/jvmtiEnvBase.hpp:28, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnv.hpp:31, from ../../src/hotspot/share/prims/jvmtiAgent.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/prims/jvmtiAgent.hpp:28, from ../../src/hotspot/share/prims/jvmtiAgent.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/prims/jvmtiAgent.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/jvmci/jvmciCompilerToVM.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/jvmci/jvmciEnv.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/stringTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/typeArrayOop.inline.hpp:30, from ../../src/hotspot/share/jvmci/jvmciEnv.cpp:37: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/prims/jvmtiDeferredUpdates.hpp:29, from ../../src/hotspot/share/prims/jvmtiDeferredUpdates.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling jvmtiExport.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jvmci/jvmciRuntime.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.hpp:30, from ../../src/hotspot/share/interpreter/bytecodeStream.hpp:28, from ../../src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/oops/instanceKlass.inline.hpp:35, from ../../src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/stubs.hpp:28, from ../../src/hotspot/share/interpreter/interpreter.hpp:28, from ../../src/hotspot/share/prims/jvmtiEnvThreadState.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/prims/jvmtiThreadState.inline.hpp:33, from ../../src/hotspot/share/prims/jvmtiEnvThreadState.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/jvmci/jvmciJavaClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/jvmci/jvmciJavaClasses.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/jvmci/jniAccessMark.inline.hpp:32, from ../../src/hotspot/share/jvmci/jvmciJavaClasses.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jvmtiExtensions.cpp (for libjvm.so) Compiling jvmtiGetLoadedClasses.cpp (for libjvm.so) Compiling jvmtiImpl.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnterTrace.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jvmtiManageCapabilities.cpp (for libjvm.so) Compiling jvmtiRawMonitor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/prims/jvmtiEnvBase.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/jvmtiEnvBase.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jvmtiRedefineClasses.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/prims/jvmtiEventController.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/prims/jvmtiThreadState.inline.hpp:33, from ../../src/hotspot/share/prims/jvmtiEventController.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/share/classfile/classLoaderExt.hpp:28, from ../../src/hotspot/share/prims/jvmtiEnv.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/jvmtiEnv.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling jvmtiTagMap.cpp (for libjvm.so) Compiling jvmtiTagMapTable.cpp (for libjvm.so) Compiling jvmtiThreadState.cpp (for libjvm.so) Compiling jvmtiTrace.cpp (for libjvm.so) Compiling jvmtiUtil.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/jvmtiExtensions.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling keepStackGCProcessed.cpp (for libjvm.so) Compiling klass.cpp (for libjvm.so) Compiling klassFactory.cpp (for libjvm.so) Compiling klassVtable.cpp (for libjvm.so) Compiling lambdaFormInvokers.cpp (for libjvm.so) Compiling lambdaProxyClassDictionary.cpp (for libjvm.so) Compiling lcm.cpp (for libjvm.so)In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/prims/jvmtiGetLoadedClasses.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.hpp:29, from ../../src/hotspot/share/prims/jvmtiEnvThreadState.hpp:30, from ../../src/hotspot/share/prims/jvmtiEnvBase.hpp:28, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnv.hpp:31, from ../../src/hotspot/share/prims/jvmtiManageCapabilities.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/prims/jvmtiEnvThreadState.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling leakProfiler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/prims/jvmtiRawMonitor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/prims/jvmtiRawMonitor.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'static void ThreadStateTransition::transition_from_native(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:107:29, inlined from 'ThreadInVMfromNative::ThreadInVMfromNative(JavaThread*)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:174:27, inlined from 'int JvmtiRawMonitor::raw_wait(jlong, Thread*)' at ../../src/hotspot/share/prims/jvmtiRawMonitor.cpp:393:35: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'int JvmtiRawMonitor::raw_wait(jlong, Thread*)': cc1plus: note: destination object is likely at address zero In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/jvmtiExport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/intrinsicnode.hpp:28, from ../../src/hotspot/share/opto/intrinsicnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/prims/jvmtiUtil.hpp:29, from ../../src/hotspot/share/prims/jvmtiUtil.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/prims/jvmtiUtil.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/prims/jvmtiTagMapTable.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/prims/jvmtiTagMapTable.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/prims/jvmtiTagMapTable.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling library_call.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/prims/jvmtiImpl.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/prims/jvmtiImpl.cpp:37: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/jvmtiTrace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/runtime/safepoint.hpp:29, from ../../src/hotspot/share/runtime/keepStackGCProcessed.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/javaThread.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/stackWatermark.inline.hpp:31, from ../../src/hotspot/share/runtime/keepStackGCProcessed.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/jvmtiThreadState.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling linkResolver.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/classfile/klassFactory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/klassFactory.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling live.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/prims/jvmtiRedefineClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/jvmtiRedefineClasses.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:29, from ../../src/hotspot/share/prims/jvmtiRedefineClasses.cpp:31: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/prims/jvmtiRedefineClasses.cpp:65: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.hpp:28, from ../../src/hotspot/share/oops/klass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/prims/jvmtiTagMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/jvmtiTagMap.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31, inlined from 'ThreadBlockInVMPreprocess::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23, inlined from 'ThreadBlockInVM::ThreadBlockInVM(JavaThread*, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:226:63, inlined from 'static void JvmtiTagMap::flush_all_object_free_events()' at ../../src/hotspot/share/prims/jvmtiTagMap.cpp:3106:34: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void JvmtiTagMap::flush_all_object_free_events()': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'void JavaThread::set_thread_state_fence(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:163:19, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:214:36, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void JvmtiTagMap::flush_all_object_free_events()' at ../../src/hotspot/share/prims/jvmtiTagMap.cpp:3107:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void JvmtiTagMap::flush_all_object_free_events()': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:216:43, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void JvmtiTagMap::flush_all_object_free_events()' at ../../src/hotspot/share/prims/jvmtiTagMap.cpp:3107:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void JvmtiTagMap::flush_all_object_free_events()': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:212:5, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void JvmtiTagMap::flush_all_object_free_events()' at ../../src/hotspot/share/prims/jvmtiTagMap.cpp:3107:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void JvmtiTagMap::flush_all_object_free_events()': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static void JvmtiTagMap::flush_all_object_free_events()' at ../../src/hotspot/share/prims/jvmtiTagMap.cpp:3107:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static void JvmtiTagMap::flush_all_object_free_events()': cc1plus: note: destination object is likely at address zero In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/lambdaProxyClassDictionary.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/oops/klassVtable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/oops/instanceKlass.inline.hpp:35, from ../../src/hotspot/share/oops/klassVtable.cpp:37: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/lambdaFormInvokers.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/cds/lambdaFormInvokers.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling loaderConstraints.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/startOperation.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/jfr/leakprofiler/leakProfiler.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling location.cpp (for libjvm.so) Compiling locationPrinter.cpp (for libjvm.so) Compiling lockStack.cpp (for libjvm.so) Compiling locknode.cpp (for libjvm.so) Compiling logAsyncWriter.cpp (for libjvm.so) Compiling logConfiguration.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/interpreter/linkResolver.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/interpreter/linkResolver.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling logDecorations.cpp (for libjvm.so) Compiling logDecorators.cpp (for libjvm.so) Compiling logDiagnosticCommand.cpp (for libjvm.so) Compiling logFileOutput.cpp (for libjvm.so) Compiling logFileStreamOutput.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/loaderConstraints.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling logLevel.cpp (for libjvm.so) Compiling logMessageBuffer.cpp (for libjvm.so) Compiling logOutput.cpp (for libjvm.so) Compiling logOutputList.cpp (for libjvm.so) Compiling logSelection.cpp (for libjvm.so) Compiling logSelectionList.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/location.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:29, from ../../src/hotspot/share/code/location.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/locationPrinter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling logStream.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logAsyncWriter.hpp:26, from ../../src/hotspot/share/logging/logAsyncWriter.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logConfiguration.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/oop.inline.hpp:28, from ../../src/hotspot/share/runtime/lockStack.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/lockStack.cpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logAsyncWriter.hpp:26, from ../../src/hotspot/share/logging/logFileStreamOutput.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logFileOutput.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/services/diagnosticCommand.hpp:28, from ../../src/hotspot/share/logging/logDiagnosticCommand.hpp:27, from ../../src/hotspot/share/logging/logDiagnosticCommand.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/logDecorations.hpp:28, from ../../src/hotspot/share/logging/logDecorations.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logOutputList.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/logDecorations.hpp:28, from ../../src/hotspot/share/logging/logMessageBuffer.hpp:27, from ../../src/hotspot/share/logging/logMessageBuffer.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logOutput.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logSelection.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling logTag.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/logSelectionList.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling logTagSet.cpp (for libjvm.so) Compiling logTagSetDescriptions.cpp (for libjvm.so) Compiling loopPredicate.cpp (for libjvm.so) Compiling loopTransform.cpp (for libjvm.so) Compiling loopUnswitch.cpp (for libjvm.so) Compiling loopnode.cpp (for libjvm.so) Compiling loopopts.cpp (for libjvm.so) Compiling lowMemoryDetector.cpp (for libjvm.so) Compiling machnode.cpp (for libjvm.so) Compiling macro.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logStream.hpp:28, from ../../src/hotspot/share/logging/logStream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling macroArrayCopy.cpp (for libjvm.so) Compiling macroAssembler_riscv.cpp (for libjvm.so) Compiling mallocHeader.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/logTagSetDescriptions.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/logDecorations.hpp:28, from ../../src/hotspot/share/logging/logTagSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling mallocInfoDcmd.cpp (for libjvm.so) Compiling mallocLimit.cpp (for libjvm.so) Compiling mallocSiteTable.cpp (for libjvm.so) Compiling mallocTracker.cpp (for libjvm.so) Compiling management.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/services/mallocSiteTable.hpp:29, from ../../src/hotspot/share/services/mallocHeader.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling markBitMap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/services/lowMemoryDetector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/lowMemoryDetector.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/services/diagnosticCommand.hpp:28, from ../../src/hotspot/os/linux/mallocInfoDcmd.hpp:28, from ../../src/hotspot/os/linux/mallocInfoDcmd.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/services/mallocSiteTable.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/interpreter/interpreterRuntime.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/interpreter/interpreterRuntime.cpp:77: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling markSweep.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/services/mallocTracker.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling markWord.cpp (for libjvm.so) Compiling matcher.cpp (for libjvm.so) Compiling mathexactnode.cpp (for libjvm.so) Compiling memAllocator.cpp (for libjvm.so) Compiling memBaseline.cpp (for libjvm.so) Compiling memRegion.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/share/services/management.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/services/management.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/oops/markWord.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/oops/markWord.hpp:28, from ../../src/hotspot/share/oops/markWord.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/runtime/objectMonitor.inline.hpp:31, from ../../src/hotspot/share/oops/markWord.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling memReporter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/shared/memAllocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/memAllocator.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/compilerInterface.hpp:28, from ../../src/hotspot/share/compiler/compileBroker.hpp:28, from ../../src/hotspot/share/gc/serial/markSweep.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/gc/serial/markSweep.inline.hpp:30, from ../../src/hotspot/share/gc/serial/markSweep.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling memTracker.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:28, from ../../src/hotspot/share/services/memBaseline.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling memnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/memory/memRegion.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling memoryManager.cpp (for libjvm.so) Compiling memoryPool.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/services/memReporter.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling memoryService.cpp (for libjvm.so) Compiling metachunk.cpp (for libjvm.so) Compiling metachunkList.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/services/memTracker.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/services/memoryManager.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/memoryManager.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/services/memoryService.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/memoryService.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/dynamicArchive.hpp:28, from ../../src/hotspot/share/runtime/java.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/cds/cds_globals.hpp:28, from ../../src/hotspot/share/runtime/java.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/java.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/services/memoryPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/services/memoryPool.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/metachunk.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metadata.cpp (for libjvm.so) Compiling metadataHandles.cpp (for libjvm.so) Compiling metadataOnStackMark.cpp (for libjvm.so) Compiling metaspace.cpp (for libjvm.so) Compiling metaspaceArena.cpp (for libjvm.so) Compiling metaspaceArenaGrowthPolicy.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/metachunkList.hpp:29, from ../../src/hotspot/share/memory/metaspace/metachunkList.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/oops/metadata.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/oops/metadata.hpp:28, from ../../src/hotspot/share/oops/metadata.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/jvmci/metadataHandles.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/metaspaceArena.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metaspaceClosure.cpp (for libjvm.so) In file included from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:29, from ../../src/hotspot/share/classfile/metadataOnStackMark.cpp:26: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/classfile/metadataOnStackMark.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling metaspaceCommon.cpp (for libjvm.so) Compiling metaspaceContext.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/memory/metaspace.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling metaspaceCounters.cpp (for libjvm.so) Compiling metaspaceCriticalAllocation.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspaceClosure.hpp:28, from ../../src/hotspot/share/memory/metaspaceClosure.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metaspaceDCmd.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/binList.hpp:29, from ../../src/hotspot/share/memory/metaspace/freeBlocks.hpp:30, from ../../src/hotspot/share/memory/metaspace/metaspaceCommon.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metaspaceReporter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/chunkManager.hpp:31, from ../../src/hotspot/share/memory/metaspace/metaspaceContext.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metaspaceSettings.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/memory/metaspaceCounters.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/memory/metaspaceCriticalAllocation.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/memory/metaspaceCriticalAllocation.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/services/diagnosticCommand.hpp:28, from ../../src/hotspot/share/memory/metaspace/metaspaceDCmd.hpp:29, from ../../src/hotspot/share/memory/metaspace/metaspaceDCmd.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metaspaceShared.cpp (for libjvm.so) Compiling metaspaceStatistics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/memory/metaspace/metaspaceReporter.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling metaspaceTracer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/metaspaceSettings.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling method.cpp (for libjvm.so) Compiling methodComparator.cpp (for libjvm.so) Compiling methodCounters.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/metaspaceShared.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/cds/cdsProtectionDomain.hpp:29, from ../../src/hotspot/share/cds/metaspaceShared.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling methodData.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/memory/metaspaceTracer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/memory/metaspaceTracer.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling methodFlags.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrResolution.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/runtime/vframe.inline.hpp:30, from ../../src/hotspot/share/jfr/instrumentation/jfrResolution.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling methodHandles.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/oops/method.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/metadataOnStackMark.hpp:29, from ../../src/hotspot/share/oops/method.cpp:29: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/cppVtables.hpp:28, from ../../src/hotspot/share/oops/method.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/oops/method.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/methodFlags.hpp:28, from ../../src/hotspot/share/oops/methodFlags.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/oops/methodCounters.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling methodHandles_riscv.cpp (for libjvm.so) Compiling methodLiveness.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/prims/methodComparator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/oops/cpCache.inline.hpp:30, from ../../src/hotspot/share/oops/constantPool.inline.hpp:30, from ../../src/hotspot/share/prims/methodComparator.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling methodMatcher.cpp (for libjvm.so) Compiling modRefBarrierSetAssembler_riscv.cpp (for libjvm.so) Compiling modRefBarrierSetC1.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethodData.hpp:29, from ../../src/hotspot/share/oops/methodData.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/oops/methodData.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling modRefBarrierSetC2.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/methodHandles_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/cpu/riscv/methodHandles_riscv.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_LIRGenerator.hpp:29, from ../../src/hotspot/share/gc/shared/c1/barrierSetC1.hpp:29, from ../../src/hotspot/share/gc/shared/c1/modRefBarrierSetC1.hpp:28, from ../../src/hotspot/share/gc/shared/c1/modRefBarrierSetC1.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/oops/accessDecorators.hpp:30, from ../../src/hotspot/share/c1/c1_Decorators.hpp:28, from ../../src/hotspot/share/gc/shared/c1/barrierSetC1.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/modRefBarrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/methodHandles.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling moduleEntry.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethod.hpp:29, from ../../src/hotspot/share/compiler/methodLiveness.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling modules.cpp (for libjvm.so) Compiling monitorChunk.cpp (for libjvm.so) Compiling monitorDeflationThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/live.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/compiler/methodMatcher.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/compiler/methodMatcher.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/compiler/methodMatcher.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling movenode.cpp (for libjvm.so) Compiling mulnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/runtime/monitorChunk.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/monitorChunk.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling multnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/opto/loopPredicate.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/opto/loopPredicate.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/classfile/modules.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/modules.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/monitorDeflationThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/runtime/monitorDeflationThread.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/moduleEntry.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/moduleEntry.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/moduleEntry.cpp:44: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling mutableNUMASpace.cpp (for libjvm.so) Compiling mutableSpace.cpp (for libjvm.so) Compiling mutex.cpp (for libjvm.so) Compiling mutexLocker.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/loopTransform.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling narrowptrnode.cpp (for libjvm.so) Compiling nativeCallStack.cpp (for libjvm.so) Compiling nativeEntryPoint.cpp (for libjvm.so) Compiling nativeInst_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/parallel/mutableSpace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/gc/parallel/mutableSpace.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/share/opto/lcm.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/parallel/mutableNUMASpace.hpp:28, from ../../src/hotspot/share/gc/parallel/mutableNUMASpace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/mutableNUMASpace.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/locknode.hpp:28, from ../../src/hotspot/share/opto/locknode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/mutex.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/runtime/mutex.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/mutex.cpp:35: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/utilities/decoder.hpp:30, from ../../src/hotspot/share/utilities/nativeCallStack.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/arraycopynode.hpp:28, from ../../src/hotspot/share/opto/macroArrayCopy.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/macroArrayCopy.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling nativeLookup.cpp (for libjvm.so) Compiling nmethod.cpp (for libjvm.so) Compiling nmtCommon.cpp (for libjvm.so) Compiling nmtDCmd.cpp (for libjvm.so) Compiling nmtPreInit.cpp (for libjvm.so) Compiling nmtUsage.cpp (for libjvm.so) Compiling node.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/runtime/handles.inline.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:33, from ../../src/hotspot/share/prims/nativeEntryPoint.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:31: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/services/nmtDCmd.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/services/nmtPreInit.hpp:31, from ../../src/hotspot/share/services/nmtPreInit.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/runtime/os.hpp:30, from ../../src/hotspot/share/services/nmtPreInit.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/prims/nativeLookup.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/prims/nativeLookup.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling nonJavaThread.cpp (for libjvm.so) Compiling notificationThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/services/mallocTracker.hpp:30, from ../../src/hotspot/share/services/nmtUsage.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/threadCritical.hpp:28, from ../../src/hotspot/share/services/nmtUsage.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling numberSeq.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/assembler.inline.hpp:28, from ../../src/hotspot/share/code/nmethod.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/compiler/compilationLog.hpp:28, from ../../src/hotspot/share/code/nmethod.cpp:35: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/compiler/oopMap.inline.hpp:31, from ../../src/hotspot/share/code/nmethod.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/loopUnswitch.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling objArrayKlass.cpp (for libjvm.so) Compiling objArrayOop.cpp (for libjvm.so) Compiling objectCountEventSender.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/nonJavaThread.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling objectMonitor.cpp (for libjvm.so) Compiling objectSample.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/notificationThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/runtime/notificationThread.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling objectSampleCheckpoint.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/utilities/numberSeq.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/shared/objectCountEventSender.hpp:28, from ../../src/hotspot/share/gc/shared/objectCountEventSender.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/gc/shared/objectCountEventSender.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shared/objectCountEventSender.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/loopopts.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/loopopts.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.inline.hpp:30, from ../../src/hotspot/share/oops/access.inline.hpp:30, from ../../src/hotspot/share/oops/objArrayOop.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/oops/accessBackend.hpp:29, from ../../src/hotspot/share/oops/access.hpp:29, from ../../src/hotspot/share/oops/access.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling objectSampleDescription.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/classfile/moduleEntry.hpp:32, from ../../src/hotspot/share/oops/objArrayKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopHandle.hpp:28, from ../../src/hotspot/share/classfile/moduleEntry.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/oops/objArrayKlass.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling objectSampleWriter.cpp (for libjvm.so) Compiling objectSampler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/objectMonitor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/objectMonitor.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:1020:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31, inlined from 'ThreadBlockInVMPreprocess::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = ObjectMonitor::ClearSuccOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23, inlined from 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:1024:100: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'void JavaThread::set_thread_state_fence(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:163:19, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ClearSuccOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:214:36, inlined from 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:1026:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ClearSuccOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:216:43, inlined from 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:1026:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ClearSuccOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:212:5, inlined from 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:1026:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ClearSuccOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ClearSuccOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:1026:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void ObjectMonitor::ReenterI(JavaThread*, ObjectWaiter*)': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31, inlined from 'ThreadBlockInVMPreprocess::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23, inlined from 'bool ObjectMonitor::enter(JavaThread*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:479:94: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'bool ObjectMonitor::enter(JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'void JavaThread::set_thread_state_fence(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:163:19, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:214:36, inlined from 'bool ObjectMonitor::enter(JavaThread*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:489:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'bool ObjectMonitor::enter(JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:216:43, inlined from 'bool ObjectMonitor::enter(JavaThread*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:489:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'bool ObjectMonitor::enter(JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:212:5, inlined from 'bool ObjectMonitor::enter(JavaThread*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:489:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'bool ObjectMonitor::enter(JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'bool ObjectMonitor::enter(JavaThread*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:489:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'bool ObjectMonitor::enter(JavaThread*)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = ObjectMonitor::ExitOnSuspend]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'bool ObjectMonitor::enter(JavaThread*)' at ../../src/hotspot/share/runtime/objectMonitor.cpp:489:7: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] In member function 'bool ObjectMonitor::enter(JavaThread*)': cc1plus: note: destination object is likely at address zero In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/weakHandle.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling objectStartArray.cpp (for libjvm.so) Compiling oop.cpp (for libjvm.so) Compiling oopFactory.cpp (for libjvm.so) Compiling oopMap.cpp (for libjvm.so) Compiling oopMapCache.cpp (for libjvm.so) Compiling oopRecorder.cpp (for libjvm.so) Compiling oopStorage.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleDescription.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethodData.hpp:29, from ../../src/hotspot/share/opto/loopnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/machnode.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/machnode.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrHashtable.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/chains/edgeStore.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp:10, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling oopStorageSet.cpp (for libjvm.so) Compiling oopsHierarchy.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/memory/oopFactory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/memory/oopFactory.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/objectStartArray.inline.hpp:28, from ../../src/hotspot/share/gc/parallel/objectStartArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/psVirtualspace.hpp:28, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/objectStartArray.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/oops/oop.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/altHashing.hpp:30, from ../../src/hotspot/share/oops/oop.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling opaquenode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/interpreter/bytecode.hpp:30, from ../../src/hotspot/share/interpreter/bytecodeStream.hpp:28, from ../../src/hotspot/share/oops/generateOopMap.hpp:28, from ../../src/hotspot/share/interpreter/oopMapCache.hpp:28, from ../../src/hotspot/share/interpreter/oopMapCache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/interpreter/bytecodes.hpp:29, from ../../src/hotspot/share/interpreter/bytecode.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/interpreter/oopMapCache.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling opcodes.cpp (for libjvm.so) Compiling orderAccess.cpp (for libjvm.so) Compiling os.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/code/oopRecorder.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/code/oopRecorder.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:29, from ../../src/hotspot/share/gc/shared/oopStorage.inline.hpp:28, from ../../src/hotspot/share/gc/shared/oopStorage.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/gc/shared/oopStorage.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling osContainer_linux.cpp (for libjvm.so) Compiling osInfo.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/oops/oopsHierarchy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling osThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/mathexactnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling osThread_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/orderAccess.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/compiler/compiler_globals_pd.hpp:34, from ../../src/hotspot/share/runtime/globals.hpp:28, from ../../src/hotspot/share/runtime/vm_version.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling os_linux.cpp (for libjvm.so) Compiling os_linux_riscv.cpp (for libjvm.so) Compiling os_perf_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/osContainer_linux.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling os_posix.cpp (for libjvm.so) Compiling ostream.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:29, from ../../src/hotspot/share/gc/shared/oopStorageSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling output.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/os/linux/osThread_linux.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/os.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/os.cpp:43: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/os.cpp:75: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/oop.inline.hpp:28, from ../../src/hotspot/share/runtime/osThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/oop.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling packageEntry.cpp (for libjvm.so) Compiling parMarkBitMap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp:41: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp:54: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/macro.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/opto/macro.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/os/linux/os_perf_linux.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/os/posix/os_posix.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/os/posix/os_posix.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/os/posix/os_posix.cpp:46: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/os/linux/os_linux.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/os/linux/os_linux.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/os/linux/os_linux.cpp:74: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/packageEntry.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/packageEntry.cpp:38: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/cds/classListWriter.hpp:28, from ../../src/hotspot/share/utilities/ostream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/javaThread.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/utilities/ostream.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling parallelArguments.cpp (for libjvm.so) Compiling parallelCleaning.cpp (for libjvm.so) Compiling parallelInitLogger.cpp (for libjvm.so) Compiling parallelScavengeHeap.cpp (for libjvm.so) Compiling park.cpp (for libjvm.so) Compiling parse1.cpp (for libjvm.so) Compiling parse2.cpp (for libjvm.so) Compiling parse3.cpp (for libjvm.so) Compiling parseHelper.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/matcher.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/matcher.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling parserTests.cpp (for libjvm.so) Compiling partialArrayTaskStepper.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/parallel/parallelInitLogger.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/parMarkBitMap.hpp:29, from ../../src/hotspot/share/gc/parallel/parMarkBitMap.inline.hpp:28, from ../../src/hotspot/share/gc/parallel/parMarkBitMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/parallel/parMarkBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/parMarkBitMap.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/gc/shared/parallelCleaning.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/gc/shared/parallelCleaning.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp:28, from ../../src/hotspot/share/gc/parallel/parallelArguments.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling pathToGcRootsOperation.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/runtime/park.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/wbtestmethods/parserTests.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling pcDesc.cpp (for libjvm.so) Compiling perf.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/continuationGCSupport.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psParallelCompact.inline.hpp:33, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.inline.hpp:30, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling perfData.cpp (for libjvm.so) Compiling perfMemory.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/gc/shared/partialArrayTaskStepper.hpp:28, from ../../src/hotspot/share/gc/shared/partialArrayTaskStepper.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling perfMemory_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/opto/memnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/ci/ciConstantPoolCache.hpp:28, from ../../src/hotspot/share/ci/ciInstanceKlass.hpp:28, from ../../src/hotspot/share/code/debugInfoRec.hpp:29, from ../../src/hotspot/share/code/pcDesc.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/prims/perf.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/prims/perf.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/jfr/leakprofiler/chains/pathToGcRootsOperation.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/chains/pathToGcRootsOperation.cpp:47: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling phase.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/perfMemory.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling phaseX.cpp (for libjvm.so) Compiling plab.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/perfData.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/perfData.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/os/posix/perfMemory_posix.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/os/posix/perfMemory_posix.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling placeholders.cpp (for libjvm.so) Compiling postaloc.cpp (for libjvm.so) Compiling preserveException.cpp (for libjvm.so) Compiling preservedMarks.cpp (for libjvm.so) Compiling pretouchTask.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/movenode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling printCLDMetaspaceInfoClosure.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/plab.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/shared/plab.inline.hpp:30, from ../../src/hotspot/share/gc/shared/plab.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling printMetaspaceInfoKlassClosure.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/classfile/placeholders.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/preservedMarks.hpp:30, from ../../src/hotspot/share/gc/shared/preservedMarks.inline.hpp:28, from ../../src/hotspot/share/gc/shared/preservedMarks.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/preservedMarks.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/slidingForwarding.inline.hpp:31, from ../../src/hotspot/share/gc/shared/preservedMarks.inline.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/utilities/preserveException.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/pretouchTask.hpp:28, from ../../src/hotspot/share/gc/shared/pretouchTask.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling protectionDomainCache.cpp (for libjvm.so) Compiling psAdaptiveSizePolicy.cpp (for libjvm.so) Compiling psCardTable.cpp (for libjvm.so) Compiling psCompactionManager.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:28, from ../../src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling psGCAdaptivePolicyCounters.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/memory/metaspace/printMetaspaceInfoKlassClosure.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling psGenerationCounters.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp:28, from ../../src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/mulnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling psMemoryPool.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/objectStartArray.inline.hpp:28, from ../../src/hotspot/share/gc/parallel/psCardTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/psVirtualspace.hpp:28, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/continuationGCSupport.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psParallelCompact.inline.hpp:33, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.inline.hpp:30, from ../../src/hotspot/share/gc/parallel/psCardTable.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/gc/parallel/psGCAdaptivePolicyCounters.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling psOldGen.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/parallel/psMemoryPool.hpp:28, from ../../src/hotspot/share/gc/parallel/psMemoryPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/parallel/psGenerationCounters.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/classfile/protectionDomainCache.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/protectionDomainCache.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling psParallelCompact.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/psCompactionManager.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/psVirtualspace.hpp:28, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psCompactionManager.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/opto/library_call.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/ci/ciUtilities.inline.hpp:30, from ../../src/hotspot/share/opto/library_call.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/objectStartArray.inline.hpp:28, from ../../src/hotspot/share/gc/parallel/psOldGen.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/psVirtualspace.hpp:28, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psOldGen.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/connode.hpp:28, from ../../src/hotspot/share/opto/callnode.hpp:28, from ../../src/hotspot/share/opto/multnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling psPromotionLAB.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/macroAssembler_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/cpu/riscv/macroAssembler_riscv.cpp:43: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling psPromotionManager.cpp (for libjvm.so) Compiling psScavenge.cpp (for libjvm.so) Compiling psVMOperations.cpp (for libjvm.so) Compiling psVirtualspace.cpp (for libjvm.so) Compiling psYoungGen.cpp (for libjvm.so) Compiling ptrQueue.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/arraycopynode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/modRefBarrierSetC2.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling recordComponent.cpp (for libjvm.so) Compiling referencePolicy.cpp (for libjvm.so) Compiling referenceProcessor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/parallel/psPromotionLAB.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psPromotionLAB.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling referenceProcessorPhaseTimes.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/parallel/psParallelCompact.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psParallelCompact.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/parallel/psParallelCompact.cpp:87: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:31, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp:28, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.inline.hpp:28, from ../../src/hotspot/share/gc/parallel/psVMOperations.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/psVirtualspace.hpp:28, from ../../src/hotspot/share/gc/parallel/objectStartArray.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/continuationGCSupport.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psParallelCompact.inline.hpp:33, from ../../src/hotspot/share/gc/parallel/parallelScavengeHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/ptrQueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/parallel/psPromotionManager.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling reflection.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/shared/referencePolicy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/parallel/mutableNUMASpace.hpp:28, from ../../src/hotspot/share/gc/parallel/psYoungGen.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psYoungGen.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/narrowptrnode.hpp:28, from ../../src/hotspot/share/opto/narrowptrnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/oops/recordComponent.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling reflectionUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/parallel/psScavenge.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/parallel/psPromotionLAB.inline.hpp:30, from ../../src/hotspot/share/gc/parallel/psPromotionManager.inline.hpp:33, from ../../src/hotspot/share/gc/parallel/psClosure.inline.hpp:30, from ../../src/hotspot/share/gc/parallel/psScavenge.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling reg_split.cpp (for libjvm.so) Compiling regalloc.cpp (for libjvm.so) Compiling register.cpp (for libjvm.so) Compiling registerMap_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/referenceProcessor.hpp:31, from ../../src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.hpp:28, from ../../src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling register_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/shared/referenceProcessor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling regmask.cpp (for libjvm.so) Compiling relocInfo.cpp (for libjvm.so) Compiling relocInfo_riscv.cpp (for libjvm.so) Compiling relocator.cpp (for libjvm.so) Compiling replacednodes.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/reflectionUtils.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/oops/instanceKlass.inline.hpp:35, from ../../src/hotspot/share/runtime/reflectionUtils.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling resolutionErrors.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/reflection.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/instanceOop.hpp:28, from ../../src/hotspot/share/oops/stackChunkOop.hpp:29, from ../../src/hotspot/share/runtime/registerMap.hpp:29, from ../../src/hotspot/cpu/riscv/registerMap_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling resolvedIndyEntry.cpp (for libjvm.so) Compiling resolvedMethodTable.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/relocInfo_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/relocInfo_riscv.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling resourceArea.cpp (for libjvm.so) Compiling rewriter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/code/relocInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/code/relocInfo.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling riscv_flush_icache.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.hpp:29, from ../../src/hotspot/share/classfile/verificationType.hpp:28, from ../../src/hotspot/share/classfile/stackMapTableFormat.hpp:28, from ../../src/hotspot/share/runtime/relocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/relocator.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/arrayOop.hpp:28, from ../../src/hotspot/share/oops/constantPool.hpp:29, from ../../src/hotspot/share/classfile/resolutionErrors.hpp:28, from ../../src/hotspot/share/classfile/resolutionErrors.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/oops/constantPool.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/classfile/resolutionErrors.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/interpreter/invocationCounter.hpp:28, from ../../src/hotspot/share/oops/method.hpp:30, from ../../src/hotspot/share/oops/resolvedIndyEntry.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling riscv_hwprobe.cpp (for libjvm.so) Compiling rootChunkArea.cpp (for libjvm.so) Compiling rootResolver.cpp (for libjvm.so) Compiling rootSetClosure.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/interpreter/rewriter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling rootType.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/prims/resolvedMethodTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/prims/resolvedMethodTable.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling rootnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/rootChunkArea.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os_cpu/linux_riscv/riscv_flush_icache.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os_cpu/linux_riscv/riscv_hwprobe.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/memory/resourceArea.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling rtmLocking.cpp (for libjvm.so) Compiling runTimeClassInfo.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/utilities/rootType.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling runningCounters.cpp (for libjvm.so) Compiling runtime.cpp (for libjvm.so) Compiling runtimeService.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/chains/rootSetClosure.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOopRef.inline.hpp:30, from ../../src/hotspot/share/jfr/leakprofiler/chains/rootSetClosure.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling safefetch_linux_riscv.S (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/opto/opaquenode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling safefetch_sigjmp.cpp (for libjvm.so) Compiling safefetch_static_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/runTimeClassInfo.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/chunkManager.hpp:31, from ../../src/hotspot/share/memory/metaspace/runningCounters.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling safepoint.cpp (for libjvm.so) Compiling safepointMechanism.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/services/runtimeService.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling safepointVerifiers.cpp (for libjvm.so) Compiling sampleList.cpp (for libjvm.so) Compiling samplePriorityQueue.cpp (for libjvm.so) Compiling satbMarkQueue.cpp (for libjvm.so) Compiling scavengableNMethods.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/runtime/safepoint.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/safepoint.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/safepoint.cpp:71: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/compiler/oopMap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/compiler/oopMap.inline.hpp:31, from ../../src/hotspot/share/compiler/oopMap.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/runtime/safepointVerifiers.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling scopeDesc.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/safepointMechanism.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/safepointMechanism.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/samplePriorityQueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/sampling/samplePriorityQueue.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling scopedMemoryAccess.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp:29, from ../../src/hotspot/share/jfr/leakprofiler/sampling/sampleList.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/jfr/utilities/jfrAllocation.hpp:28, from ../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/jfr/leakprofiler/sampling/sampleList.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/node.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/node.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/satbMarkQueue.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/gc/shared/scavengableNMethods.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/code/scopeDesc.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/opto/phase.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling semaphore_posix.cpp (for libjvm.so) Compiling serialArguments.cpp (for libjvm.so) Compiling serialBlockOffsetTable.cpp (for libjvm.so) Compiling serialHeap.cpp (for libjvm.so) Compiling serialStringDedup.cpp (for libjvm.so) Compiling serviceThread.cpp (for libjvm.so) Compiling sharedRuntime.cpp (for libjvm.so) Compiling sharedRuntimeTrans.cpp (for libjvm.so) Compiling sharedRuntimeTrig.cpp (for libjvm.so) Compiling sharedRuntime_riscv.cpp (for libjvm.so) Compiling shenandoahAdaptiveHeuristics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/space.hpp:30, from ../../src/hotspot/share/gc/serial/cSpaceCounters.hpp:29, from ../../src/hotspot/share/gc/serial/defNewGeneration.hpp:28, from ../../src/hotspot/share/gc/serial/serialHeap.hpp:28, from ../../src/hotspot/share/gc/serial/serialArguments.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/space.hpp:30, from ../../src/hotspot/share/gc/serial/cSpaceCounters.hpp:29, from ../../src/hotspot/share/gc/serial/defNewGeneration.hpp:28, from ../../src/hotspot/share/gc/serial/defNewGeneration.inline.hpp:28, from ../../src/hotspot/share/gc/serial/serialHeap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/memory/virtualspace.hpp:28, from ../../src/hotspot/share/gc/shared/generationCounters.hpp:28, from ../../src/hotspot/share/gc/serial/cSpaceCounters.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/serial/defNewGeneration.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/space.hpp:30, from ../../src/hotspot/share/gc/serial/serialBlockOffsetTable.inline.hpp:30, from ../../src/hotspot/share/gc/serial/serialBlockOffsetTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/blockOffsetTable.hpp:29, from ../../src/hotspot/share/gc/serial/serialBlockOffsetTable.hpp:28, from ../../src/hotspot/share/gc/serial/serialBlockOffsetTable.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/serial/serialBlockOffsetTable.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/prims/scopedMemoryAccess.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/prims/scopedMemoryAccess.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:28, from ../../src/hotspot/share/runtime/serviceThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderDataGraph.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/space.hpp:30, from ../../src/hotspot/share/gc/serial/cSpaceCounters.hpp:29, from ../../src/hotspot/share/gc/serial/defNewGeneration.hpp:28, from ../../src/hotspot/share/gc/serial/serialStringDedup.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/memory/virtualspace.hpp:28, from ../../src/hotspot/share/gc/shared/generationCounters.hpp:28, from ../../src/hotspot/share/gc/serial/cSpaceCounters.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/serial/serialStringDedup.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahAggressiveHeuristics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/sharedRuntime.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/sharedRuntime.cpp:77: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/parse3.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/runtime/handles.inline.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:33, from ../../src/hotspot/share/runtime/sharedRuntimeTrans.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:31: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahArguments.cpp (for libjvm.so) Compiling shenandoahAsserts.cpp (for libjvm.so) Compiling shenandoahBarrierSet.cpp (for libjvm.so) Compiling shenandoahBarrierSetAssembler_riscv.cpp (for libjvm.so) Compiling shenandoahBarrierSetC1.cpp (for libjvm.so) Compiling shenandoahBarrierSetC1_riscv.cpp (for libjvm.so) Compiling shenandoahBarrierSetC2.cpp (for libjvm.so) Compiling shenandoahBarrierSetNMethod.cpp (for libjvm.so) Compiling shenandoahBarrierSetStackChunk.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/runtime/handles.inline.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:33, from ../../src/hotspot/share/runtime/sharedRuntimeTrig.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:31: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/assembler.inline.hpp:28, from ../../src/hotspot/share/opto/output.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/cfgnode.hpp:28, from ../../src/hotspot/share/opto/loopnode.hpp:28, from ../../src/hotspot/share/gc/shared/c2/barrierSetC2.hpp:30, from ../../src/hotspot/share/opto/phaseX.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/opto/phaseX.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling shenandoahBreakpoint.cpp (for libjvm.so) Compiling shenandoahCodeRoots.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp:27, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:27, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSetNMethod.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/barrierSetNMethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSetNMethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSetNMethod.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcArguments.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:29, from ../../src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahAggressiveHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahAggressiveHeuristics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/c1/c1_FrameMap.hpp:28, from ../../src/hotspot/share/c1/c1_CodeStubs.hpp:28, from ../../src/hotspot/share/c1/c1_LIRAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shenandoah/c1/shenandoahBarrierSetC1_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahBreakpoint.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_Instruction.hpp:28, from ../../src/hotspot/share/c1/c1_IR.hpp:28, from ../../src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahCollectionSet.cpp (for libjvm.so) Compiling shenandoahCollectorPolicy.cpp (for libjvm.so) Compiling shenandoahCompactHeuristics.cpp (for libjvm.so) Compiling shenandoahConcurrentGC.cpp (for libjvm.so) Compiling shenandoahConcurrentMark.cpp (for libjvm.so) Compiling shenandoahControlThread.cpp (for libjvm.so) Compiling shenandoahDegeneratedGC.cpp (for libjvm.so) Compiling shenandoahEvacOOMHandler.cpp (for libjvm.so) Compiling shenandoahFreeSet.cpp (for libjvm.so) Compiling shenandoahFullGC.cpp (for libjvm.so) Compiling shenandoahGC.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/postaloc.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciSymbols.hpp:28, from ../../src/hotspot/share/opto/parseHelper.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp:30, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahCompactHeuristics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahCompactHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahCompactHeuristics.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahOopClosures.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/padded.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahPadding.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.hpp:29, from ../../src/hotspot/share/oops/instanceStackChunkKlass.hpp:28, from ../../src/hotspot/share/gc/shared/continuationGCSupport.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/barrierSetNMethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/continuationGCSupport.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp:50: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/tlab_globals.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahHeap.cpp (for libjvm.so) Compiling shenandoahHeapRegion.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/compiler/oopMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/slidingForwarding.inline.hpp:31, from ../../src/hotspot/share/gc/shared/preservedMarks.inline.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp:63: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling shenandoahHeapRegionCounters.cpp (for libjvm.so) Compiling shenandoahHeapRegionSet.cpp (for libjvm.so) Compiling shenandoahHeuristics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/utilities/jfrRefCountPointer.hpp:29, from ../../src/hotspot/share/jfr/utilities/jfrBlob.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadLocal.hpp:28, from ../../src/hotspot/share/jfr/support/jfrThreadId.hpp:32, from ../../src/hotspot/share/gc/shared/copyFailedInfo.hpp:28, from ../../src/hotspot/share/gc/shared/gcTrace.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/perfData.hpp:28, from ../../src/hotspot/share/gc/shared/collectorCounters.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahOopClosures.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp:43: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling shenandoahIUMode.cpp (for libjvm.so) Compiling shenandoahInitLogger.cpp (for libjvm.so) Compiling shenandoahJfrSupport.cpp (for libjvm.so) Compiling shenandoahLock.cpp (for libjvm.so) Compiling shenandoahMark.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahMarkBitMap.cpp (for libjvm.so) Compiling shenandoahMarkingContext.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionCounters.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahMemoryPool.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/gc/shenandoah/shenandoahGC.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/compiler/oopMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahGC.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/space.hpp:30, from ../../src/hotspot/share/gc/shared/space.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/blockOffsetTable.hpp:29, from ../../src/hotspot/share/gc/shared/space.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/mode/shenandoahIUMode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahInitLogger.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahJfrSupport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahLock.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahLock.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling shenandoahMetrics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/parse1.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahMarkBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahMarkBitMap.inline.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMarkBitMap.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahMarkBitMap.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahMarkBitMap.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahMonitoringSupport.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahMarkingContext.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/markBitMap.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp:40: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp:91: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling shenandoahNMethod.cpp (for libjvm.so) Compiling shenandoahNumberSeq.cpp (for libjvm.so) Compiling shenandoahPacer.cpp (for libjvm.so) Compiling shenandoahParallelCleaning.cpp (for libjvm.so) Compiling shenandoahPassiveHeuristics.cpp (for libjvm.so) Compiling shenandoahPassiveMode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMemoryPool.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMemoryPool.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling shenandoahPhaseTimings.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahReferenceProcessor.cpp (for libjvm.so) Compiling shenandoahRootProcessor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMetrics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahMetrics.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahMetrics.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp:27, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:27, from ../../src/hotspot/share/gc/shenandoah/shenandoahParallelCleaning.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp:27, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:27, from ../../src/hotspot/share/gc/shenandoah/shenandoahNMethod.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahRootVerifier.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahMonitoringSupport.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/perfData.hpp:28, from ../../src/hotspot/share/gc/shared/collectorCounters.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahMonitoringSupport.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahRuntime.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeapRegionSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahSATBMarkQueueSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahPassiveHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahPassiveHeuristics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahSATBMode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/workerDataArray.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/workerDataArray.hpp:28, from ../../src/hotspot/share/gc/shared/workerDataArray.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahPassiveHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/mode/shenandoahPassiveMode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahSTWMark.cpp (for libjvm.so) Compiling shenandoahStackWatermark.cpp (for libjvm.so) Compiling shenandoahStaticHeuristics.cpp (for libjvm.so) Compiling shenandoahSupport.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahReferenceProcessor.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahOopClosures.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahOopClosures.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahReferenceProcessor.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahTaskqueue.cpp (for libjvm.so) Compiling shenandoahUnload.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/mode/shenandoahSATBMode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling shenandoahVMOperations.cpp (for libjvm.so) Compiling shenandoahVerifier.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/memory/resourceArea.hpp:29, from ../../src/hotspot/share/opto/replacednodes.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/resourceArea.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling shenandoahWorkGroup.cpp (for libjvm.so) Compiling shenandoahWorkerPolicy.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahStackWatermark.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahStackWatermark.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling signals_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shared/taskTerminator.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahSTWMark.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/strongRootsScope.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSTWMark.cpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahSTWMark.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling signature.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahStaticHeuristics.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahStaticHeuristics.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/multnode.hpp:28, from ../../src/hotspot/share/opto/block.hpp:28, from ../../src/hotspot/share/opto/regalloc.hpp:29, from ../../src/hotspot/share/opto/regalloc.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/code/vmreg.hpp:28, from ../../src/hotspot/share/opto/regalloc.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahTaskqueue.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahWorkerPolicy.cpp:30: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling singleWriterSynchronizer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahWorkGroup.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/markBitMap.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/klass.hpp:32, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahUtils.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/oops/klass.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling slidingForwarding.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shared/taskTerminator.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahVMOperations.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedup.hpp:103, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahOopClosures.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahMark.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahUnload.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahNMethod.inline.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahUnload.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling softRefGenPolicy.cpp (for libjvm.so) Compiling softRefPolicy.cpp (for libjvm.so) Compiling space.cpp (for libjvm.so) Compiling spaceCounters.cpp (for libjvm.so) Compiling spaceDecorator.cpp (for libjvm.so) Compiling spinYield.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/tlab_globals.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling split_if.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/os/posix/signals_posix.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/os/posix/signals_posix.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/os/posix/signals_posix.cpp:45: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/rootnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethodData.hpp:29, from ../../src/hotspot/share/opto/parse2.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/opto/parse2.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling stackChunkFrameStream.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/singleWriterSynchronizer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling stackChunkOop.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/parallel/spaceCounters.hpp:28, from ../../src/hotspot/share/gc/parallel/spaceCounters.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling stackFrameStream.cpp (for libjvm.so) Compiling stackMapFrame.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:31, from ../../src/hotspot/share/gc/shared/spaceDecorator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/parallel/mutableSpace.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/shared/spaceDecorator.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/genCollectedHeap.hpp:28, from ../../src/hotspot/share/gc/shared/softRefGenPolicy.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling stackMapTable.cpp (for libjvm.so) Compiling stackOverflow.cpp (for libjvm.so) Compiling stackValue.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/runtime/signature.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/runtime/signature.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/gc/shared/space.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling stackValueCollection.cpp (for libjvm.so) Compiling stackWatermark.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/code/codeCache.inline.hpp:28, from ../../src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp:29, from ../../src/hotspot/share/runtime/stackChunkFrameStream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/stackChunkFrameStream.hpp:28, from ../../src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling stackWatermarkSet.cpp (for libjvm.so) Compiling stackwalk.cpp (for libjvm.so) Compiling statSampler.cpp (for libjvm.so) Compiling stringDedup.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/stackOverflow.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling stringDedupConfig.cpp (for libjvm.so) Compiling stringDedupProcessor.cpp (for libjvm.so) Compiling stringDedupStat.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/runtime/frame.hpp:29, from ../../src/hotspot/share/runtime/stackFrameStream.hpp:29, from ../../src/hotspot/share/runtime/stackFrameStream.inline.hpp:28, from ../../src/hotspot/share/runtime/stackFrameStream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/stackFrameStream.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/stackFrameStream.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.hpp:29, from ../../src/hotspot/share/classfile/verificationType.hpp:28, from ../../src/hotspot/share/classfile/stackMapFrame.hpp:28, from ../../src/hotspot/share/classfile/stackMapFrame.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/stackMapFrame.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/oops/annotations.hpp:28, from ../../src/hotspot/share/oops/instanceKlass.hpp:29, from ../../src/hotspot/share/classfile/verificationType.hpp:28, from ../../src/hotspot/share/classfile/stackMapFrame.hpp:28, from ../../src/hotspot/share/classfile/stackMapTable.hpp:28, from ../../src/hotspot/share/classfile/stackMapTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/atomic.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/stackMapTable.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/oops/stackChunkOop.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp:29, from ../../src/hotspot/share/oops/stackChunkOop.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling stringDedupStorageUse.cpp (for libjvm.so) Compiling stringDedupTable.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/location.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:29, from ../../src/hotspot/share/runtime/stackValue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/compressedStream.hpp:28, from ../../src/hotspot/share/code/debugInfo.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/stackValue.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/location.hpp:28, from ../../src/hotspot/share/runtime/stackValue.hpp:28, from ../../src/hotspot/share/runtime/stackValueCollection.hpp:29, from ../../src/hotspot/share/runtime/stackValueCollection.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/stackValueCollection.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupConfig.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/statSampler.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/statSampler.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling stringDedupThread.cpp (for libjvm.so) Compiling stringTable.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/stackwalk.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling stringUtils.cpp (for libjvm.so) Compiling stringopts.cpp (for libjvm.so) Compiling strongRootsScope.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/stackWatermark.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/stackWatermark.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedup.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/stackWatermarkSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/stackWatermarkSet.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupProcessor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/reg_split.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupStat.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupStorageUse.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupThread.hpp:29, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupThread.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling stubCodeGenerator.cpp (for libjvm.so) Compiling stubGenerator_riscv.cpp (for libjvm.so) Compiling stubRoutines.cpp (for libjvm.so) Compiling stubRoutines_riscv.cpp (for libjvm.so) Compiling stubs.cpp (for libjvm.so) Compiling subnode.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupTable.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/classfile/altHashing.hpp:30, from ../../src/hotspot/share/gc/shared/stringdedup/stringDedupTable.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling subtypenode.cpp (for libjvm.so) Compiling superword.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/gc/shared/strongRootsScope.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/stringTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/stringTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/classfile/stringTable.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling suspendResume_posix.cpp (for libjvm.so) Compiling suspendedThreadTask.cpp (for libjvm.so) Compiling suspendibleThreadSet.cpp (for libjvm.so) Compiling symbol.cpp (for libjvm.so) Compiling symbolTable.cpp (for libjvm.so) Compiling synchronizer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/runtime/stubCodeGenerator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/stubCodeGenerator.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from ../../src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ../../src/hotspot/share/opto/ad.hpp:31, from ../../src/hotspot/share/opto/regmask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling systemDictionary.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/os/posix/suspendResume_posix.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/suspendibleThreadSet.hpp:29, from ../../src/hotspot/share/gc/shared/suspendibleThreadSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/suspendedThreadTask.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling systemDictionaryShared.cpp (for libjvm.so) In file included from ../../src/hotspot/share/compiler/oopMap.hpp:33, from ../../src/hotspot/share/runtime/frame.hpp:29, from ../../src/hotspot/share/runtime/deoptimization.hpp:30, from ../../src/hotspot/cpu/riscv/stubRoutines_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/interpreter/bytecodes.hpp:29, from ../../src/hotspot/share/runtime/deoptimization.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/cpu/riscv/stubRoutines_riscv.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/oops/symbol.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling systemMemoryBarrier_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/symbolTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/symbolTable.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling tableStatistics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/stubs.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/code/stubs.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling task.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/systemMemoryBarrier_linux.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling taskTerminator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/synchronizer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/synchronizer.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/synchronizer.cpp:63: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31, inlined from 'ThreadBlockInVMPreprocess::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23, inlined from 'ThreadBlockInVM::ThreadBlockInVM(JavaThread*, bool)' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:226:63, inlined from 'static bool ObjectSynchronizer::request_deflate_idle_monitors()' at ../../src/hotspot/share/runtime/synchronizer.cpp:1352:36: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static bool ObjectSynchronizer::request_deflate_idle_monitors()': cc1plus: note: destination object is likely at address zero In member function 'void Atomic::PlatformOrderedStore::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'void Atomic::StoreImpl::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]' at ../../src/hotspot/share/runtime/atomic.hpp:603:17, inlined from 'static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:903:65, inlined from 'void JavaThread::set_thread_state(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:156:24, inlined from 'void JavaThread::set_thread_state_fence(JavaThreadState)' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:163:19, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:214:36, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static bool ObjectSynchronizer::request_deflate_idle_monitors()' at ../../src/hotspot/share/runtime/synchronizer.cpp:1354:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:212:61: warning: 'void __atomic_store_4(volatile void*, unsigned int, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 212 | void operator()(volatile T* p, T v) const { __atomic_store(const_cast(p), &v, __ATOMIC_RELEASE); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static bool ObjectSynchronizer::request_deflate_idle_monitors()': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:216:43, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static bool ObjectSynchronizer::request_deflate_idle_monitors()' at ../../src/hotspot/share/runtime/synchronizer.cpp:1354:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static bool ObjectSynchronizer::request_deflate_idle_monitors()': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:212:5, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static bool ObjectSynchronizer::request_deflate_idle_monitors()' at ../../src/hotspot/share/runtime/synchronizer.cpp:1354:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static bool ObjectSynchronizer::request_deflate_idle_monitors()': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'static bool ObjectSynchronizer::request_deflate_idle_monitors()' at ../../src/hotspot/share/runtime/synchronizer.cpp:1354:5: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static bool ObjectSynchronizer::request_deflate_idle_monitors()': cc1plus: note: destination object is likely at address zero Compiling taskqueue.cpp (for libjvm.so) Compiling templateInterpreter.cpp (for libjvm.so) Compiling templateInterpreterGenerator.cpp (for libjvm.so) Compiling templateInterpreterGenerator_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/tableStatistics.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling templateTable.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/classfile/systemDictionaryShared.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/cds/cdsProtectionDomain.hpp:29, from ../../src/hotspot/share/classfile/systemDictionaryShared.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling templateTable_riscv.cpp (for libjvm.so) Compiling tenuredGeneration.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/runtime/task.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/cds/archiveUtils.hpp:28, from ../../src/hotspot/share/cds/archiveBuilder.hpp:28, from ../../src/hotspot/share/cds/dumpTimeClassInfo.hpp:27, from ../../src/hotspot/share/cds/heapShared.hpp:28, from ../../src/hotspot/share/classfile/systemDictionary.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/classfile/systemDictionary.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/opto/runtime.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/opto/runtime.cpp:50: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling testHelpers.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/stubs.hpp:28, from ../../src/hotspot/share/interpreter/interpreter.hpp:28, from ../../src/hotspot/share/interpreter/templateInterpreter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shared/taskTerminator.hpp:30, from ../../src/hotspot/share/gc/shared/taskTerminator.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/taskqueue.hpp:31, from ../../src/hotspot/share/gc/shared/taskqueue.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/taskqueue.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/taskqueue.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling thread.cpp (for libjvm.so) Compiling threadCrashProtection_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/interpreter/interp_masm.hpp:28, from ../../src/hotspot/share/interpreter/templateTable.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/interpreter/templateTable.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/compiler/disassembler.hpp:30, from ../../src/hotspot/share/interpreter/templateInterpreterGenerator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/disassembler.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling threadCritical_posix.cpp (for libjvm.so) Compiling threadHeapSampler.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:30, from ../../src/hotspot/share/gc/serial/tenuredGeneration.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/cardTable.hpp:28, from ../../src/hotspot/share/gc/serial/cardTableRS.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/space.inline.hpp:33, from ../../src/hotspot/share/gc/serial/tenuredGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/serial/tenuredGeneration.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling threadIdTable.cpp (for libjvm.so) Compiling threadIdentifier.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/metaspace/counters.hpp:29, from ../../src/hotspot/share/memory/metaspace/chunkManager.hpp:31, from ../../src/hotspot/share/memory/metaspace/metaspaceArena.hpp:31, from ../../src/hotspot/share/memory/metaspace/testHelpers.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling threadLocalAllocBuffer.cpp (for libjvm.so) Compiling threadLocalStorage_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/templateTable_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/templateTable_riscv.cpp:40: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling threadSMR.cpp (for libjvm.so) Compiling threadService.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp:28, from ../../src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp:29, from ../../src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp:35: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/os/posix/threadCrashProtection_posix.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling threadStackTracker.cpp (for libjvm.so) Compiling threads.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/threadHeapSampler.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/os/posix/threadCritical_posix.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling ticks.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/threadIdentifier.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling timer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/services/threadIdTable.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/freeListAllocator.hpp:30, from ../../src/hotspot/share/gc/shared/ptrQueue.hpp:28, from ../../src/hotspot/share/gc/shared/satbMarkQueue.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.hpp:29, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSetClone.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/barrierSetNMethod.hpp:28, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:30, from ../../src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:31, from ../../src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/runtime/thread.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/thread.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/services/mallocTracker.hpp:30, from ../../src/hotspot/share/services/threadStackTracker.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/runtime/threadCritical.hpp:28, from ../../src/hotspot/share/services/threadStackTracker.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/threadSMR.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/services/threadService.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/compiler/compilerDefinitions.hpp:29, from ../../src/hotspot/share/compiler/compilerDefinitions.inline.hpp:28, from ../../src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/runtime/threads.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/cds/cds_globals.hpp:28, from ../../src/hotspot/share/runtime/threads.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/threads.cpp:44: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/threads.cpp:100: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling timerTrace.cpp (for libjvm.so) Compiling trimCHeapDCmd.cpp (for libjvm.so) Compiling trimNativeHeap.cpp (for libjvm.so) Compiling type.cpp (for libjvm.so) Compiling typeArrayKlass.cpp (for libjvm.so) Compiling unhandledOops.cpp (for libjvm.so) Compiling universe.cpp (for libjvm.so) Compiling unregisteredClasses.cpp (for libjvm.so) Compiling unsafe.cpp (for libjvm.so) Compiling unsigned5.cpp (for libjvm.so) Compiling upcallLinker.cpp (for libjvm.so) Compiling upcallLinker_riscv.cpp (for libjvm.so) Compiling upcallStubs.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/timerTrace.hpp:28, from ../../src/hotspot/share/runtime/timerTrace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling utf8.cpp (for libjvm.so) Compiling vector.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os/linux/trimCHeapDCmd.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/timer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/timer.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/trimNativeHeap.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/runtime/unhandledOops.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/verifyOption.hpp:28, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:30: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/unhandledOops.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling vectorIntrinsics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.hpp:28, from ../../src/hotspot/share/memory/universe.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/memory/universe.cpp:41: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/classfile/moduleEntry.hpp:32, from ../../src/hotspot/share/oops/typeArrayKlass.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/oops/oopHandle.hpp:28, from ../../src/hotspot/share/classfile/moduleEntry.hpp:29: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ../../src/hotspot/share/oops/typeArrayKlass.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling vectorSupport.cpp (for libjvm.so) Compiling vectornode.cpp (for libjvm.so) Compiling vectset.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/cds/unregisteredClasses.hpp:28, from ../../src/hotspot/share/cds/unregisteredClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/cds/unregisteredClasses.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling verificationType.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/prims/upcallStubs.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/prims/upcallStubs.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/prims/upcallLinker.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/prims/upcallLinker.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling verifier.cpp (for libjvm.so) Compiling vframe.cpp (for libjvm.so) Compiling vframeArray.cpp (for libjvm.so)In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/upcallLinker_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling vframe_hp.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/share/prims/unsafe.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classFileStream.hpp:28, from ../../src/hotspot/share/prims/unsafe.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/unsafe.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/split_if.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/libadt/vectset.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling virtualMemoryTracker.cpp (for libjvm.so) Compiling virtualSpaceList.cpp (for libjvm.so) Compiling virtualSpaceNode.cpp (for libjvm.so) Compiling virtualizationSupport.cpp (for libjvm.so) Compiling virtualspace.cpp (for libjvm.so) Compiling vmClasses.cpp (for libjvm.so) Compiling vmError.cpp (for libjvm.so) Compiling vmError_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/vframe.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/systemDictionary.hpp:29, from ../../src/hotspot/share/classfile/verificationType.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/classfile/verificationType.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/classfile/verificationType.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/classLoader.hpp:29, from ../../src/hotspot/share/classfile/verifier.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classFileStream.hpp:28, from ../../src/hotspot/share/classfile/verifier.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/oops/cpCache.inline.hpp:30, from ../../src/hotspot/share/oops/constantPool.inline.hpp:30, from ../../src/hotspot/share/classfile/verifier.cpp:45: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/services/virtualMemoryTracker.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/virtualspace.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/logging/logPrefix.hpp:27, from ../../src/hotspot/share/logging/log.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/memory/virtualspace.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/memory/metaspace/virtualSpaceList.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.hpp:28, from ../../src/hotspot/share/classfile/vmClasses.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/utilities/vmError.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/utilities/vmError.cpp:46: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/vmError.cpp:65: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling vmIntrinsics.cpp (for libjvm.so) Compiling vmOperations.cpp (for libjvm.so) Compiling vmStructs.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling vmStructs_jvmci.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/os/posix/vmError_posix.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling vmStructs_x.cpp (for libjvm.so) Compiling vmStructs_z.cpp (for libjvm.so) Compiling vmSymbols.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmIntrinsics.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling vmThread.cpp (for libjvm.so) Compiling vm_version.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/runtime/vmOperations.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/runtime/vmOperations.cpp:42: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling vm_version_linux_riscv.cpp (for libjvm.so) Compiling vm_version_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/x/xCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/x/vmStructs_x.hpp:28, from ../../src/hotspot/share/gc/x/vmStructs_x.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xAttachedArray.hpp:27, from ../../src/hotspot/share/gc/x/vmStructs_x.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling vmreg.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/jvmci/vmStructs_jvmci.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/z/zCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/z/vmStructs_z.hpp:28, from ../../src/hotspot/share/gc/z/vmStructs_z.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAttachedArray.hpp:27, from ../../src/hotspot/share/gc/z/vmStructs_z.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling vmreg_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciArrayKlass.hpp:28, from ../../src/hotspot/share/ci/ciArray.hpp:28, from ../../src/hotspot/share/ci/compilerInterface.hpp:28, from ../../src/hotspot/share/compiler/compileBroker.hpp:28, from ../../src/hotspot/share/runtime/vmThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/runtime/vmThread.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/vmThread.cpp:51: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/os/posix/os_posix.inline.hpp:30, from ../../src/hotspot/os/linux/os_linux.inline.hpp:31, from ../../src/hotspot/share/runtime/os.inline.hpp:30, from ../../src/hotspot/cpu/riscv/vm_version_riscv.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/code/vmreg.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/runtime/vm_version.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/symbolTable.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.cpp:26: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/vmSymbols.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling vmstorage.cpp (for libjvm.so) Compiling vtableStubs.cpp (for libjvm.so) Compiling vtableStubs_riscv.cpp (for libjvm.so) Compiling waitBarrier_generic.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/cpu/riscv/vmreg_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling waitBarrier_linux.cpp (for libjvm.so) Compiling weakHandle.cpp (for libjvm.so) Compiling weakProcessor.cpp (for libjvm.so) Compiling weakProcessorTimes.cpp (for libjvm.so) Compiling whitebox.cpp (for libjvm.so) Compiling workerDataArray.cpp (for libjvm.so) Compiling workerPolicy.cpp (for libjvm.so) Compiling workerThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/os/linux/waitBarrier_linux.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/waitBarrier_generic.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:29, from ../../src/hotspot/share/oops/weakHandle.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/weakHandle.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/shared/workerDataArray.inline.hpp:30, from ../../src/hotspot/share/gc/shared/workerDataArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/shared/oopStorage.hpp:29, from ../../src/hotspot/share/gc/shared/weakProcessorTimes.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling workerUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/workerPolicy.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciSymbols.hpp:28, from ../../src/hotspot/share/opto/stringopts.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/cds/archiveHeapLoader.hpp:28, from ../../src/hotspot/share/prims/whitebox.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/prims/whitebox.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp:29, from ../../src/hotspot/share/gc/g1/g1OopStarChunkedList.inline.hpp:28, from ../../src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:32, from ../../src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:33, from ../../src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:32, from ../../src/hotspot/share/prims/whitebox.cpp:104: ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 47 | ChunkedList() : _top(_values), _next_used(nullptr), _next_free(nullptr) {} | ^ ../../src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/atomic.hpp:859: In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = unsigned int; long unsigned int byte_size = 4]', inlined from 'T Atomic::LoadImpl::value, void>::type>::operator()(const volatile T*) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedLoad<4, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:534:34, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = JavaThreadState]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'JavaThreadState JavaThread::thread_state() const' at ../../src/hotspot/share/runtime/javaThread.inline.hpp:144:30, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:212:5, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'void WB_CheckThreadObjOfTerminatingThread(JNIEnv*, jobject, jobject)' at ../../src/hotspot/share/prims/whitebox.cpp:2479:3: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void WB_CheckThreadObjOfTerminatingThread(JNIEnv*, jobject, jobject)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static bool SafepointMechanism::should_process(JavaThread*, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:60:24, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:216:43, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'void WB_CheckThreadObjOfTerminatingThread(JNIEnv*, jobject, jobject)' at ../../src/hotspot/share/prims/whitebox.cpp:2479:3: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void WB_CheckThreadObjOfTerminatingThread(JNIEnv*, jobject, jobject)': cc1plus: note: destination object is likely at address zero In member function 'T Atomic::PlatformOrderedLoad::operator()(const volatile T*) const [with T = long unsigned int; long unsigned int byte_size = 8]', inlined from 'T Atomic::LoadImpl::value || std::is_pointer<_Tp>::value), void>::type>::operator()(const volatile T*) const [with T = long unsigned int; PlatformOp = Atomic::PlatformOrderedLoad<8, X_ACQUIRE>]' at ../../src/hotspot/share/runtime/atomic.hpp:513:24, inlined from 'static T Atomic::load_acquire(const volatile T*) [with T = long unsigned int]' at ../../src/hotspot/share/runtime/atomic.hpp:884:67, inlined from 'uintptr_t SafepointMechanism::ThreadData::get_polling_word()' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:48:30, inlined from 'static bool SafepointMechanism::local_poll_armed(JavaThread*)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:52:47, inlined from 'static void SafepointMechanism::process_if_requested(JavaThread*, bool, bool)' at ../../src/hotspot/share/runtime/safepointMechanism.inline.hpp:82:23, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:218:47, inlined from 'ThreadBlockInVMPreprocess::~ThreadBlockInVMPreprocess() [with PRE_PROC = void(JavaThread*)]' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:211:3, inlined from 'ThreadBlockInVM::~ThreadBlockInVM()' at ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:223:7, inlined from 'void WB_CheckThreadObjOfTerminatingThread(JNIEnv*, jobject, jobject)' at ../../src/hotspot/share/prims/whitebox.cpp:2479:3: ../../src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp:205:66: warning: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 205 | T operator()(const volatile T* p) const { T data; __atomic_load(const_cast(p), &data, __ATOMIC_ACQUIRE); return data; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void WB_CheckThreadObjOfTerminatingThread(JNIEnv*, jobject, jobject)': cc1plus: note: destination object is likely at address zero Compiling writeableFlags.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/subnode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling xAbort.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/runtime/stubRoutines.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/runtime/stubRoutines.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/shared/workerThread.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/shared/workerUtils.hpp:31, from ../../src/hotspot/share/gc/shared/workerUtils.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/classfile/stringTable.hpp:30, from ../../src/hotspot/share/gc/shared/weakProcessor.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/stringTable.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/shared/oopStorageSetParState.inline.hpp:33, from ../../src/hotspot/share/gc/shared/weakProcessor.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/services/writeableFlags.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/stubGenerator_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/cpu/riscv/stubGenerator_riscv.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/x/xAbort.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xAddress.cpp (for libjvm.so) Compiling xAddressSpaceLimit.cpp (for libjvm.so) Compiling xArguments.cpp (for libjvm.so) Compiling xArguments_posix.cpp (for libjvm.so) Compiling xBarrier.cpp (for libjvm.so) Compiling xBarrierSet.cpp (for libjvm.so) Compiling xBarrierSetAssembler.cpp (for libjvm.so) Compiling xBarrierSetAssembler_riscv.cpp (for libjvm.so) Compiling xBarrierSetC1.cpp (for libjvm.so) Compiling xBarrierSetC2.cpp (for libjvm.so) Compiling xBarrierSetNMethod.cpp (for libjvm.so) Compiling xBarrierSetRuntime.cpp (for libjvm.so) Compiling xBarrierSetStackChunk.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/utilities/xmlstream.hpp:28, from ../../src/hotspot/share/compiler/compileLog.hpp:28, from ../../src/hotspot/share/opto/superword.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/x/xCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/x/xArguments.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xAddressSpaceLimit.hpp:28, from ../../src/hotspot/share/gc/x/xArguments.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/x/xBarrierSetNMethod.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/x/xBarrier.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xBarrier.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xBreakpoint.cpp (for libjvm.so) Compiling xCPU.cpp (for libjvm.so) Compiling xCollectedHeap.cpp (for libjvm.so) Compiling xDirector.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/x/xBarrier.hpp:29, from ../../src/hotspot/share/gc/x/xBarrier.inline.hpp:27, from ../../src/hotspot/share/gc/x/xBarrierSetStackChunk.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/gc/x/xBarrier.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling xDriver.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/x/xBarrier.hpp:29, from ../../src/hotspot/share/gc/x/xBarrier.inline.hpp:27, from ../../src/hotspot/share/gc/x/xBarrierSetRuntime.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/gc/x/xBarrier.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/gc/x/xBarrierSetRuntime.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xCPU.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xErrno.cpp (for libjvm.so)In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/gc/x/xBreakpoint.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xForwarding.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/x/xCollectedHeap.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/gc/shared/gcLocker.inline.hpp:30, from ../../src/hotspot/share/gc/x/xCollectedHeap.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xForwardingAllocator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/concurrentGCThread.hpp:28, from ../../src/hotspot/share/gc/x/xDirector.hpp:27, from ../../src/hotspot/share/gc/x/xDirector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/x/xDirector.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xDirector.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xGlobals.cpp (for libjvm.so) Compiling xGlobals_riscv.cpp (for libjvm.so) Compiling xHeap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/x/xLock.hpp:28, from ../../src/hotspot/share/gc/x/xForwarding.hpp:29, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:27, from ../../src/hotspot/share/gc/x/xForwarding.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xAddress.hpp:28, from ../../src/hotspot/share/gc/x/xAddress.inline.hpp:27, from ../../src/hotspot/share/gc/x/xForwarding.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/copy.hpp:29, from ../../src/hotspot/share/libadt/vectset.hpp:29, from ../../src/hotspot/share/opto/node.hpp:28, from ../../src/hotspot/share/opto/addnode.hpp:28, from ../../src/hotspot/share/opto/subtypenode.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/libadt/vectset.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling xHeapIterator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/x/xForwardingAllocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xHeuristics.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/shared/gcVMOperations.hpp:28, from ../../src/hotspot/share/gc/x/xDriver.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/gc/x/xDriver.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xDriver.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/cpu/riscv/gc/x/xGlobals_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xInitialize.cpp (for libjvm.so) Compiling xInitialize_posix.cpp (for libjvm.so) Compiling xLargePages.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xLargePages_linux.cpp (for libjvm.so) Compiling xLiveMap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:30, from ../../src/hotspot/share/ci/ciType.hpp:28, from ../../src/hotspot/share/ci/ciKlass.hpp:28, from ../../src/hotspot/share/ci/ciMethodData.hpp:29, from ../../src/hotspot/share/opto/type.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciMetadata.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xHeuristics.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xMark.cpp (for libjvm.so) Compiling xMarkCache.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/concurrentGCThread.hpp:28, from ../../src/hotspot/share/gc/x/xStat.hpp:27, from ../../src/hotspot/share/gc/x/xInitialize.cpp:33: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xMarkStack.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xLargePages.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xMarkStackAllocator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/x/xBitMap.hpp:27, from ../../src/hotspot/share/gc/x/xLiveMap.hpp:27, from ../../src/hotspot/share/gc/x/xPage.hpp:28, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:27, from ../../src/hotspot/share/gc/x/xMarkCache.inline.hpp:29, from ../../src/hotspot/share/gc/x/xMarkCache.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xGlobals.hpp:27, from ../../src/hotspot/share/gc/x/xMarkCache.hpp:27, from ../../src/hotspot/share/gc/x/xMarkCache.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/opto/vectornode.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/allocation.inline.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/x/xArray.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:27, from ../../src/hotspot/share/gc/x/xLiveMap.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xBitField.hpp:29, from ../../src/hotspot/share/gc/x/xAllocationFlags.hpp:27, from ../../src/hotspot/share/gc/x/xHeap.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xMemory.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/x/xMarkStack.inline.hpp:30, from ../../src/hotspot/share/gc/x/xMarkStack.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/x/xMark.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/x/xMark.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xMetronome.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xMarkStackAllocator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xMountPoint_linux.cpp (for libjvm.so) Compiling xNMethod.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/x/xHeapIterator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/taskqueue.inline.hpp:34, from ../../src/hotspot/share/gc/x/xHeapIterator.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xNMethodData.cpp (for libjvm.so) Compiling xNMethodTable.cpp (for libjvm.so) Compiling xNMethodTableIteration.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/x/xLock.hpp:28, from ../../src/hotspot/share/gc/x/xLock.inline.hpp:27, from ../../src/hotspot/share/gc/x/xMemory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/x/xMetronome.hpp:28, from ../../src/hotspot/share/gc/x/xMetronome.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/x/xNMethodTableIteration.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/os/linux/gc/x/xMountPoint_linux.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/x/xNMethodTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/relocInfo.hpp:28, from ../../src/hotspot/share/gc/x/xNMethodTable.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling xNUMA.cpp (for libjvm.so) Compiling xNUMA_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/x/xLock.hpp:28, from ../../src/hotspot/share/gc/x/xLock.inline.hpp:27, from ../../src/hotspot/share/gc/x/xNMethodData.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xObjArrayAllocator.cpp (for libjvm.so) Compiling xObjectAllocator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/x/xNMethod.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/relocInfo.hpp:28, from ../../src/hotspot/share/gc/x/xNMethod.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xNMethod.cpp:44: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xPage.cpp (for libjvm.so) Compiling xPageAllocator.cpp (for libjvm.so) Compiling xPageCache.cpp (for libjvm.so) Compiling xPageTable.cpp (for libjvm.so) Compiling xPhysicalMemory.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xNUMA.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xPhysicalMemoryBacking_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciSymbols.hpp:28, from ../../src/hotspot/share/opto/vectorIntrinsics.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciSymbols.hpp:28, from ../../src/hotspot/share/opto/vector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/ci/ciBaseObject.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling xReferenceProcessor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/x/xBitMap.hpp:27, from ../../src/hotspot/share/gc/x/xLiveMap.hpp:27, from ../../src/hotspot/share/gc/x/xPage.hpp:28, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:27, from ../../src/hotspot/share/gc/x/xPage.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/x/xList.hpp:27, from ../../src/hotspot/share/gc/x/xList.inline.hpp:27, from ../../src/hotspot/share/gc/x/xPage.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xPageAllocator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/runtime/semaphore.inline.hpp:30, from ../../src/hotspot/share/gc/x/xFuture.inline.hpp:30, from ../../src/hotspot/share/gc/x/xPageAllocator.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/x/xThreadLocalData.hpp:29, from ../../src/hotspot/share/gc/x/xObjArrayAllocator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xGlobals.hpp:27, from ../../src/hotspot/share/gc/x/xMarkStack.hpp:27, from ../../src/hotspot/share/gc/x/xThreadLocalData.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xObjArrayAllocator.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xArray.hpp:28, from ../../src/hotspot/share/gc/x/xGranuleMap.hpp:27, from ../../src/hotspot/share/gc/x/xGranuleMap.inline.hpp:27, from ../../src/hotspot/share/gc/x/xPageTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xGlobals.hpp:27, from ../../src/hotspot/share/gc/x/xPageTable.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xPageTable.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xRelocate.cpp (for libjvm.so) In file included from ../../src/hotspot/share/gc/x/xArray.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:27, from ../../src/hotspot/share/gc/x/xObjectAllocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xGlobals.hpp:27, from ../../src/hotspot/share/gc/x/xObjectAllocator.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xRelocationSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/x/xBitMap.hpp:27, from ../../src/hotspot/share/gc/x/xLiveMap.hpp:27, from ../../src/hotspot/share/gc/x/xPage.hpp:28, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:27, from ../../src/hotspot/share/gc/x/xPageCache.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xGlobals.hpp:27, from ../../src/hotspot/share/gc/x/xPageCache.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xPhysicalMemory.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling xRelocationSetSelector.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/os/linux/gc/x/xPhysicalMemoryBacking_linux.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xResurrection.cpp (for libjvm.so) Compiling xRootsIterator.cpp (for libjvm.so) Compiling xRuntimeWorkers.cpp (for libjvm.so) Compiling xServiceability.cpp (for libjvm.so) Compiling xStackWatermark.cpp (for libjvm.so) Compiling xStat.cpp (for libjvm.so) Compiling xSyscall_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/share/gc/x/xArray.hpp:28, from ../../src/hotspot/share/gc/x/xArray.inline.hpp:27, from ../../src/hotspot/share/gc/x/xRelocationSet.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/x/xArray.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xRelocationSet.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xTask.cpp (for libjvm.so) Compiling xThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/x/xReferenceProcessor.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xThreadLocalAllocBuffer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/x/xAbort.inline.hpp:29, from ../../src/hotspot/share/gc/x/xRelocate.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/x/xRelocate.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xRelocate.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xArray.hpp:28, from ../../src/hotspot/share/gc/x/xArray.inline.hpp:27, from ../../src/hotspot/share/gc/x/xRelocationSetSelector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/x/xRelocationSetSelector.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xRelocationSetSelector.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xRuntimeWorkers.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/x/xCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/x/xServiceability.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/memory/virtualspace.hpp:28, from ../../src/hotspot/share/gc/shared/generationCounters.hpp:28, from ../../src/hotspot/share/gc/x/xServiceability.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xServiceability.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/x/xRootsIterator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/shared/oopStorageSetParState.inline.hpp:33, from ../../src/hotspot/share/gc/x/xRootsIterator.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/x/xBarrier.hpp:29, from ../../src/hotspot/share/gc/x/xBarrier.inline.hpp:27, from ../../src/hotspot/share/gc/x/xStackWatermark.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/x/xAddress.hpp:28, from ../../src/hotspot/share/gc/x/xStackWatermark.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/stackChunkOop.inline.hpp:36, from ../../src/hotspot/share/runtime/frame.inline.hpp:33, from ../../src/hotspot/share/gc/x/xStackWatermark.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xTracer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/x/xTask.hpp:27, from ../../src/hotspot/share/gc/x/xTask.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/prims/vectorSupport.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/x/xThread.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xUncommitter.cpp (for libjvm.so) Compiling xUnload.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/x/xAbort.inline.hpp:29, from ../../src/hotspot/share/gc/x/xStat.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/x/xStat.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xRelocationSetSelector.inline.hpp:30, from ../../src/hotspot/share/gc/x/xStat.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling xUnmapper.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/x/xResurrection.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xUtils_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/x/xBarrier.hpp:29, from ../../src/hotspot/share/gc/x/xStackWatermark.hpp:30, from ../../src/hotspot/share/gc/x/xThreadLocalAllocBuffer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling xVerify.cpp (for libjvm.so) Compiling xVirtualMemory.cpp (for libjvm.so) Compiling xVirtualMemory_posix.cpp (for libjvm.so) Compiling xWeakRootsProcessor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrThreadExtension.hpp:29, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:33, from ../../src/hotspot/share/classfile/vmIntrinsics.hpp:28, from ../../src/hotspot/share/classfile/vmSymbols.hpp:28, from ../../src/hotspot/share/runtime/vframeArray.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/utilities/exceptions.hpp:28, from ../../src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.hpp:29, from ../../src/hotspot/share/jfr/support/jfrKlassExtension.hpp:28, from ../../src/hotspot/share/jfr/support/jfrIntrinsics.hpp:32: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/vframeArray.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/runtime/vframeArray.cpp:44: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' Compiling xWorkers.cpp (for libjvm.so) Compiling xmlstream.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/concurrentGCThread.hpp:28, from ../../src/hotspot/share/gc/x/xStat.hpp:27, from ../../src/hotspot/share/gc/x/xTracer.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/gc/x/xTracer.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from ../../src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from ../../src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from ../../src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from ../../build/linux-riscv64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from ../../src/hotspot/share/jfr/jfrEvents.hpp:32, from ../../src/hotspot/share/gc/x/xTracer.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zAbort.cpp (for libjvm.so) In file included from ../../src/hotspot/share/gc/x/xArray.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.hpp:28, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:27, from ../../src/hotspot/share/gc/x/xUncommitter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/x/xUncommitter.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zAddress.cpp (for libjvm.so) Compiling zAddressSpaceLimit.cpp (for libjvm.so) Compiling zAddress_riscv.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xVirtualMemory.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xUnmapper.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/x/xUnmapper.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUnmapper.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/x/xLock.hpp:28, from ../../src/hotspot/share/gc/x/xMemory.hpp:28, from ../../src/hotspot/share/gc/x/xVirtualMemory.hpp:27, from ../../src/hotspot/os/posix/gc/x/xVirtualMemory_posix.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/x/xBarrier.hpp:29, from ../../src/hotspot/share/gc/x/xBarrier.inline.hpp:27, from ../../src/hotspot/share/gc/x/xWeakRootsProcessor.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/iterator.hpp:28, from ../../src/hotspot/share/gc/x/xBarrier.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/x/xUnload.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUnload.cpp:38: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/x/xVerify.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xVerify.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zAllocator.cpp (for libjvm.so) Compiling zArguments.cpp (for libjvm.so) Compiling zArguments_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/x/xWorkers.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zAbort.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zAddress.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/utilities/xmlstream.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/utilities/xmlstream.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zBarrier.cpp (for libjvm.so) Compiling zBarrierSet.cpp (for libjvm.so) Compiling zBarrierSetAssembler.cpp (for libjvm.so) Compiling zBarrierSetAssembler_riscv.cpp (for libjvm.so) Compiling zBarrierSetC1.cpp (for libjvm.so) Compiling zBarrierSetC2.cpp (for libjvm.so) Compiling zBarrierSetNMethod.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/z/zCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/z/zArguments.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddressSpaceLimit.hpp:28, from ../../src/hotspot/share/gc/z/zArguments.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zBarrierSetRuntime.cpp (for libjvm.so) Compiling zBarrierSetStackChunk.cpp (for libjvm.so) Compiling zBreakpoint.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/vtableStubs_riscv.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zCPU.cpp (for libjvm.so) Compiling zCollectedHeap.cpp (for libjvm.so) Compiling zContinuation.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/z/zBarrier.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zDirector.cpp (for libjvm.so) Compiling zDriver.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/runtime/mutexLocker.hpp:30, from ../../src/hotspot/share/gc/z/zBreakpoint.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zDriverPort.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/z/zCollectedHeap.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zCollectedHeap.cpp:24: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zContinuation.inline.hpp:31, from ../../src/hotspot/share/gc/z/zCollectedHeap.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zCPU.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zErrno.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:29, from ../../src/hotspot/share/gc/z/zBarrierSetRuntime.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zBarrier.hpp:27, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zForwarding.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/z/zCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/z/zDirector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zDirector.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zDirector.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zForwardingAllocator.cpp (for libjvm.so) Compiling zGCIdPrinter.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zContinuation.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zContinuation.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zGeneration.cpp (for libjvm.so) Compiling zGlobals.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/runtime/vframe_hp.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zAbort.inline.hpp:29, from ../../src/hotspot/share/gc/z/zDriver.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zDriver.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zDriver.cpp:34: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zDriverPort.hpp:29, from ../../src/hotspot/share/gc/z/zDriverPort.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/z/zList.hpp:27, from ../../src/hotspot/share/gc/z/zDriverPort.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/runtime/semaphore.inline.hpp:30, from ../../src/hotspot/share/gc/z/zFuture.inline.hpp:30, from ../../src/hotspot/share/gc/z/zDriverPort.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp:29, from ../../src/hotspot/share/gc/shared/barrierSetAssembler.hpp:30, from ../../src/hotspot/share/gc/x/xBarrierSetAssembler.hpp:27, from ../../src/hotspot/share/gc/x/xBarrierSetAssembler.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zHeap.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/memory/allocation.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingAllocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zForwarding.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/gc/z/zIterator.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/z/zForwarding.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zHeapIterator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/ci/ciObject.hpp:31, from ../../src/hotspot/share/ci/ciObjectFactory.hpp:29, from ../../src/hotspot/share/ci/ciEnv.hpp:29, from ../../src/hotspot/share/c1/c1_Compilation.hpp:28, from ../../src/hotspot/share/c1/c1_ValueType.hpp:28, from ../../src/hotspot/share/c1/c1_LIR.hpp:29, from ../../src/hotspot/share/gc/x/c1/xBarrierSetC1.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/asm/register.hpp:29, from ../../src/hotspot/share/c1/c1_Defs.hpp:28, from ../../src/hotspot/share/c1/c1_LIR.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/z/zHeap.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zHeap.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zHeuristics.cpp (for libjvm.so) Compiling zInitialize.cpp (for libjvm.so) Compiling zInitialize_posix.cpp (for libjvm.so) Compiling zJNICritical.cpp (for libjvm.so) Compiling zLargePages.cpp (for libjvm.so) Compiling zLargePages_linux.cpp (for libjvm.so) Compiling zLiveMap.cpp (for libjvm.so) Compiling zMark.cpp (for libjvm.so) Compiling zMarkCache.cpp (for libjvm.so) Compiling zMarkStack.cpp (for libjvm.so) Compiling zMarkStackAllocator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zHeuristics.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zLargePages.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zDriverPort.hpp:29, from ../../src/hotspot/share/gc/z/zDriver.hpp:28, from ../../src/hotspot/share/gc/z/zInitialize.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/z/zHeapIterator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/shared/taskqueue.inline.hpp:34, from ../../src/hotspot/share/gc/z/zHeapIterator.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zGranuleMap.hpp:28, from ../../src/hotspot/share/gc/z/zForwardingTable.hpp:27, from ../../src/hotspot/share/gc/z/zGeneration.hpp:27, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:27, from ../../src/hotspot/share/gc/z/zLiveMap.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zGranuleMap.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zMarkTerminate.hpp:27, from ../../src/hotspot/share/gc/z/zMarkTerminate.inline.hpp:27, from ../../src/hotspot/share/gc/z/zMarkStack.inline.hpp:29, from ../../src/hotspot/share/gc/z/zMarkStack.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zLock.inline.hpp:27, from ../../src/hotspot/share/gc/z/zJNICritical.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/z/zJNICritical.hpp:27, from ../../src/hotspot/share/gc/z/zJNICritical.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/oops/oopHandle.inline.hpp:30, from ../../src/hotspot/share/runtime/javaThread.inline.hpp:35, from ../../src/hotspot/share/runtime/interfaceSupport.inline.hpp:34, from ../../src/hotspot/share/gc/z/zJNICritical.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zMemory.cpp (for libjvm.so) Compiling zMetronome.cpp (for libjvm.so) Compiling zMountPoint_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/code/vtableStubs.hpp:28, from ../../src/hotspot/share/code/vtableStubs.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from ../../src/hotspot/share/oops/klass.inline.hpp:30, from ../../src/hotspot/share/code/vtableStubs.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/z/zMark.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31, from ../../src/hotspot/share/gc/z/zMark.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zNMT.cpp (for libjvm.so) Compiling zNMethod.cpp (for libjvm.so) Compiling zNMethodData.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/z/zBitMap.hpp:27, from ../../src/hotspot/share/gc/z/zLiveMap.hpp:28, from ../../src/hotspot/share/gc/z/zPage.hpp:29, from ../../src/hotspot/share/gc/z/zPage.inline.hpp:27, from ../../src/hotspot/share/gc/z/zMarkCache.inline.hpp:29, from ../../src/hotspot/share/gc/z/zMarkCache.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGlobals.hpp:27, from ../../src/hotspot/share/gc/z/zMarkCache.hpp:27, from ../../src/hotspot/share/gc/z/zMarkCache.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zPage.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zMarkStackAllocator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zNMethodTable.cpp (for libjvm.so) Compiling zNMethodTableIteration.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zLock.inline.hpp:27, from ../../src/hotspot/share/gc/z/zMemory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zNUMA.cpp (for libjvm.so) Compiling zNUMA_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/os/linux/gc/z/zMountPoint_linux.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/os/linux/gc/z/zMountPoint_linux.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zMetronome.hpp:28, from ../../src/hotspot/share/gc/z/zMetronome.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zNMT.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zLock.inline.hpp:27, from ../../src/hotspot/share/gc/z/zNMethodData.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zObjArrayAllocator.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/z/zNMethodTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/code/relocInfo.hpp:28, from ../../src/hotspot/share/gc/z/zNMethodTable.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zSafeDelete.inline.hpp:29, from ../../src/hotspot/share/gc/z/zNMethodTable.cpp:36: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zNUMA.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zObjectAllocator.cpp (for libjvm.so) Compiling zPage.cpp (for libjvm.so) Compiling zPageAllocator.cpp (for libjvm.so) Compiling zPageCache.cpp (for libjvm.so) Compiling zPageTable.cpp (for libjvm.so) Compiling zPhysicalMemory.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zNMethodTableIteration.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/gc/x/xBarrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zPhysicalMemoryBacking_linux.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/mutex.hpp:29, from ../../src/hotspot/share/gc/z/zLock.hpp:28, from ../../src/hotspot/share/gc/z/zStoreBarrierBuffer.hpp:29, from ../../src/hotspot/share/gc/z/zThreadLocalData.hpp:30, from ../../src/hotspot/share/gc/z/zObjArrayAllocator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zThreadLocalData.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/z/zUtils.inline.hpp:30, from ../../src/hotspot/share/gc/z/zObjArrayAllocator.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/gc/x/c2/xBarrierSetC2.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zReferenceProcessor.cpp (for libjvm.so) Compiling zRelocate.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zGranuleMap.hpp:28, from ../../src/hotspot/share/gc/z/zForwardingTable.hpp:27, from ../../src/hotspot/share/gc/z/zGeneration.hpp:27, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:27, from ../../src/hotspot/share/gc/z/zPage.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zPage.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zRelocationSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zPhysicalMemory.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zPhysicalMemory.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zPageAllocator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zPageAllocator.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zHeap.hpp:29, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:27, from ../../src/hotspot/share/gc/z/zObjectAllocator.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGlobals.hpp:27, from ../../src/hotspot/share/gc/z/zObjectAllocator.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zRelocationSetSelector.cpp (for libjvm.so) Compiling zRemembered.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/utilities/bitMap.hpp:29, from ../../src/hotspot/share/gc/z/zBitMap.hpp:27, from ../../src/hotspot/share/gc/z/zLiveMap.hpp:28, from ../../src/hotspot/share/gc/z/zPage.hpp:29, from ../../src/hotspot/share/gc/z/zPage.inline.hpp:27, from ../../src/hotspot/share/gc/z/zPageCache.cpp:28: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGlobals.hpp:27, from ../../src/hotspot/share/gc/z/zPageCache.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zPage.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zRememberedSet.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zGranuleMap.hpp:28, from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:27, from ../../src/hotspot/share/gc/z/zPageTable.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zPageTable.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zResurrection.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/os/linux/gc/z/zPhysicalMemoryBacking_linux.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/os/linux/gc/z/zPhysicalMemoryBacking_linux.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zRootsIterator.cpp (for libjvm.so) Compiling zRuntimeWorkers.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:30, from ../../src/hotspot/share/classfile/javaClasses.hpp:28, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:28, from ../../src/hotspot/share/gc/z/zReferenceProcessor.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from ../../src/hotspot/share/utilities/enumIterator.hpp:32, from ../../src/hotspot/share/classfile/vmClassID.hpp:29, from ../../src/hotspot/share/classfile/vmClasses.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/classfile/javaClasses.inline.hpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zServiceability.cpp (for libjvm.so) Compiling zSharedArguments.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zArray.inline.hpp:27, from ../../src/hotspot/share/gc/z/zRelocationSetSelector.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zRelocationSetSelector.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ Compiling zStackWatermark.cpp (for libjvm.so) Compiling zStat.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/suspendibleThreadSet.hpp:29, from ../../src/hotspot/share/gc/z/zRelocate.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zRelocate.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zRelocate.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zArray.inline.hpp:27, from ../../src/hotspot/share/gc/z/zRelocationSet.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/z/zArray.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zRemembered.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/gc/z/zIterator.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/z/zRemembered.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zRuntimeWorkers.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zStoreBarrierBuffer.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zRememberedSet.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zRememberedSet.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zResurrection.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zSyscall_linux.cpp (for libjvm.so) Compiling zTask.cpp (for libjvm.so) Compiling zThread.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/array.hpp:28, from ../../src/hotspot/share/memory/universe.hpp:29, from ../../src/hotspot/share/gc/shared/collectedHeap.hpp:33, from ../../src/hotspot/share/gc/z/zCollectedHeap.hpp:27, from ../../src/hotspot/share/gc/z/zServiceability.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/memory/virtualspace.hpp:28, from ../../src/hotspot/share/gc/shared/generationCounters.hpp:28, from ../../src/hotspot/share/gc/z/zServiceability.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zServiceability.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zThreadLocalAllocBuffer.cpp (for libjvm.so) Compiling zTracer.cpp (for libjvm.so) Compiling zUncoloredRoot.cpp (for libjvm.so) Compiling zUncommitter.cpp (for libjvm.so) Compiling zUnload.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:29, from ../../src/hotspot/share/gc/z/zStackWatermark.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zStackWatermark.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp:29, from ../../src/hotspot/share/gc/shared/barrierSetAssembler.hpp:30, from ../../src/hotspot/share/gc/x/xBarrierSetAssembler.hpp:27, from ../../src/hotspot/share/gc/x/xBarrierSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/x/xBarrierSet.hpp:27, from ../../src/hotspot/share/gc/x/xBarrierSet.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/gc/x/xUtils.inline.hpp:30, from ../../src/hotspot/share/gc/x/xLiveMap.inline.hpp:32, from ../../src/hotspot/share/gc/x/xPage.inline.hpp:31, from ../../src/hotspot/share/gc/x/xForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/x/xForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/x/xHeap.inline.hpp:30, from ../../src/hotspot/share/gc/x/xBarrierSet.cpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zUnmapper.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/z/zRootsIterator.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/gc/shared/oopStorageSetParState.inline.hpp:33, from ../../src/hotspot/share/gc/z/zRootsIterator.cpp:26: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/shared/workerThread.hpp:30, from ../../src/hotspot/share/gc/z/zTask.hpp:27, from ../../src/hotspot/share/gc/z/zTask.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zAbort.inline.hpp:29, from ../../src/hotspot/share/gc/z/zStat.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zStat.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zStat.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zStoreBarrierBuffer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zStoreBarrierBuffer.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zStoreBarrierBuffer.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/javaThread.hpp:31, from ../../src/hotspot/share/gc/shared/concurrentGCThread.hpp:28, from ../../src/hotspot/share/gc/z/zThread.hpp:27, from ../../src/hotspot/share/gc/z/zThread.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zUtils.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zThreadLocalAllocBuffer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Compiling zUtils_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zHeap.hpp:29, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:27, from ../../src/hotspot/share/gc/z/zUncommitter.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zUncommitter.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/share/gc/z/zUncoloredRoot.inline.hpp:29, from ../../src/hotspot/share/gc/z/zUncoloredRoot.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zAddress.hpp:28, from ../../src/hotspot/share/gc/z/zUncoloredRoot.hpp:27, from ../../src/hotspot/share/gc/z/zUncoloredRoot.inline.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zUncoloredRoot.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zVerify.cpp (for libjvm.so) Compiling zVirtualMemory.cpp (for libjvm.so) Compiling zVirtualMemory_posix.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/z/zArray.hpp:28, from ../../src/hotspot/share/gc/z/zGranuleMap.hpp:28, from ../../src/hotspot/share/gc/z/zForwardingTable.hpp:27, from ../../src/hotspot/share/gc/z/zGeneration.hpp:27, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:27, from ../../src/hotspot/share/gc/z/zTracer.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/gcId.hpp:28, from ../../src/hotspot/share/gc/z/zTracer.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zWeakRootsProcessor.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/z/zUnload.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zUnload.cpp:32: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling zWorkers.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zVirtualMemory.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/gc/z/zAddress.inline.hpp:30, from ../../src/hotspot/os/posix/gc/z/zVirtualMemory_posix.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/runtime/thread.hpp:33, from ../../src/hotspot/share/runtime/nonJavaThread.hpp:28, from ../../src/hotspot/share/gc/z/zUtils.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zUnmapper.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zUnmapper.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zPage.inline.hpp:30, from ../../src/hotspot/share/gc/z/zUnmapper.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/share/gc/z/zWorkers.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/utilities/align.hpp:30, from ../../src/hotspot/share/runtime/globals_shared.hpp:28, from ../../src/hotspot/share/gc/shared/gc_globals.hpp:28, from ../../src/hotspot/share/gc/z/zWorkers.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zWorkers.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/gc/shared/suspendibleThreadSet.hpp:29, from ../../src/hotspot/share/gc/z/zWeakRootsProcessor.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/shared/suspendibleThreadSet.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zWeakRootsProcessor.cpp:27: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/gc/z/zVerify.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/gc/z/zVerify.cpp:24: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zVerify.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/cds/metaspaceShared.hpp:31, from ../../src/hotspot/share/cds/filemap.hpp:28, from ../../src/hotspot/share/runtime/vmStructs.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/cds/metaspaceShared.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/oops/oop.inline.hpp:31, from ../../src/hotspot/share/runtime/vmStructs.cpp:84: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/logging/logOutputList.hpp:29, from ../../src/hotspot/share/logging/logTagSet.hpp:29, from ../../src/hotspot/share/logging/log.hpp:29, from ../../src/hotspot/share/logging/logHandle.hpp:27, from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:28, from ../../src/hotspot/cpu/riscv/gc/z/zAddress_riscv.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/gc/shared/gcLogPrecious.hpp:27: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp:29, from ../../src/hotspot/share/gc/shared/barrierSetAssembler.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSetAssembler.hpp:27, from ../../src/hotspot/share/gc/z/zBarrierSetAssembler.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/c1/c1_FrameMap.hpp:28, from ../../src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/compiledMethod.hpp:28, from ../../src/hotspot/share/code/nmethod.hpp:28, from ../../src/hotspot/share/gc/z/zBarrierSetNMethod.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSetNMethod.cpp:28: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp:29, from ../../src/hotspot/share/gc/shared/barrierSetAssembler.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSetAssembler.hpp:27, from ../../src/hotspot/share/gc/z/zBarrierSet.cpp:26: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/memRegion.hpp:28, from ../../src/hotspot/share/gc/shared/barrierSet.hpp:29, from ../../src/hotspot/share/gc/z/zBarrierSet.hpp:27, from ../../src/hotspot/share/gc/z/zBarrierSet.cpp:25: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.cpp:29: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/oops/weakHandle.hpp:28, from ../../src/hotspot/share/classfile/classLoaderData.hpp:30, from ../../src/hotspot/share/classfile/classLoaderDataGraph.hpp:28, from ../../src/hotspot/share/gc/z/zGeneration.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/classfile/classLoaderData.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zPageTable.inline.hpp:30, from ../../src/hotspot/share/gc/z/zMark.inline.hpp:34, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:32, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from ../../src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from ../../src/hotspot/share/oops/access.inline.hpp:31, from ../../src/hotspot/share/memory/iterator.inline.hpp:32, from ../../src/hotspot/share/gc/z/zIterator.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwarding.inline.hpp:34, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.cpp:39: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/share/gc/z/zGeneration.cpp:65: ../../src/hotspot/share/utilities/events.hpp:102:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 102 | EventLogBase(const char* name, const char* handle, int length = LogEventsBufferEntries): | ^ ../../src/hotspot/share/utilities/events.hpp:102:18: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/code/codeBlob.hpp:28, from ../../src/hotspot/share/code/codeCache.hpp:28, from ../../src/hotspot/share/gc/z/zNMethod.cpp:25: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zNMethod.cpp:33: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/orderAccess.hpp:29, from ../../src/hotspot/share/runtime/atomic.hpp:31, from ../../src/hotspot/share/oops/oop.hpp:33, from ../../src/hotspot/share/runtime/handles.hpp:29, from ../../src/hotspot/share/code/oopRecorder.hpp:28, from ../../src/hotspot/share/asm/codeBuffer.hpp:28, from ../../src/hotspot/share/asm/assembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.hpp:28, from ../../src/hotspot/share/asm/macroAssembler.inline.hpp:28, from ../../src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.cpp:27: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' In file included from ../../src/hotspot/share/memory/allocation.hpp:30, from ../../src/hotspot/share/memory/arena.hpp:28, from ../../src/hotspot/share/runtime/handles.hpp:28: ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ ../../src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ ../../src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from ../../src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from ../../src/hotspot/share/gc/z/zHeap.inline.hpp:30, from ../../src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from ../../src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from ../../src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.cpp:31: ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ ../../src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' Compiling abstract_vm_version.cpp (for libjvm.so) In file included from ../../src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from ../../src/hotspot/share/runtime/vm_version.hpp:30, from ../../src/hotspot/share/runtime/abstract_vm_version.cpp:29: ../../src/hotspot/share/utilities/growableArray.hpp:121:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 121 | GrowableArrayView(E* data, int capacity, int initial_len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:121:24: note: remove the '< >' ../../src/hotspot/share/utilities/growableArray.hpp:348:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 348 | GrowableArrayFromArray(E* data, int len) : | ^ ../../src/hotspot/share/utilities/growableArray.hpp:348:29: note: remove the '< >' Generating symbol list from object files Creating mapfile Linking libjvm.so Copying jdk/lib/server/libjvm.so ----- Build times ------- Start 2024-08-19 23:34:53 End 2024-08-19 23:35:17 00:00:24 TOTAL ------------------------- Finished building target 'hotspot' in configuration 'linux-riscv64-server-fastdebug'