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

Launching Java with G1 and large pages causes CDS errors to be printed

XMLWordPrintable

    • x86_64
    • windows_10

      ADDITIONAL SYSTEM INFORMATION :
      openjdk version "24-ea" 2025-03-18
      OpenJDK Runtime Environment (build 24-ea+33-3628)
      OpenJDK 64-Bit Server VM (build 24-ea+33-3628, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      Launching Java with G1 and large pages causes CDS errors to be printed:

      [0.027s][error][cds] Failed to commit static region #3 (Heap)
      [0.027s][error][cds] Failed to read archived heap region into 0x00000007ffc00000

      The errors appear to be harmless, because the app runs perfectly fine as far as I can tell.


      REGRESSION : Last worked in version 23.0.2

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java -Xmx1g -XX:+UseLargePages -XX:+UseG1GC AnyClass


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No errors should be printed.
      ACTUAL -
      [0.027s][error][cds] Failed to commit static region #3 (Heap)
      [0.027s][error][cds] Failed to read archived heap region into 0x00000007ffc00000


      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: