Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2047206 | 1.4.0 | Pete Soper | P1 | Closed | Fixed | beta3 |
Name: iaR10016 Date: 09/18/2001
JDK : JDK1.4.0-beta-b79
JCK : JCK1.4-b09
Platform[s] : RedHat Linux 6.2, RedHat Linux 7.1
(The tests pass under Windows OS)
switch/Mode : -Xprof -verbose -verify -Xfuture
(The tests pass with default switches)
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_net/DatagramSocket/index.html#Receive
api/java_net/DatagramSocket/index.html#connect
api/java_net/MulticastSocket/descriptions.html#leaveGroup
api/java_net/distributed/index.html#NetDistributed
Four JCK1.4-b09 runtime api/java_net tests hang and fail because of timeout when running
in "-Xprof -verbose -verify" mode.
Probably, this bug is a duplicate of #4461173.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/DatagramSocket/ReceiveTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/DatagramSocket/DatagramTestServer.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/DatagramSocket/connectTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/DatagramSocket/MyDatagramSocket.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/MulticastSocket/leaveGroupTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/MulticastSocket/MulticastTestServer.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/MulticastSocket/TestServerException.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/MulticastSocket/TSInterruptedException.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/distributed/NetDistributedTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/distributed/DServer.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/api/java_net/DatagramSocket/index_Receive.jtr
/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/api/java_net/DatagramSocket/index_connect.jtr
/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/api/java_net/MulticastSocket/descriptions_leaveGroup.jtr
/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/api/java_net/distributed/index_NetDistributed.jtr
How to reproduce:
====================
Run the following script under RedHat Linux 6.2
(probably, you need to change JCK and JAVA_HOME paths):
--------Script START---------------------
#!/bin/sh
JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
executeClass="javasoft.sqe.tests.api.java.net.DatagramSocket.ReceiveTests"
$JAVA_HOME/bin/java -Xprof -verbose -verify -Xfuture ${executeClass}
---------Script END----------------------
Test output:
=============
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/sunrsasign.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/jsse.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/jce.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/charsets.jar]
[Loaded java.lang.Object from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.io.Serializable from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.Comparable from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.CharSequence from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.String from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
...
[Loaded sun.reflect.GeneratedConstructorAccessor1]
[Loaded sun.reflect.BootstrapConstructorAccessorImpl from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded sun.reflect.FieldAccessor from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded sun.reflect.FieldAccessorImpl from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded sun.reflect.UnsafeFieldAccessorImpl from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded sun.misc.Signal$1 from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.util.HashMap$HashIterator from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.util.HashMap$KeyIterator from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
Flat profile of 6.01 secs (298 total ticks): main
Interpreted + native Method
91.3% 0 + 272 java.net.PlainDatagramSocketImpl.receive
0.7% 0 + 2 java.lang.ClassLoader.defineClass0
0.7% 0 + 2 javasoft.sqe.tests.api.java.net.DatagramSocket.ReceiveTests.DatagramSocket2006
0.3% 0 + 1 java.util.zip.ZipEntry.initIDs
0.3% 0 + 1 java.net.PlainDatagramSocketImpl.datagramSocketClose
0.3% 0 + 1 java.io.UnixFileSystem.getLength
0.3% 0 + 1 java.io.UnixFileSystem.getBooleanAttributes0
0.3% 0 + 1 java.lang.ClassLoader$NativeLibrary.load
0.3% 0 + 1 sun.reflect.ClassDefiner.defineClass
0.3% 0 + 1 sun.reflect.NativeConstructorAccessorImpl.newInstance
0.3% 1 + 0 java.lang.StringCoding.decode
0.3% 0 + 1 java.lang.String.<init>
0.3% 0 + 1 java.util.jar.JarFile.getManifest
0.3% 0 + 1 java.lang.String.toLowerCase
0.3% 0 + 1 java.util.jar.Manifest.read
0.3% 0 + 1 sun.reflect.MethodAccessorGenerator.generate
97.0% 1 + 288 Total interpreted
Thread-local ticks:
1.3% 4 Class loader
1.3% 4 Compilation
0.3% 1 Unknown: no last frame
Global summary of 6.01 seconds:
100.0% 298 Received ticks
2.3% 7 Compilation
1.3% 4 Class loader
0.3% 1 Unknown code
Result is 130
Specific Machine Info:
=====================
Hostname: Linux-12
OS: RedHat Linux 6.2
Hostname: Linux-14
OS: RedHat Linux 7.1
Intel Pentium III 800MHz / 256Mb / HDD 17 Gb SCSI / video Matrox G200 AGP /
CD-ROM drive/ Sound on board VIA686a
======================================================================
###@###.### 2001-09-24
Could reproduce on following machines :
1. bespin.sfbay.sun.com (RH7.1, dual proc, pentium III {Dell Precision 420} 664 MHz, 256 MB RAM)
2. tralus.sfbay.sun.com (RH6.2, 1 proc, Pentium III {Dell Dimension XPS R700r} 700 MHz, 128 MB RAM)
=======================================
- backported by
-
JDK-2047206 JCK1.4, api/java_net/... tests hang in "-Xprof -verbose -verify" mode, linux
- Closed
- relates to
-
JDK-4461173 Linux:intermittent hang due to mutex being granted to suspended thread
- Closed
-
JDK-4511253 JCK1.4 Some tests throw SocketException in "-Xprof -verbose -verify" mode, linux
- Closed