JDK-7194662 : JSR 292: PermuteArgsTest times out in nightly test runs
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: hs23,7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-28
  • Updated: 2015-05-08
  • Resolved: 2012-08-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b53Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The following test times out during nightly test runs:

java/lang/invoke/PermuteArgsTest.java

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/59231f2cb6e1
28-08-2012

SUGGESTED FIX The suggested quick fix is to add -XX:-VerifyDependencies to the failing test. The real fix would require to look into the dependency verification code and eliminate duplicate verifications of the same dependencies. This is especially important when the code cache contains a lot of nmethods. I will file another bug for that.
28-08-2012

EVALUATION The reason for the timeouts with debug builds is the flag VerifyDependencies which is on by default in debug builds: $ java -showversion -XX:+VerifyDependencies -cp /java/devtools/share/junit/latest/junit.jar:. -ea -esa -DPermuteArgsTest.MAX_ARITY=8 org.junit.runner.JUnitCore PermuteArgsTest java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b53) Java HotSpot(TM) Server VM (build 24.0-b22-internal-fastdebug, mixed mode) JUnit version 4.4 .ran a total of 2756 test cases Time: 79.037 OK (1 test) ###@###.###:~$ java -showversion -XX:-VerifyDependencies -cp /java/devtools/share/junit/latest/junit.jar:. -ea -esa -DPermuteArgsTest.MAX_ARITY=8 org.junit.runner.JUnitCore PermuteArgsTest java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b53) Java HotSpot(TM) Server VM (build 24.0-b22-internal-fastdebug, mixed mode) JUnit version 4.4 .ran a total of 2756 test cases Time: 3.803 OK (1 test)
28-08-2012