[jdk21u-dev] RFR: 8324580: SIGFPE on THP initialization on kernels < 4.10 [v4]

luwang1103 duke at openjdk.org
Fri Jul 19 08:49:37 UTC 2024


On Fri, 19 Jul 2024 06:11:49 GMT, luwang1103 <duke at openjdk.org> wrote:

>> luwang1103 has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available.
>
> @shipilev  can you  help me? why this question is not clean? I have checked the indentation.

> @luwang1103 may I ask why you downport this patch? Have you observed the problem on JDK 21, if yes, with what distro and kernel?
> 
> This patch is one in a long chain of THP-related patches, and it won't make sense out of order. Why is this not clean? What is the patch delta to the upstream patch?

CentOS Linux release 7.9.2009 (Core) 
3.10.0-1160.108.1.el7.x86_64
On this machine, seven test cases have failed

gc/shenandoah/options/TestLargePages.java#thp 
gc/shenandoah/options/TestLargePagesWithSmallHeap.java#thp 
runtime/os/TestHugePageDecisionsAtVMStartup.java#THP_enabled 
runtime/os/TestTracePageSizes.java#G1 
runtime/os/TestTracePageSizes.java#Parallel 
runtime/os/TestTracePageSizes.java#Serial 
runtime/os/TestTracePageSizes.java#compiler-options 

The error message for TestLargePages.java is 
STDOUT:
//#
//# A fatal error has been detected by the Java Runtime Environment:
//#
//#  Internal Error (/openjdk/test/jdk21u-dev/src/hotspot/os/linux/os_linux.cpp:3873), pid=17498, tid=17501
//#  assert(HugePages::supports_thp() && HugePages::thp_pagesize() > 0) failed: Missing OS info

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/840#issuecomment-2238682780


More information about the jdk-updates-dev mailing list