JDK-4503975 : JCK1.4, vm/instr/... tests hang in "-Xprof -verbose -verify" mode, linux
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2001-09-18
  • Updated: 2001-10-02
  • Resolved: 2001-10-02
Related Reports
Duplicate :  
Relates :  
Description

Name: iaR10016			Date: 09/18/2001


JDK            : JDK1.4.0-beta-b79
JCK            : JCK1.4-b09
Platform[s]    : RedHat Linux 6.2
                 (The tests pass under RedHat Linux 7.1, 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   : vm/instr/invokespecial/invokespecial007/invokespecial00702m1/invokespecial00702m1.html
                 vm/instr/invokevirtual/invokevirtual012/invokevirtual01202m1/invokevirtual01202m1.html
                 vm/instr/invokevirtual/invokevirtual013/invokevirtual01302m1/invokevirtual01302m1.html
                 vm/instr/invokeinterface/invokeinterface023/invokeinterface02302m1/invokeinterface02302m1.html

Four JCK1.4-b09 vm/instr tests hang and fail because of timeout when running
in "-Xprof -verbose -verify" mode under RedHat Linux 6.2. These tests
pass in "-Xprof -verbose -verify" mode under RedHat Linux 7.1.

Probably, this bug is a duplicate of #4461173.

Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokespecial/invokespecial007/invokespecial00702m1/invokespecial00702m1.jasm
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokespecial/invokespecial007/invokespecial00702m1/invokespecial00702m1.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokespecial/invokespecial007/invokespecial00702m1/invokespecial00702m1.c

/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokevirtual/invokevirtual012/invokevirtual01202m1/invokevirtual01202m1.jasm
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokevirtual/invokevirtual012/invokevirtual01202m1/invokevirtual01202m1.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokevirtual/invokevirtual012/invokevirtual01202m1/invokevirtual01202m1.c

/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokevirtual/invokevirtual013/invokevirtual01302m1/invokevirtual01302m1.jasm
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokevirtual/invokevirtual013/invokevirtual01302m1/invokevirtual01302m1.java

/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokeinterface/invokeinterface023/invokeinterface02302m1/invokeinterface02302m1.jasm
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/invokeinterface/invokeinterface023/invokeinterface02302m1/invokeinterface02302m1.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/vm/instr/invokespecial/invokespecial007/invokespecial00702m1/invokespecial00702m1.jtr

/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/vm/instr/invokevirtual/invokevirtual012/invokevirtual01202m1/invokevirtual01202m1.jtr

/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/vm/instr/invokevirtual/invokevirtual013/invokevirtual01302m1/invokevirtual01302m1.jtr

/net/jtgb4u4c.eng/export/sail15/results/merlin/b79/jck14/linux/redhat6.2_single_kde_client_prof_verbose_verify_linux-12/workDir/vm/instr/invokeinterface/invokeinterface023/invokeinterface02302m1/invokeinterface02302m1.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.vm.instr.invokespecial.invokespecial007.invokespecial00702m1.invokespecial00702m1 -platform.nativeCodeSupported true"
$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 java.lang.Class from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.Cloneable from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.ClassLoader from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.System from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.Throwable from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.lang.Error from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
...
[Loaded java.io.FilePermissionCollection from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.io.FilePermission$1 from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.security.UnresolvedPermission from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.security.UnresolvedPermissionCollection from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.security.Principal from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded java.security.cert.Certificate from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Loaded javasoft.sqe.tests.vm.instr.invokespecial.invokespecial007.invokespecial00702m1.invokespecial00702m1]
[Loaded javasoft.sqe.tests.vm.instr.invokespecial.invokespecial007.invokespecial00702m1.BottleParent]
[Loaded javasoft.sqe.tests.vm.instr.invokespecial.invokespecial007.invokespecial00702m1.Bottle]
[Loaded javasoft.sqe.tests.vm.instr.invokespecial.invokespecial007.invokespecial00702m1.Competitor]
starting...
joining...

Specific Machine Info:
=====================
Hostname: Linux-12
OS: RedHat Linux 6.2
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)
======================================================================

Comments
EVALUATION Running tests on pea.east linux 6.2 zoot machine works fine. Also test on dogboy.east 7.1 linux machine. Not re-producible. Is this a single CPU issue, dual, or quad, etc.. Please Test on single, dual, quad processor machine PC's. ###@###.### 2001-09-19 ###@###.### 2001-10-02 It's a duplicate of 4461173 and Hui Huang has a workaround to the pthread problem. He has also kindly tested that the test case works fine with his engineering build for 4461173. So I close it as a dup of 4461173.
11-06-2004