test failures on the Linux ARM Thumb platforms due to os::current_frame() implementation
Vladimir Petko
vladimir.petko at canonical.com
Sun Apr 2 22:41:01 UTC 2023
Hi,
os::current_frame() is stubbed out on the Linux Arm Thumb platform [1]
This causes gtest 'is_first_C_frame' to fail. The attached
'disable-thumb-assertion.patch' patch disables assertion for the ARM
Thumb platform.
This also affects
'MemDetailReporter::report_virtual_memory_region()'[2] causing the
trace to miss 'from <location>' part which breaks
'test/hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java'.
The attached patch 'update-assertion-for-armhf.patch' relaxes the
assertion allowing the test to pass.
Best Regards,
Vladimir.
[1] https://github.com/openjdk/jdk/blob/0deb648985b018653ccdaf193dc13b3cf21c088a/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp#L219
[2] https://github.com/openjdk/jdk/blob/aa762102e9328ca76663b56b3be6f6141b044744/src/hotspot/share/services/memReporter.cpp#L397
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-thumb-assertion.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230403/8c1000e4/disable-thumb-assertion.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update-assertion-for-armhf.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230403/8c1000e4/update-assertion-for-armhf.patch>
More information about the jdk-dev
mailing list