[Lilliput/JDK17] Properly deal with flag mismatch in CDS

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: repo-lilliput-17
    • Component/s: hotspot
    • None

      There is a problem that disabling Lilliput effectively disables CDS. Upstream patch makes it better, we should backport it to 17u ahead of time.
       https://github.com/openjdk/jdk/commit/69d469adf0e6dcec943929836e0a0620f63b46f0

      Note that the intention for this block is to match the setting during the CDS dump at build time. In lilliput/jdk17u, UCOH = true by default, so the arguments adjustment block assumes CDS-with-UCOH archive is built, and CDS gets disabled when Lilliput is off.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: