Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14102

JVM GC Logs never set on the server

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Final
    • 14.0.0.Final
    • Server
    • None

      ISPN-13905 removed the modular jdk logic from bin/common.sh, however the JVM GC logic was not updated to reflect this. The current logic relies on the removed MODULAR_JDK env variable, consequently the wrong GC settings are assigned to TMP_PARAM and the subsequent java call fails, preventing TMP_PARAM being appended to PREPEND_JAVA_OPTS.

      As java 11 and 17 support the same GC flags, we can remove all of the version specific GC logic and simply add the GC args to PREPEND_JAVA_OPTS directly.

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: