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

Assert in markSweep during a full gc

XMLWordPrintable

    • gc
    • generic, sparc
    • solaris_8

      While testing bug 4802822, I get the following assert:

      Forcing desperate garbage collection...
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/markSweep.inline.hpp:15
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.1-internal-debug compiled mode)
      #
      # assert(new_pointer != 0 || obj->mark() == markOopDesc::prototype(), "should contain a forwarding pointer")
      #
      # Error happened during: full generation collection
      #
      # Error ID: /net/slo/export/azeem/4797656/src/share/vm/gc_implementation/shared/markSweep.inline.hpp, 15 [ Patched ]
      #
      # Thread requesting VM operation: prio=5 tid=0x006919c8 nid=0x13 waiting on condition
      #

      Heap at VM Abort:
      Heap
       par new generation total 4032K, used 12K [0xf0800000, 0xf0c00000, 0xf1d50000)
        eden space 3968K, 0% used [0xf0800000, 0xf0800000, 0xf0be0000)
        from space 64K, 19% used [0xf0bf0000, 0xf0bf3218, 0xf0c00000)
        to space 64K, 0% used [0xf0be0000, 0xf0be0000, 0xf0bf0000)
       concurrent mark-sweep generation# To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/binaryTreeDictionary.cpp:702
      [error occured during error reporting]
       total 8040K, used 5080K [0xf1d50000, 0xf252a000, 0xf4800000)
       concurrent-mark-sweep perm gen
      Unexpected Signal : 10 occurred at PC=0xFDF670F0
      Function=[Unknown. Nearest: SUNWprivate_1.1+0x3670F0]
      Library=/export/azeem/jdk1.4/jre/lib/sparc/server/libjvm.so


      Its an intermittent problem that is hindering bug 4802822

      ==========================

      New assert with the same test case, BUT I've removed the -Xconcgc and -XX:+UseNewParGC flags

      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/markSweep.inline.hpp:19
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.1-internal-debug compiled mode)
      #
      # assert(Universe::heap()->is_in_reserved(new_pointer), "should be in object space")
      #
      # Error happened during: full generation collection
      #
      # Error ID: /export/azeem/c2/src/share/vm/gc_implementation/shared/markSweep.inline.hpp, 19 [ Patched ]
      #
      # Thread requesting VM operation: prio=5 tid=0x000000010028b3e8 nid=0xe waiting on condition
      #

      Heap at VM Abort:
      Heap
       def new generation total 3200K, used 529K [0xffffffff2ec00000, 0xffffffff2ef30000, 0xffffffff30150000)
        eden space 3136K, 16% used [0xffffffff2ec00000, 0xffffffff2ec844c8, 0xffffffff2ef10000)
        from space 64K, 0% used [0xffffffff2ef10000, 0xffffffff2ef10000, 0xffffffff2ef20000)
        to space 64K, 0% used [0xffffffff2ef20000, 0xffffffff2ef20000, 0xffffffff2ef30000)
       tenured generation total 6408K, used 3840K [0xffffffff30150000, 0xffffffff30792000, 0xffffffff32c00000)
         the space 6408K, 59% used [0xffffffff30150000, 0xffffffff305103b8, 0xffffffff30590a00, 0xffffffff30792000)
       compacting perm gen total 10240K, used 2524K [0xffffffff32c00000, 0xffffffff33600000, 0xffffffff36c00000)
         the space 10240K, 24% used [0xffffffff32c00000, 0xffffffff32e77238, 0xffffffff32e77400, 0xffffffff33600000)
      Dumping core....

      ###@###.### 2003-01-16

            ysr Y. Ramakrishna
            azeemj Azeem Jiva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: