-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b05
-
arm
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8312911 | 21.0.1 | Vladimir Petko | P3 | Resolved | Fixed | b04 |
JDK-8312016 | 21 | Vladimir Petko | P3 | Resolved | Fixed | b32 |
ADDITIONAL SYSTEM INFORMATION :
Java 21 on Ubuntu 23.10 (mantic)
A DESCRIPTION OF THE PROBLEM :
os::current_frame() is stubbed out on armhf and thus test always fails because it can not produce native frames.
See void JavaThread::print_jni_stack() implementation.
REGRESSION : Last worked in version 21
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jtwork_dir=jtreg_work
report_dir=jtreg_report
BOOTJDK_HOME=/usr/lib/jvm/java-1.20.0-openjdk-armhf
JDK_TO_TEST=`pwd`/build/linux-arm-server-slowdebug/images/jdk/
export JAVA_HOME=/usr/lib/jvm/java-1.20.0-openjdk-armhf
native_path=$(pwd)/build/linux-arm-server-slowdebug/images/test/hotspot/jtreg/native \
jtreg \
-verbose:full \
-automatic \
-timeout:5 \
-workDir:"${jtwork_dir}" \
-reportDir:"${report_dir}" \
-jdk:${JDK_TO_TEST} \
-vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \
-nativepath:${native_path} \
test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
test passes
ACTUAL -
test fails with
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'thread_start' missing from stdout/stderr
FREQUENCY : always
Java 21 on Ubuntu 23.10 (mantic)
A DESCRIPTION OF THE PROBLEM :
os::current_frame() is stubbed out on armhf and thus test always fails because it can not produce native frames.
See void JavaThread::print_jni_stack() implementation.
REGRESSION : Last worked in version 21
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jtwork_dir=jtreg_work
report_dir=jtreg_report
BOOTJDK_HOME=/usr/lib/jvm/java-1.20.0-openjdk-armhf
JDK_TO_TEST=`pwd`/build/linux-arm-server-slowdebug/images/jdk/
export JAVA_HOME=/usr/lib/jvm/java-1.20.0-openjdk-armhf
native_path=$(pwd)/build/linux-arm-server-slowdebug/images/test/hotspot/jtreg/native \
jtreg \
-verbose:full \
-automatic \
-timeout:5 \
-workDir:"${jtwork_dir}" \
-reportDir:"${report_dir}" \
-jdk:${JDK_TO_TEST} \
-vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \
-nativepath:${native_path} \
test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
test passes
ACTUAL -
test fails with
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'thread_start' missing from stdout/stderr
FREQUENCY : always
- backported by
-
JDK-8312016 Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
- Resolved
-
JDK-8312911 Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
- Resolved
- links to
-
Commit openjdk/jdk21/d174dde1
-
Commit openjdk/jdk/0916e6a6
-
Review openjdk/jdk21/97
-
Review openjdk/jdk/14750
(1 links to)