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

Remove second argument in the two-arg ReservedSpace constructor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 15
    • hotspot
    • None
    • gc

      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.


            stefank Stefan Karlsson
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: