JDK-8200723 : Suppress rs_length and predicted_cards sampling during mixed gcs
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-04-04
  • Updated: 2018-06-21
  • Resolved: 2018-04-18
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 b11Fixed
Related Reports
Relates :  
Description
Related to JDK-8035557, one way to temporarily fix the issue with the wrong predictions of rs length and card prediction is to suppress sampling of these metrics during mixed gc.

Since mixed gc does not use these, sampling during mixed gc only inflates these predictions for the young gc following mixed gcs.

The disadvantage is that the prediction for this first young gc after the mixed gc might be off due to many leftover cards from the mixed phase.
Comments
This change somewhat decreases the issues shown in JDK-8035557, however it would be still interesting to fix that properly.
04-04-2018