JDK-8039089 : List verification enabled in product builds
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u20,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-04-02
  • Updated: 2014-07-29
  • Resolved: 2014-04-04
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 8 JDK 9
8u20Fixed 9 b10Fixed
Description
List verification code has been accidentally enabled in product builds in one place. This may impact performance and it should be changed to only perform verification in debug builds.

ConcurrentMark::completeCleanup() is currently calling _cleanup_list.verify_list(). This will unconditionally run the verification, even in product builds. This should be replaced with verify_optional() that only runs the verification code in debug builds.