JDK-8243315 : ParallelScavengeHeap::initialize() passes GenAlignment as page size to os::trace_page_sizes instead of actual page size
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-21
  • Updated: 2020-12-02
  • Resolved: 2020-11-25
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 16
16 b26Fixed
Related Reports
Relates :  
Description
Using GenAlignment as the page size like this is wrong:
os::trace_page_sizes("Heap",
                       MinHeapSize,
                       reserved_heap_size,
                       GenAlignment,
                       heap_rs.base(),
                       heap_rs.size());

We should instead pass in the correct "os" page size used. It might make sense to add some additional log that logs the different alignments used by parallel, because I think this is the only place the GenAlignment is printed.

Comments
Changeset: 8cd2e0f6 Author: Joakim Nordstr��m <joakim.nordstrom@oracle.com> Committer: Stefan Johansson <sjohanss@openjdk.org> Date: 2020-11-25 09:36:45 +0000 URL: https://github.com/openjdk/jdk/commit/8cd2e0f6
25-11-2020