JDK-8210736 : jdk/javax/xml/crypto/dsig/GenerationTests.java slow on linux
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-14
  • Updated: 2019-12-11
  • Resolved: 2018-09-17
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 11 JDK 12 JDK 8
11.0.2Fixed 12 b12Fixed 8u202Fixed
Related Reports
Duplicate :  
Relates :  
Description
The test runs very slow on linux. On other platforms, on average it spends 2 minutes, but on linux, about 16 minutes.
Comments
Fix Request Already fixed in JDK 8u. A test only fix which allows the test execute must faster on some systems (esp. linux)
12-10-2018

Yes, much better with this patch: -------------------------------------------------- TEST: javax/xml/crypto/dsig/GenerationTests.java compile: 0.309 seconds build: 0.0 seconds main: 63.993 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- -------------------------------------------------- TEST: javax/xml/crypto/dsig/GenerationTests.java compile: 0.305 seconds build: 0.0 seconds main: 62.604 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- -------------------------------------------------- TEST: javax/xml/crypto/dsig/GenerationTests.java compile: 0.217 seconds build: 0.0 seconds main: 61.841 seconds TEST RESULT: Passed. Execution successful -------------------------------------------------- Thanks!
19-09-2018

The bootleneck is at reading from the internal HttpServer. After adding -Dsun.net.httpserver.nodelay=true it's as fast as on other platforms. This might be a Linux kernel configuration issue that the HttpServer impl needs to deal with.
17-09-2018