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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b26

      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

          Issue Links

            Activity

              People

              Assignee:
              jnordstrom Joakim Nordström
              Reporter:
              sjohanss Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: