JDK-8061205 : MetadataOnStackMark only needs to walk code cache during class redefinition
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-10-16
  • Updated: 2015-06-03
  • Resolved: 2015-03-13
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 b57Fixed
Related Reports
Relates :  
Description
Marking all of the methods is unnecessary and may increase pause time for class unloading.
Comments
This should enable cleaning up code that mixes GC root walking with mark_on_stack code while walking the code cache.
26-01-2015

Rework purge_previous_versions so that only class redefinition walks code cache via MetadataOnStackMark and puts scratch_classes on the CLD deallocate_list once they can be unconditionally removed.
26-01-2015