I've noticed test jdk/jfr/event/runtime/TestNativeLibrariesEvent.java failing on my system which has /disk mounted from an ssd. The test fails as follows:
#section:main
----------messages:(5/294)----------
command: main jdk.jfr.event.runtime.TestNativeLibrariesEvent
reason: User specified action: run main/othervm jdk.jfr.event.runtime.TestNativeLibrariesEvent
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,java.management
elapsed time (seconds): 3.721
----------configuration:(3/51)----------
Boot Layer
add modules: jdk.jfr java.management
----------System.out:(1344/24598)----------
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847040"
baseAddress = 0x00400000
topAddress = 0x00401000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847040"
baseAddress = 0x00600000
topAddress = 0x00601000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847040"
baseAddress = 0x00601000
topAddress = 0x00602000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0xFFE00000
topAddress = 0xFFE46000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0xFFF00000
topAddress = 0xFFF70000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0x800000000
topAddress = 0x800006000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0x800006000
topAddress = 0x800424000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0x800424000
topAddress = 0x800B28000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0x800B28000
topAddress = 0x800B29000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847463"
baseAddress = 0x800B29000
topAddress = 0x801169000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "/usr/lib/locale/locale-archive"
baseAddress = 0x7F702782E000
topAddress = 0x7F7034000000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847050"
baseAddress = 0x7F704A344000
topAddress = 0x7F704A35A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847050"
baseAddress = 0x7F704A35A000
topAddress = 0x7F704A559000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847050"
baseAddress = 0x7F704A559000
topAddress = 0x7F704A55A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847050"
baseAddress = 0x7F704A55A000
topAddress = 0x7F704A55B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847052"
baseAddress = 0x7F704A55B000
topAddress = 0x7F704A56A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847052"
baseAddress = 0x7F704A56A000
topAddress = 0x7F704A769000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847052"
baseAddress = 0x7F704A769000
topAddress = 0x7F704A76A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.682
name = "25847052"
baseAddress = 0x7F704A76A000
topAddress = 0x7F704A76B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25846993"
baseAddress = 0x7F706B4A2000
topAddress = 0x7F7073BF0000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847063"
baseAddress = 0x7F7073BF0000
topAddress = 0x7F7073BF6000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847063"
baseAddress = 0x7F7073BF6000
topAddress = 0x7F7073DF6000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847063"
baseAddress = 0x7F7073DF6000
topAddress = 0x7F7073DF7000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847063"
baseAddress = 0x7F7073DF7000
topAddress = 0x7F7073DF8000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847059"
baseAddress = 0x7F7073DF8000
topAddress = 0x7F7073DFF000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847059"
baseAddress = 0x7F7073DFF000
topAddress = 0x7F7073FFE000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847059"
baseAddress = 0x7F7073FFE000
topAddress = 0x7F7073FFF000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847059"
baseAddress = 0x7F7073FFF000
topAddress = 0x7F7074000000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078107000
topAddress = 0x7F7078112000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078112000
topAddress = 0x7F7078311000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078311000
topAddress = 0x7F7078312000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078312000
topAddress = 0x7F7078313000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/var/lib/sss/mc/passwd"
baseAddress = 0x7F7078319000
topAddress = 0x7F7078B1E000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078B1E000
topAddress = 0x7F7078B26000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078B26000
topAddress = 0x7F7078D25000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078D25000
topAddress = 0x7F7078D26000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078D26000
topAddress = 0x7F7078D27000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847061"
baseAddress = 0x7F7078D27000
topAddress = 0x7F7078D4B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847061"
baseAddress = 0x7F7078D4B000
topAddress = 0x7F7078F4A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847061"
baseAddress = 0x7F7078F4A000
topAddress = 0x7F7078F4B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847061"
baseAddress = 0x7F7078F4B000
topAddress = 0x7F7078F4D000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847047"
baseAddress = 0x7F7078F4D000
topAddress = 0x7F7078F5B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847047"
baseAddress = 0x7F7078F5B000
topAddress = 0x7F707915A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847047"
baseAddress = 0x7F707915A000
topAddress = 0x7F707915C000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847047"
baseAddress = 0x7F707915C000
topAddress = 0x7F707915D000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F707915D000
topAddress = 0x7F7079174000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F7079174000
topAddress = 0x7F7079373000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F7079373000
topAddress = 0x7F7079374000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F7079374000
topAddress = 0x7F7079375000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079375000
topAddress = 0x7F7079507000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079507000
topAddress = 0x7F7079707000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079707000
topAddress = 0x7F7079708000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079708000
topAddress = 0x7F7079709000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F7079709000
topAddress = 0x7F707988C000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F707988C000
topAddress = 0x7F7079A8C000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F7079A8C000
topAddress = 0x7F7079A96000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F7079A96000
topAddress = 0x7F7079A98000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847057"
baseAddress = 0x7F7079A9C000
topAddress = 0x7F707B920000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847057"
baseAddress = 0x7F707B920000
topAddress = 0x7F707BB20000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847057"
baseAddress = 0x7F707BB20000
topAddress = 0x7F707BC11000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847057"
baseAddress = 0x7F707BC11000
topAddress = 0x7F707BC4F000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707BD29000
topAddress = 0x7F707BEDE000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707BEDE000
topAddress = 0x7F707C0DE000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707C0DE000
topAddress = 0x7F707C0E2000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707C0E2000
topAddress = 0x7F707C0E4000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C0E8000
topAddress = 0x7F707C0EB000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C0EB000
topAddress = 0x7F707C2EA000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C2EA000
topAddress = 0x7F707C2EB000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C2EB000
topAddress = 0x7F707C2EC000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C2EC000
topAddress = 0x7F707C305000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C305000
topAddress = 0x7F707C505000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C505000
topAddress = 0x7F707C506000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C506000
topAddress = 0x7F707C507000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847051"
baseAddress = 0x7F707C50B000
topAddress = 0x7F707C519000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847051"
baseAddress = 0x7F707C519000
topAddress = 0x7F707C718000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847051"
baseAddress = 0x7F707C718000
topAddress = 0x7F707C719000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "25847051"
baseAddress = 0x7F707C719000
topAddress = 0x7F707C71A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libz.so.1.2.11"
baseAddress = 0x7F707C71A000
topAddress = 0x7F707C730000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libz.so.1.2.11"
baseAddress = 0x7F707C730000
topAddress = 0x7F707C92F000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/libz.so.1.2.11"
baseAddress = 0x7F707C92F000
topAddress = 0x7F707C930000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/ld-2.27.so"
baseAddress = 0x7F707C931000
topAddress = 0x7F707C958000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/tmp/hsperfdata_sgehwolf/847605"
baseAddress = 0x7F707CB4C000
topAddress = 0x7F707CB54000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/ld-2.27.so"
baseAddress = 0x7F707CB57000
topAddress = 0x7F707CB58000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.683
name = "/usr/lib64/ld-2.27.so"
baseAddress = 0x7F707CB58000
topAddress = 0x7F707CB59000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847040"
baseAddress = 0x00400000
topAddress = 0x00401000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847040"
baseAddress = 0x00600000
topAddress = 0x00601000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847040"
baseAddress = 0x00601000
topAddress = 0x00602000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0xFFE00000
topAddress = 0xFFE46000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0xFFF00000
topAddress = 0xFFF70000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0x800000000
topAddress = 0x800006000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0x800006000
topAddress = 0x800424000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0x800424000
topAddress = 0x800B28000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0x800B28000
topAddress = 0x800B29000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.695
name = "25847463"
baseAddress = 0x800B29000
topAddress = 0x801169000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib/locale/locale-archive"
baseAddress = 0x7F702782E000
topAddress = 0x7F7034000000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847050"
baseAddress = 0x7F704A344000
topAddress = 0x7F704A35A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847050"
baseAddress = 0x7F704A35A000
topAddress = 0x7F704A559000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847050"
baseAddress = 0x7F704A559000
topAddress = 0x7F704A55A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847050"
baseAddress = 0x7F704A55A000
topAddress = 0x7F704A55B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847052"
baseAddress = 0x7F704A55B000
topAddress = 0x7F704A56A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847052"
baseAddress = 0x7F704A56A000
topAddress = 0x7F704A769000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847052"
baseAddress = 0x7F704A769000
topAddress = 0x7F704A76A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847052"
baseAddress = 0x7F704A76A000
topAddress = 0x7F704A76B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25846993"
baseAddress = 0x7F706B4A2000
topAddress = 0x7F7073BF0000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847063"
baseAddress = 0x7F7073BF0000
topAddress = 0x7F7073BF6000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847063"
baseAddress = 0x7F7073BF6000
topAddress = 0x7F7073DF6000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847063"
baseAddress = 0x7F7073DF6000
topAddress = 0x7F7073DF7000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847063"
baseAddress = 0x7F7073DF7000
topAddress = 0x7F7073DF8000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847059"
baseAddress = 0x7F7073DF8000
topAddress = 0x7F7073DFF000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847059"
baseAddress = 0x7F7073DFF000
topAddress = 0x7F7073FFE000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847059"
baseAddress = 0x7F7073FFE000
topAddress = 0x7F7073FFF000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847059"
baseAddress = 0x7F7073FFF000
topAddress = 0x7F7074000000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078107000
topAddress = 0x7F7078112000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078112000
topAddress = 0x7F7078311000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078311000
topAddress = 0x7F7078312000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_files-2.27.so"
baseAddress = 0x7F7078312000
topAddress = 0x7F7078313000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/var/lib/sss/mc/passwd"
baseAddress = 0x7F7078319000
topAddress = 0x7F7078B1E000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078B1E000
topAddress = 0x7F7078B26000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078B26000
topAddress = 0x7F7078D25000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078D25000
topAddress = 0x7F7078D26000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libnss_sss.so.2"
baseAddress = 0x7F7078D26000
topAddress = 0x7F7078D27000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847061"
baseAddress = 0x7F7078D27000
topAddress = 0x7F7078D4B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847061"
baseAddress = 0x7F7078D4B000
topAddress = 0x7F7078F4A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847061"
baseAddress = 0x7F7078F4A000
topAddress = 0x7F7078F4B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847061"
baseAddress = 0x7F7078F4B000
topAddress = 0x7F7078F4D000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847047"
baseAddress = 0x7F7078F4D000
topAddress = 0x7F7078F5B000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847047"
baseAddress = 0x7F7078F5B000
topAddress = 0x7F707915A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847047"
baseAddress = 0x7F707915A000
topAddress = 0x7F707915C000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847047"
baseAddress = 0x7F707915C000
topAddress = 0x7F707915D000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F707915D000
topAddress = 0x7F7079174000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F7079174000
topAddress = 0x7F7079373000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F7079373000
topAddress = 0x7F7079374000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libgcc_s-8-20181215.so.1"
baseAddress = 0x7F7079374000
topAddress = 0x7F7079375000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079375000
topAddress = 0x7F7079507000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079507000
topAddress = 0x7F7079707000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079707000
topAddress = 0x7F7079708000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libm-2.27.so"
baseAddress = 0x7F7079708000
topAddress = 0x7F7079709000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F7079709000
topAddress = 0x7F707988C000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F707988C000
topAddress = 0x7F7079A8C000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F7079A8C000
topAddress = 0x7F7079A96000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libstdc++.so.6.0.25"
baseAddress = 0x7F7079A96000
topAddress = 0x7F7079A98000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847057"
baseAddress = 0x7F7079A9C000
topAddress = 0x7F707B920000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847057"
baseAddress = 0x7F707B920000
topAddress = 0x7F707BB20000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847057"
baseAddress = 0x7F707BB20000
topAddress = 0x7F707BC11000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "25847057"
baseAddress = 0x7F707BC11000
topAddress = 0x7F707BC4F000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.696
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707BD29000
topAddress = 0x7F707BEDE000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707BEDE000
topAddress = 0x7F707C0DE000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707C0DE000
topAddress = 0x7F707C0E2000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libc-2.27.so"
baseAddress = 0x7F707C0E2000
topAddress = 0x7F707C0E4000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C0E8000
topAddress = 0x7F707C0EB000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C0EB000
topAddress = 0x7F707C2EA000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C2EA000
topAddress = 0x7F707C2EB000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libdl-2.27.so"
baseAddress = 0x7F707C2EB000
topAddress = 0x7F707C2EC000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C2EC000
topAddress = 0x7F707C305000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C305000
topAddress = 0x7F707C505000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C505000
topAddress = 0x7F707C506000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libpthread-2.27.so"
baseAddress = 0x7F707C506000
topAddress = 0x7F707C507000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "25847051"
baseAddress = 0x7F707C50B000
topAddress = 0x7F707C519000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "25847051"
baseAddress = 0x7F707C519000
topAddress = 0x7F707C718000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "25847051"
baseAddress = 0x7F707C718000
topAddress = 0x7F707C719000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "25847051"
baseAddress = 0x7F707C719000
topAddress = 0x7F707C71A000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libz.so.1.2.11"
baseAddress = 0x7F707C71A000
topAddress = 0x7F707C730000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libz.so.1.2.11"
baseAddress = 0x7F707C730000
topAddress = 0x7F707C92F000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/libz.so.1.2.11"
baseAddress = 0x7F707C92F000
topAddress = 0x7F707C930000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/ld-2.27.so"
baseAddress = 0x7F707C931000
topAddress = 0x7F707C958000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/tmp/hsperfdata_sgehwolf/847605"
baseAddress = 0x7F707CB4C000
topAddress = 0x7F707CB54000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/ld-2.27.so"
baseAddress = 0x7F707CB57000
topAddress = 0x7F707CB58000
}
Event:jdk.NativeLibrary {
startTime = 12:30:16.697
name = "/usr/lib64/ld-2.27.so"
baseAddress = 0x7F707CB58000
topAddress = 0x7F707CB59000
}
----------System.err:(15/1116)----------
java.lang.RuntimeException: Missing libraries:libjvm.so, libjava.so, libzip.so: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at jdk.jfr.event.runtime.TestNativeLibrariesEvent.main(TestNativeLibrariesEvent.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Missing libraries:libjvm.so, libjava.so, libzip.so: expected true, was false
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Missing libraries:libjvm.so, libjava.so, libzip.so: expected true, was false
----------rerun:(32/3538)*----------
cd /disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/scratch/0 && \\
DISPLAY=:0 \\
GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\
HOME=/home/sgehwolf \\
JDK8_HOME=/disk/openjdk/builds/openjdk-12-2018-10-09 \\
LANG=en_US.UTF-8 \\
PATH=/bin:/usr/bin \\
TEST_IMAGE_GRAAL_DIR=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/images/test/hotspot/jtreg/graal \\
XMODIFIERS=@im=none \\
CLASSPATH=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/jdk/jfr/event/runtime/TestNativeLibrariesEvent.d:/disk/openjdk/upstream-sources/openjdk-head/test/jdk/jdk/jfr/event/runtime:/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/test/lib:/disk/openjdk/upstream-sources/openjdk-head/test/lib:/disk/openjdk/upstream-sources/jtreg-4.2-b13/lib/javatest.jar:/disk/openjdk/upstream-sources/jtreg-4.2-b13/lib/jtreg.jar \\
/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/images/jdk/bin/java \\
-Dtest.class.path.prefix=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/jdk/jfr/event/runtime/TestNativeLibrariesEvent.d:/disk/openjdk/upstream-sources/openjdk-head/test/jdk/jdk/jfr/event/runtime:/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/test/lib \\
-Dtest.src=/disk/openjdk/upstream-sources/openjdk-head/test/jdk/jdk/jfr/event/runtime \\
-Dtest.src.path=/disk/openjdk/upstream-sources/openjdk-head/test/jdk/jdk/jfr/event/runtime:/disk/openjdk/upstream-sources/openjdk-head/test/lib \\
-Dtest.classes=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/jdk/jfr/event/runtime/TestNativeLibrariesEvent.d \\
-Dtest.class.path=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/jdk/jfr/event/runtime/TestNativeLibrariesEvent.d:/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/classes/2/test/lib \\
-Dtest.vm.opts='-Xmx512m -XX:MaxRAMPercentage=6 -ea -esa' \\
-Dtest.tool.vm.opts='-J-Xmx512m -J-XX:MaxRAMPercentage=6 -J-ea -J-esa' \\
-Dtest.compiler.opts= \\
-Dtest.java.opts= \\
-Dtest.jdk=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/images/jdk \\
-Dcompile.jdk=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/images/jdk \\
-Dtest.timeout.factor=4.0 \\
-Dtest.modules='jdk.jfr java.management' \\
-Dtest.nativepath=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/images/test/jdk/jtreg/native \\
--add-modules jdk.jfr,java.management \\
-Xmx512m \\
-XX:MaxRAMPercentage=6 \\
-ea \\
-esa \\
-Djava.library.path=/disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/images/test/jdk/jtreg/native \\
com.sun.javatest.regtest.agent.MainWrapper /disk/openjdk/upstream-sources/openjdk-head/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_jfr/jdk/jfr/event/runtime/TestNativeLibrariesEvent.d/main.0.jta
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Missing libraries:libjvm.so, libjava.so, libzip.so: expected true, was false
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Missing libraries:libjvm.so, libjava.so, libzip.so: expected true, was false
Interestingly, only libjvm/libjava/libzip are not being detected. The event output shows that libc and other native libraries are properly listed by its name. As it turns out /proc/<pid>/maps for JVM processes look similar to this on my system:
$ grep libjvm /proc/857697/maps
7ffff5e78000-7ffff6e80000 r-xp 00000000 103:03 29643078 /disk/openjdk/upstream-sources/openjdk-11/build/linux-x86_64-normal-server-release/images/jdk/lib/server/libjvm.so
7ffff6e80000-7ffff7080000 ---p 01008000 103:03 29643078 /disk/openjdk/upstream-sources/openjdk-11/build/linux-x86_64-normal-server-release/images/jdk/lib/server/libjvm.so
7ffff7080000-7ffff713e000 r--p 01008000 103:03 29643078 /disk/openjdk/upstream-sources/openjdk-11/build/linux-x86_64-normal-server-release/images/jdk/lib/server/libjvm.so
7ffff713e000-7ffff7177000 rw-p 010c6000 103:03 29643078 /disk/openjdk/upstream-sources/openjdk-11/build/linux-x86_64-normal-server-release/images/jdk/lib/server/libjvm.so
Contrast this to glibc and libgcc:
$ grep libgcc /proc/857697/maps
7ffff5539000-7ffff5550000 r-xp 00000000 fd:00 2757679 /usr/lib64/libgcc_s-8-20181215.so.1
7ffff5550000-7ffff574f000 ---p 00017000 fd:00 2757679 /usr/lib64/libgcc_s-8-20181215.so.1
7ffff574f000-7ffff5750000 r--p 00016000 fd:00 2757679 /usr/lib64/libgcc_s-8-20181215.so.1
7ffff5750000-7ffff5751000 rw-p 00017000 fd:00 2757679 /usr/lib64/libgcc_s-8-20181215.so.1
[sgehwolf@p50-laptop openjdk-head]$ grep libc /proc/857697/maps
7ffff71cd000-7ffff7382000 r-xp 00000000 fd:00 2756191 /usr/lib64/libc-2.27.so
7ffff7382000-7ffff7582000 ---p 001b5000 fd:00 2756191 /usr/lib64/libc-2.27.so
7ffff7582000-7ffff7586000 r--p 001b5000 fd:00 2756191 /usr/lib64/libc-2.27.so
7ffff7586000-7ffff7588000 rw-p 001b9000 fd:00 2756191 /usr/lib64/libc-2.27.so
Note the difference in major:minor device numbers. Field 4 is the device or dev field according to the kernel docs:
https://www.kernel.org/doc/Documentation/filesystems/proc.txt
Looking up what major device id 130 corresponds to we see:
$ grep 130 /proc/devices
130 sd
Looking at where the native libraries are handled for linux we find it's done via os::get_loaded_modules_info. The linux impl has this:
// Read line by line from 'file'
while (fgets(line, sizeof(line), procmapsFile) != NULL) {
u8 base, top, offset, inode;
char permissions[5];
char device[6];
char name[PATH_MAX + 1];
// Parse fields from line
sscanf(line, UINT64_FORMAT_X "-" UINT64_FORMAT_X " %4s " UINT64_FORMAT_X " %5s " INT64_FORMAT " %s",
&base, &top, permissions, &offset, device, &inode, name);
Note the '%5s' format for 'device'. In my case this needs to be '%6s' for it to work.