JDK-7156764 : Remove unused size parameter from some CollectedHeap methods
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs24
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-03-26
  • Updated: 2013-09-04
  • Resolved: 2012-03-31
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 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
5 methods in CollectedHeap take a size parameter without using it.

There are also two more minor cleanups that needs to be done:
- The comment for G1CollectorPolicy::next_gc_should_be_mixed() needs an update
- The declaration of CollectedHeap::initialize_heap_log() is not needed

Verified in: JDK:1.7.0_40-ea-b28 HS:24.0-b47

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/9a9bb0010c91

EVALUATION Webrev out for these changes.