JDK-8134858 : Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-09-01
  • Updated: 2015-11-09
  • Resolved: 2015-09-02
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 9
9 b83Fixed
Related Reports
Blocks :  
Relates :  
Description
There is extraneous Young/OldPLAB size checking in the G1CollectedHeap constructor at lines 185-191 in G1CollectorPolicy.cpp. (After the "Verify PLAB sizes" comment)

JDK-8078555 added this validation step in an earlier phase. Also the bounds used here (raw region word size) are wrong.
Comments
FYI, validation for PLAB related flags by JDK-8078555 will be done after creating heap. i.e. PLAB related constraint functions are called after creating G1CollectorPolicy instance.
01-09-2015