JDK-8202447 : Fix unloading_occurred to mean unloading_occurred
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-04-30
  • Updated: 2019-08-03
  • Resolved: 2018-05-03
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 11
11 b13Fixed
Related Reports
Duplicate :  
Relates :  
Description
There's code that tests for JVMTI and sets the unloading_occurred flag in nmethod.cpp.  This is code left over from Permgen when the old, not running methods were oops in the nmethod and needed to be cleaned out.
Redefinition was fixed eagerly clean old methods, rather than wait for GC. This flag setting and the commentary around it are no longer valid.
The nmethod IC , weak_klass links and dependency Klass cleaning only needs to be done if a klass is unloaded.