harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3140) [drlvm][classloader] test org.apache.harmony.luni.tests.java.lang.ClassLoaderTest intermittently hang up on DRLVM+Win
Date Thu, 08 Feb 2007 12:27:05 GMT
[drlvm][classloader] test org.apache.harmony.luni.tests.java.lang.ClassLoaderTest intermittently
hang up on DRLVM+Win
---------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3140
                 URL: https://issues.apache.org/jira/browse/HARMONY-3140
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Vladimir Ivanov


The harmony test org.apache.harmony.luni.tests.java.lang.ClassLoaderTest intermittently hangs
up on DRLVM+Win. When this test was run in the cycle I sow hangs on iteration N 7 and 37.

-------- 
#!/bin/sh 

RUNTIME=harmony/drlvm/trunk/build/win_ia32_msvc_debug/deploy/jdk/jre/bin/java
MODULE=harmony/classlib/trunk/modules/luni
  
A=0 
while [ "$A" -lt "100" ]; do 
    ${RUNTIME} \
        -cp "${MODULE}/bin/test;${MODULE}/src/test/resources;harmony.top/classlib/trunk/deploy/build/test/support.jar;harm/junit.jar"
\
        junit.textui.TestRunner org.apache.harmony.luni.tests.java.lang.ClassLoaderTest
    echo $? 
    A=`expr $A + 1` 
    echo $A 
done 
--------

Thread dump:

..The stack trace of the 02BDD298 java thread:

The stack trace of the 02BDAEA8 java thread:
  [02BDAEA8] 031F6361(m): java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
  [02BDAEA8] 031F608E(m): java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
  [02BDAEA8] 031E8E71(m): java/lang/Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
  [02BDAEA8] 03229F19(m): org/apache/harmony/luni/tests/java/lang/ClassLoaderTest$SyncLoadTestThread.run()V
  [02BDAEA8] 031F9788(m): java/lang/Thread.runImpl()V

The stack trace of the 02BD4B90 java thread:
  [02BD4B90] 00000000(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I
  [02BD4B90] 031F932B(m): java/lang/Object.wait()V
  [02BD4B90] 0322A068(m): org/apache/harmony/luni/tests/java/lang/ClassLoaderTest$SyncTestClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
  [02BD4B90] 031F642A(m): java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
  [02BD4B90] 031F608E(m): java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
  [02BD4B90] 031E8E71(m): java/lang/Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
  [02BD4B90] 03229F19(m): org/apache/harmony/luni/tests/java/lang/ClassLoaderTest$SyncLoadTestThread.run()V
  [02BD4B90] 031F9788(m): java/lang/Thread.runImpl()V

The stack trace of the 02A16218 java thread:
  [02A16218] 00000000(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I
  [02A16218] 031F932B(m): java/lang/Object.wait()V
  [02A16218] 031FCE2C(m): java/lang/FinalizerThread.waitNewTask()V
  [02A16218] 031FC162(m): java/lang/FinalizerThread.run()V
  [02A16218] 031F9788(m): java/lang/Thread.runImpl()V

The stack trace of the 011EFB48 java thread:
  [011EFB48] 00000000(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I
  [011EFB48] 031F932B(m): java/lang/Object.wait()V
  [011EFB48] 0359A3EE(m): java/lang/Thread.join()V
  [011EFB48] 03227E8C(m): org/apache/harmony/luni/tests/java/lang/ClassLoaderTest.test_loadClass_concurrentLoad()V
  [011EFB48] 005848D0(n): java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
  [011EFB48] 03358399(m): java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
  [011EFB48] 03226A8B(m): junit/framework/TestCase.runTest()V
  [011EFB48] 032265F0(m): junit/framework/TestCase.runBare()V
  [011EFB48] 0322651B(m): junit/framework/TestResult$1.protect()V
  [011EFB48] 032263ED(m): junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
  [011EFB48] 03225B53(m): junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
  [011EFB48] 032259F6(m): junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
  [011EFB48] 0322593C(m): junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
  [011EFB48] 03225641(m): junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
  [011EFB48] 032250BE(m): junit/textui/TestRunner.doRun(Ljunit/framework/Test;Z)Ljunit/framework/TestResult;
  [011EFB48] 03221B15(m): junit/textui/TestRunner.start([Ljava/lang/String;)Ljunit/framework/TestResult;
  [011EFB48] 03220E6C(m): junit/textui/TestRunner.main([Ljava/lang/String;)V


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message