Today runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java#id2
started to fail; might be associated with recent changes in jdk.
We run into the following error when executing the test :
# Internal Error (/openjdk-jdk-linux_ppc64le-dbg/jdk/src/hotspot/share/nmt/virtualMemoryTracker.cpp:412), pid=54919, tid=54922
# Error: ShouldNotReachHere()
#
stack backtrace is
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x19d9288] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned long, NativeCallStack const&, MEMFLAGS)+0xe58 (virtualMemoryTracker.cpp:412)
V [libjvm.so+0x14cb5a6] os::map_memory(int, char const*, unsigned long, char*, unsigned long, bool, bool, MEMFLAGS)+0x86 (memTracker.hpp:154)
V [libjvm.so+0xc0c452] FileMapInfo::map_heap_region_impl()+0x122 (filemap.cpp:1716)
V [libjvm.so+0xc0c8c0] FileMapInfo::map_heap_region()+0x10 (filemap.cpp:2129)
V [libjvm.so+0xc0cb13] FileMapInfo::map_or_load_heap_region()+0x33 (filemap.cpp:2019)
V [libjvm.so+0x13d6ce5] MetaspaceShared::map_archives(FileMapInfo*, FileMapInfo*, bool)+0x605 (metaspaceShared.cpp:1176)
V [libjvm.so+0x13d70a7] MetaspaceShared::initialize_runtime_shared_and_meta_spaces()+0x2b7 (metaspaceShared.cpp:936)
V [libjvm.so+0x13ccabe] Metaspace::global_initialize()+0x11e (metaspace.cpp:714)
V [libjvm.so+0x19533c4] universe_init()+0x104 (universe.cpp:869)
V [libjvm.so+0xe3ecc3] init_globals()+0x43 (init.cpp:128)
V [libjvm.so+0x1921a77] Threads::create_vm(JavaVMInitArgs*, bool*)+0x2c7 (threads.cpp:553)
V [libjvm.so+0xfb1434] JNI_CreateJavaVM+0x54 (jni.cpp:3580)
C [libjli.so+0x3e1f] JavaMain+0x8f (java.c:1550)
C [libjli.so+0x7c39] ThreadJavaMain+0x9 (java_md.c:651)
The issue was observed so far on Linux aarch64, ppc64le, x86_64 .
started to fail; might be associated with recent changes in jdk.
We run into the following error when executing the test :
# Internal Error (/openjdk-jdk-linux_ppc64le-dbg/jdk/src/hotspot/share/nmt/virtualMemoryTracker.cpp:412), pid=54919, tid=54922
# Error: ShouldNotReachHere()
#
stack backtrace is
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x19d9288] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned long, NativeCallStack const&, MEMFLAGS)+0xe58 (virtualMemoryTracker.cpp:412)
V [libjvm.so+0x14cb5a6] os::map_memory(int, char const*, unsigned long, char*, unsigned long, bool, bool, MEMFLAGS)+0x86 (memTracker.hpp:154)
V [libjvm.so+0xc0c452] FileMapInfo::map_heap_region_impl()+0x122 (filemap.cpp:1716)
V [libjvm.so+0xc0c8c0] FileMapInfo::map_heap_region()+0x10 (filemap.cpp:2129)
V [libjvm.so+0xc0cb13] FileMapInfo::map_or_load_heap_region()+0x33 (filemap.cpp:2019)
V [libjvm.so+0x13d6ce5] MetaspaceShared::map_archives(FileMapInfo*, FileMapInfo*, bool)+0x605 (metaspaceShared.cpp:1176)
V [libjvm.so+0x13d70a7] MetaspaceShared::initialize_runtime_shared_and_meta_spaces()+0x2b7 (metaspaceShared.cpp:936)
V [libjvm.so+0x13ccabe] Metaspace::global_initialize()+0x11e (metaspace.cpp:714)
V [libjvm.so+0x19533c4] universe_init()+0x104 (universe.cpp:869)
V [libjvm.so+0xe3ecc3] init_globals()+0x43 (init.cpp:128)
V [libjvm.so+0x1921a77] Threads::create_vm(JavaVMInitArgs*, bool*)+0x2c7 (threads.cpp:553)
V [libjvm.so+0xfb1434] JNI_CreateJavaVM+0x54 (jni.cpp:3580)
C [libjli.so+0x3e1f] JavaMain+0x8f (java.c:1550)
C [libjli.so+0x7c39] ThreadJavaMain+0x9 (java_md.c:651)
The issue was observed so far on Linux aarch64, ppc64le, x86_64 .
- duplicates
-
JDK-8331540 [BACKOUT] NMT: add/make a mandatory MEMFLAGS argument to family of os::reserve/commit/uncommit memory API
- Resolved
- relates to
-
JDK-8331645 Error: ShouldNotReachHere() in virtualMemoryTracker.cpp
- Closed