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

Remove second argument in the two-arg ReservedSpace constructor

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      This two-arg constructor can be accidentally used instead of the 4-arg constructor and the one caller in g1 and the 3 in shenandoah can use the 4 arg constructor instead to specify alignment and large pages.

      I have a tested patch for this but not sure if it covers the cross product of windows where os::vm_allocation_granularity != os::vm_page_size, and UseLargePages correctly, or how to tell. So assigning to category GC.


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: