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

Unify ReservedSpace reservation code in initialize and try_reserve_heap

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • gc
    • b20

    Description

      The code in ReservedSpace::initialize(...) and ReservedHeapSpace::try_reserve_heap(...) is very similar and more or less does the same things. The difference between them is logging and how errors are handled.

      The code could be unified to make it easier to do changes to the reservation code without having to change two places.

      This change is a step towards JDK-8261527.

      Attachments

        Issue Links

          Activity

            People

              sjohanss Stefan Johansson
              sjohanss Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: