wget -q https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/tools/jtreg_5_1_b01.zip -O jtreg.zip
unzip jtreg.zip
wget -nv https://ajdk-backup.oss-cn-hangzhou.aliyuncs.com/8.19.23/OpenJDK8U-jdk_x64_linux_ajdk_2023-02-16-09-23.tar.gz -O binary.tar.gz
tar zxvf binary.tar.gz
git clone -b master "https://code.alibaba-inc.com/ajdk/jdk8u" jdk-repo
cd jtreg
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
cd jdk8u362-b747/
export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME
cd -
alias j='jtreg -w tmp -nr -v:fail,error'
j -Xcomp ./jdk-repo/jdk/test/multi-tenant/TestTenantProcessReaper.java
错误日志
"Attach Listener" #23 daemon prio=9 os_prio=0 tid=0x00007fe288001000 nid=0x3c85eb waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"process reaper" #21 daemon prio=10 os_prio=0 tid=0x00007fe250043000 nid=0x3c85ac waiting on condition [0x00007fe2b403f000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park0(Native Method)
- parking to wait for <0x00000005db7b9040> (a java.util.concurrent.SynchronousQueue$TransferStack)
at sun.misc.Unsafe.park(Unsafe.java:1038)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:216)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:467)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:368)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:952)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:855)
at com.alibaba.tenant.TenantContainer.lambda$runThread$0(TenantContainer.java:565)
at com.alibaba.tenant.TenantContainer$$Lambda$11/1237547610.run(Unknown Source)
at com.alibaba.tenant.TenantContainer.run(TenantContainer.java:489)
at com.alibaba.tenant.TenantContainer.runThread(TenantContainer.java:563)
"MainThread" #20 prio=5 os_prio=0 tid=0x00007fe304242000 nid=0x3c8594 runnable [0x00007fe25f9d0000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:442)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:260)
- locked <0x00000005db7f5db8> (a java.lang.Object)
at TestTenantProcessReaper$NamedPipe.serverEnd(TestTenantProcessReaper.java:116)
at TestTenantProcessReaper.main(TestTenantProcessReaper.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:855)
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/162021 Steps to Reproduce Steps to reproduce the behavior:
错误日志
ajdk8、dragonwell8复现概率:必现 Temurin此用例不存在
环境信息: