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

GenShen: Only use _plabs when Shenandoah mode is generational

XMLWordPrintable

    • gc

      In the current implementation, every thread is assigned a gclab and a plab, even when we are operating in non-generational mode. Plabs are used for promotion into old and for compaction of old.

      For simplicity and memory usage optimization, the implementation of ShenandoahThreadLocal::initialize_gclab() can avoid allocating _plab buffers and the implementation of ShenandoahRetireGCLABClosure can avoid retiring plabs when mode is not generational.

            wkemper William Kemper
            kdnilsen Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: