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

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15
    • 16
    • hotspot
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: