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

Unify ReservedSpace reservation code in initialize and try_reserve_heap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • gc
    • b20

      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.

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

              Created:
              Updated:
              Resolved: