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

Move heap creation into GC interface

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b34
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently, the heap is created using a longish if (UseXGC) { .. } else if (UseYGC) {...} chain in universe.cpp Universe::create_heap(). It'd be cleaner to move this functionality into the GC interface. The GC class introduced by JDK-8189171 looks like a perfect fit for it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: