JDK-8166228 : Remove unused HeapRegion::object_iterate_mem_careful()
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-09-17
  • Updated: 2018-06-21
  • Resolved: 2016-09-20
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 9
9 b139Fixed
Description
Part of addressing JDK-8160369 involves examining and possibly fixing all uses of Klass::klass_or_null().  HeapRegion::object_iterate_mem_careful() calls klass_or_null(), but is unused.  Rather than studying and possibly modifying this bit of dead code, it should just be removed.