JDK-8264901 : [TEST_BUG] Reduce the time ICMColorDataTest runs
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8u181
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-08
  • Updated: 2021-04-28
  • Resolved: 2021-04-21
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
7u311Fixed 8u301 b03Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The test has been problem-listed under JDK-8232634 for 11 and 15.

However, the test is useful for 32 bit Windows system. I propose to problem-list the test for all platforms but 32 bit Windows in Java 8 as well as to modify @requires tag to require 32 bit Windows.

I also suggest applying the initially proposed patch to the test which significantly reduces the time required for the test.

The running time is reduced by decreasing the number of iterations and detecting when image objects are disposed of by the Garbage Collector.
Comments
The initial proposal to optimise the test: http://mail.openjdk.java.net/pipermail/2d-dev/2019-October/010358.html http://cr.openjdk.java.net/~aivanov/8232634/webrev.00/
09-04-2021