test failures on the Linux ARM Thumb platforms due to os::current_frame() implementation
Severin Gehwolf
sgehwolf at redhat.com
Mon Apr 3 08:28:27 UTC 2023
Hi,
On Mon, 2023-04-03 at 10:41 +1200, Vladimir Petko wrote:
> 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.
This belongs to hotspot-dev (cc). Bcc jdk-dev. Could you perhaps create
a PR at https://github.com/openjdk/jdk ?
Thanks,
Severin
> 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
More information about the jdk-dev
mailing list