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

VM initialization error. Could not create ConcurrentG1RefineThread

XMLWordPrintable

    • gc
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      OS: Win 10
      JDK: JDK8u361

      A DESCRIPTION OF THE PROBLEM :
      JDK8 couldn't create G1RefineThread when I set the parameters G1ConcRefinementThreads to a large value, but both JDK11 and JDK17 worked. I would like to know why does JDK8 run for a long time and even cause the computer to crash, but JDK11 and JDK17 run out very quickly. Is it a bug in JDK8? Thank you.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Step1. Create a emtpy java program Test.java :

      public class Test {
          public static void main(String[] args) {
          }
      }

      Step2. Compile the program.

      Step3. Run the program with command `java -XX:G1HeapRegionSize=10000000 -XX:G1ConcRefinementThreads=3000000 -XX:+UseG1GC Test `

      ACTUAL -
      Error occurred during initialization of VM
      Could not create ConcurrentG1RefineThread

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

              Created:
              Updated:
              Resolved: