Re: One more test fails from vmTestBase
Xiaolin Zheng
yunyao.zxl at alibaba-inc.com
Wed Aug 31 08:33:31 UTC 2022
Hi Vladimir,
Thanks for reporting this issue. I took a dive into this failure and found the root cause is that callee-saved float registers are unfortunately missed to be saved in StubGenerator::generate_call_stub(). These tests are passed at my local branch now and I will file a patch to solve this asap.
Best,
Xiaolin
------------------------------------------------------------------
From:Vladimir Kempik <vladimir.kempik at gmail.com>
Send Time:2022年8月30日(星期二) 20:40
To:undefined <undefined>; undefined <undefined>
Cc:undefined <undefined>
Subject:Re: One more test fails from vmTestBase
Ok, just wanted to make sure it’s not only me ( who sees failure)
filled https://bugs.openjdk.org/browse/JDK-8293100 <https://bugs.openjdk.org/browse/JDK-8293100 >
Regards ,Vladimir
30 авг. 2022 г., в 15:22, jiangfeilong <jiangfeilong at huawei.com <mailto:jiangfeilong at huawei.com >> написал(а):
Thanks for pointing this out. I got the same error on the unmatched board.
> That doesn’t sound right, should I file a bug in JBS ?
Yes, please file a bug to help track this issue.
Thanks, Feilong.
From: riscv-port-dev <riscv-port-dev-retn at openjdk.org <mailto:riscv-port-dev-retn at openjdk.org >> On Behalf Of Vladimir Kempik
Sent: Tuesday, August 30, 2022 12:50 AM
To: riscv-port-dev at openjdk.org <mailto:riscv-port-dev at openjdk.org >
Subject: One more test fails from vmTestBase
Hello
While running some tests (tier4:hotspot) and especially vmTestbase set of tests I have found some test to constantly fail on jdk20/risc-v:
test/hotspot/jtreg/vmTestbase/nsk/stress/jni/jnistress002.java
seeing lots of these errors in the log:
JNI object
public java.lang.String nsk.stress.jni.objectsJNI.instName = "Thread-2"
public int nsk.stress.jni.objectsJNI.i = 1072273735
public long nsk.stress.jni.objectsJNI.l = 8325085374318028103
public char[] nsk.stress.jni.objectsJNI.c = "Thread-2"
public float nsk.stress.jni.objectsJNI.f = 0.49921197
public double nsk.stress.jni.objectsJNI.d = NaN
Java object
public java.lang.String nsk.stress.jni.objectsJNI.instName = "Thread-2"
public int nsk.stress.jni.objectsJNI.i = 1072273735
public long nsk.stress.jni.objectsJNI.l = 8325085374318028103
public char[] nsk.stress.jni.objectsJNI.c = "Thread-2"
public float nsk.stress.jni.objectsJNI.f = 0.955677
public double nsk.stress.jni.objectsJNI.d = 0.49921197125621386
The fields No. 4 are different
Objects are different
That doesn’t sound right, should I file a bug in JBS ?
Running it this way:
make OUTPUTDIR=build/prebuilt-output BOOT_JDK=~/syntaj20 JT_HOME=~/jtreg6.1/ JDK_IMAGE_DIR=~/syntaj20 TEST_IMAGE_DIR=~/test20/ LOG_CMDLINES=true JTREG="TIMEOUT_FACTOR=8" run-test-prebuilt TEST="test/hotspot/jtreg/vmTestbase/nsk/stress/jni/jnistress002.java"
Checked on hifive and thead
Regards, Vladimir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/riscv-port-dev/attachments/20220831/17ac647c/attachment-0001.htm>
More information about the riscv-port-dev
mailing list