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

gc/arguments/TestNewSizeFlags.java failed with actual new size > MaxNewSize

XMLWordPrintable

    • gc

      Has been only seen on linux-aarch64-debug so far. The arguments list seem to be a pre-requisite as well:

      -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+VerifyOops

      The stack trace and error message:

      ----------System.err:(24/1537)----------
       stdout: [[0.023s][warning][gc,ergo] NewSize (20480k) is greater than the MaxNewSize (10240k). A new max generation size of 20480k will be used.
      ];
       stderr: [Exception in thread "main" java.lang.RuntimeException: actual new size > MaxNewSize value: 22020096 > 20971520
      at gc.arguments.TestNewSizeFlags$NewSizeVerifier.verifyNewSize(TestNewSizeFlags.java:254)
      at gc.arguments.TestNewSizeFlags$NewSizeVerifier.lambda$main$0(TestNewSizeFlags.java:209)
      at gc.arguments.AllocationHelper.allocateMemoryAndVerify(AllocationHelper.java:88)
      at gc.arguments.AllocationHelper.allocateMemoryAndVerifyNoOOME(AllocationHelper.java:100)
      at gc.arguments.TestNewSizeFlags$NewSizeVerifier.main(TestNewSizeFlags.java:210)

            Unassigned Unassigned
            enikitin Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: