Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8243315

ParallelScavengeHeap::initialize() passes GenAlignment as page size to os::trace_page_sizes instead of actual page size

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
      gc

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sjohanss Stefan Johansson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: