JDK-8058611 : Investigate more efficient code cache sweeping
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2014-09-17
  • Updated: 2015-10-28
  • Resolved: 2015-10-28
Related Reports
Relates :  
The segmented code cache (JDK-8015774) opens up the possibility for selective sweeping of the code cache segments. For example, it could be beneficial to sweep the profiled segment more often than the non-profiled segment.

We have to evaluate different strategies with respect to overall performance.
I evaluated this while implementing the Segmented Code Cache and it didn't pay off.