JDK-8179268 : Factor out AdaptiveSizePolicy from top-level interfaces CollectorPolicy and CollectedHeap
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-04-25
  • Updated: 2017-08-25
  • Resolved: 2017-07-12
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 10
10 b21Fixed
Related Reports
Relates :  
Description
Currently, both the CollectorPolicy and CollectedHeap interfaces require implementors to provide an AdaptiveSizePolicy via their size_policy() methods. However: 1. Not all GCs need/use an adaptive size policy (e.g. G1 doesn't), 2. it's not called/used from outside the GC and thus doesn't really belong into the runtime <-> GC interface. The size policy related methods should be moved down to the subclasses that actually use them.