JDK-7091366 : re-enable quicksort tests
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs22
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-16
  • Updated: 2012-01-23
  • Resolved: 2012-01-23
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 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Description
Because of time pressure, the quicksort tests were disabled completely to fix a build failure when using the jdk6 tools (see 7091294 disable quicksort tests).  A more targeted fix that avoids the build failure while keeping the tests enabled would be preferable.

Comments
EVALUATION See main CR
22-10-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/e807478bf9ca
27-09-2011

EVALUATION The function used for testing together with stdlib::qsort() needs to be declared extern "C".
19-09-2011

SUGGESTED FIX I added an 'extern "c"' scope to the call back that is passed to the stdlib:qsort() implementation. With this change the build passes JPRT even with "-release jdk6". Attaching the patch (called jdk6-qsfix.diff) to this CR.
19-09-2011