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.

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk/hs/rev/cde4a65ba47d
          User: eosterlund
          Date: 2017-11-17 10:42:53 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/hs/rev/cde4a65ba47d User: eosterlund Date: 2017-11-17 10:42:53 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk/jdk/rev/cde4a65ba47d
          User: jwilhelm
          Date: 2017-11-22 15:16:17 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk/rev/cde4a65ba47d User: jwilhelm Date: 2017-11-22 15:16:17 +0000

            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: