JDK-8140584 : nmethod::oops_do_marking_epilogue always runs verification code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-27
  • Updated: 2017-11-29
  • Resolved: 2015-11-11
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.
8u152Fixed 9 b94Fixed
We waste up to a few milliseconds every root scanning GC pause, by calling cur->verify_oop_relocations(). This is unnecessary in product builds since the verification uses asserts, which are only enabled in debug builds.
Any plans to backport this to JDK 8u? http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/file/d992b4af24c7/src/share/vm/code/nmethod.cpp#l2293