Java VM crashes with access violation when started with -XX:+UseConcMarkSweepGC

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • hs23
    • Affects Version/s: hs23, 7u25
    • Component/s: hotspot
    • gc
    • windows_2008

      FULL PRODUCT VERSION :
      java version " 1.7.0_25 "
      Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
      Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

      FULL OS VERSION :
      Tested on multiple platforms (redhat linux and windows)
      e.g. microsoft windows server 2008 r2 enterprise
      (6.1.7601 SP 1)

      A DESCRIPTION OF THE PROBLEM :
      When starting the Java-VM with more than 128 Gigabytes of Heapsize:
      java.exe -server -Xms140g -Xmx140g -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:+UseConcMarkSweepGC

      the JAVA VM crashes with access violation dialogue (windows)
      Same under linux (segmentation fault)

      There are similar problems already described in the bug database:
      JDK-8011190
      JDK-7197906
      According to the bug database these are already fixed (but it seems they are NOT)

      Tested also with latest version of Java6(43) -> same problem


      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just start a VM using:
      -server -Xms140g -Xmx140g -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:+UseConcMarkSweepGC
      as parameter

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected: Java VM starts and works properly
      Actual: Java VM crashes
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Error message when started on windows (contained in the error dialogue of windows):
      Problem signature:
        Problem Event Name:APPCRASH
        Application Name:java.exe
        Application Version:7.0.250.17
        Application Timestamp:51c4b1fc
        Fault Module Name:msvcr100.dll
        Fault Module Version:10.0.30319.460
        Fault Module Timestamp:4db1316a
        Exception Code:c0000005
        Exception Offset:000000000003c350
        OS Version:6.1.7601.2.1.0.274.10
        Locale ID:1031
        Additional Information 1:d88d
        Additional Information 2:d88db958fddab0a6ecce64dc175d2f43
        Additional Information 3:b635
        Additional Information 4:b635a7f4a8b9426b33fc792420cfd294

      Read our privacy statement online:
        http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

      If the online privacy statement is not available, please read our privacy statement offline:
        C:\Windows\system32\en-US\erofflps.txt



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      No need for source code
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      It seems to work if we do not use the CMS-GC.

      But according to our performance tests with our application the " old GCs " do lead to blocking time (and communication timeouts)
      Only current alternative is G1GC which does not lead to timeouts but decreases the performance in comparison to CMS-GC

      Also tried to start the VM with lower XMS value. So the VM started, but after doing some tests the access violations occured after FullGC of the system

            Assignee:
            Andreas Eriksson (Inactive)
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: