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

Zero: Allow ergonomics to select the GC

XMLWordPrintable

    • b18

      Zero is currently defaulting to Serial GC on all machines, due to the fact that `NeverActAsServerClassMachine` is `true`. It is set in `compiler_globals.pd` under `#if !defined(COMPILER1) && !defined(COMPILER2) && !INCLUDE_JVMCI`. `NeverActAsServerClassMachine` mostly affects compiler ergonomics, which Zero does not need, but it also affects the selection of default GC.

      After JDK-8256497, we can let Zero default to G1. After JDK-8292329, it would help Zero to use the CDS shared heap.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: