-
Bug
-
Resolution: Fixed
-
P4
-
19
-
b09
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8294458 | 19.0.2 | Qi Ao | P4 | Resolved | Fixed | b02 |
vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.java and vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.java are added or modified by JDK-8284161, and they are failed if Loom or JVMTI is not supported.
The issue could be reproduced by zero. For example:
--------------------------------------------------
TEST: vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.java
...
STDOUT:
exec [/home/aoqi/tag_req/d-default-zero-release/images/jdk/bin/java, -XX:MaxRAMPercentage=0.892857, -Djava.io.tmpdir=/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/tmp, -cp, /home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/classes/0/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.d:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/classes/0/vmTestbase:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/classes/0/test/lib, -Djava.library.path=/home/aoqi/tag_req/d-default-zero-release/images/test/hotspot/jtreg/native, --enable-preview, -agentlib:thrinfo001, nsk.jvmti.GetThreadInfo.thrinfo001]
Error occurred during initialization of VM
agent library failed to init: thrinfo001
Wrong result of a valid call to GetEnv !
...
--------------------------------------------------
TEST: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.java
...
STDOUT:
exec [/home/aoqi/tag_req/d-default-zero-release/images/jdk/bin/java, -XX:MaxRAMPercentage=0.892857, -Djava.io.tmpdir=/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/tmp, -cp, /home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/classes/0/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.d:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/classes/0/vmTestbase:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/classes/0/test/lib, -Djava.library.path=/home/aoqi/tag_req/d-default-zero-release/images/test/hotspot/jtreg/native, --enable-preview, -agentlib:stressRedefine, nsk.jvmti.RedefineClasses.StressRedefine, ./bin, -corruptingBytecodeProbability, 0.0, -virtualThreads]
Error occurred during initialization of VM
agent library failed to init: stressRedefine
test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/stressRedefine.cpp: Failed to call GetEnv: error=-3
...
--------------------------------------------------
The issue could be reproduced by zero. For example:
--------------------------------------------------
TEST: vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.java
...
STDOUT:
exec [/home/aoqi/tag_req/d-default-zero-release/images/jdk/bin/java, -XX:MaxRAMPercentage=0.892857, -Djava.io.tmpdir=/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/tmp, -cp, /home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/classes/0/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.d:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/classes/0/vmTestbase:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_GetThreadInfo_thrinfo001_TestDescription_java/classes/0/test/lib, -Djava.library.path=/home/aoqi/tag_req/d-default-zero-release/images/test/hotspot/jtreg/native, --enable-preview, -agentlib:thrinfo001, nsk.jvmti.GetThreadInfo.thrinfo001]
Error occurred during initialization of VM
agent library failed to init: thrinfo001
Wrong result of a valid call to GetEnv !
...
--------------------------------------------------
TEST: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.java
...
STDOUT:
exec [/home/aoqi/tag_req/d-default-zero-release/images/jdk/bin/java, -XX:MaxRAMPercentage=0.892857, -Djava.io.tmpdir=/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/tmp, -cp, /home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/classes/0/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.d:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/classes/0/vmTestbase:/home/aoqi/tag_req/d-default-zero-release/test-support/jtreg_test_hotspot_jtreg_vmTestbase_nsk_jvmti_RedefineClasses_StressRedefineVirtual_StressRedefineVirtual_java/classes/0/test/lib, -Djava.library.path=/home/aoqi/tag_req/d-default-zero-release/images/test/hotspot/jtreg/native, --enable-preview, -agentlib:stressRedefine, nsk.jvmti.RedefineClasses.StressRedefine, ./bin, -corruptingBytecodeProbability, 0.0, -virtualThreads]
Error occurred during initialization of VM
agent library failed to init: stressRedefine
test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/stressRedefine.cpp: Failed to call GetEnv: error=-3
...
--------------------------------------------------
- backported by
-
JDK-8294458 Fix some tests with "requires vm.jvmti & vm.continuations"
- Resolved
- relates to
-
JDK-8284161 Implementation of Virtual Threads (Preview)
- Resolved
- links to
-
Commit openjdk/jdk19u/7f34799a
-
Commit openjdk/jdk/0cc49fd9
-
Review openjdk/jdk19u/14
-
Review openjdk/jdk/9677
(1 links to)