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

Crash in Copy::pd_fill_to_words with Parallel GC

    • gc
    • generic
    • generic

      The test

      gc/gctests/MemoryEaterMT

      crashes causes crash with Parallel GC and Parallel Old GC (not with other collectors). I am only able to reproduce it with product build.

      # An unexpected error has been detected by Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xcac0e4fb, pid=7142, tid=18
      #
      # Java VM: Java HotSpot(TM) Server VM (11.0-b09-2007-11-26-201816.et151817.hsx11 mixed mode solaris-x86)
      # Problematic frame:
      # j java.util.ArrayList.add(Ljava/lang/Object;)Z+7
      #
      # An error report file with more information is saved as:
      # /export/local/3780.JDK7.NIGHTLY.VM+solaris-i586-any_server_mixed_vm.gc.testlist/results/ResultDir/MemoryEaterMT/hs_err_pid7142.lo
      g
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      Part of stack trace with -XX:+UseParallelOldGC:

       ce1526a4 void Copy::pd_fill_to_words(HeapWord*,unsigned,unsigned) (c5598a38, 2771ee, 0) + 1c
       ce09ddec typeArrayOopDesc*typeArrayKlass::allocate(int,Thread*) (a6800808, 9dc7ae, 8313c00) + e8
       ce09dfd4 typeArrayOopDesc*oopFactory::new_typeArray(BasicType,int,Thread*) (8, 9dc7ae, 8313c00) + 20
       ce519efb void OptoRuntime::new_array_C(klassOopDesc*,int,JavaThread*) () + 5b

      Part of stack trace without -XX:+UseParallelOldGC:
       ce104897 void CardTableModRefBS::dirty_MemRegion(MemRegion) (80699e0, a63ff790) + 2b
       ce3032c3 oopDesc*CollectedHeap::new_store_barrier(oopDesc*) (8069938, c6fcb0e0) + af
       ce50afd5 void OptoRuntime::do_eager_card_mark(JavaThread*) (824d800) + 35
       ce50b30e void OptoRuntime::new_array_C(klassOopDesc*,int,JavaThread*) () + 13a
       cac4f69d ???????? ()
       a6800aa0 ???????? ()

            jcoomes John Coomes (Inactive)
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: