Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6022

[drlvm][gc] (irreproducible) assertion failure in semi-space GC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • DRLVM
    • None
    • Linux32

    Description

      The integrity testing cycle reports an irreproducible error from the semispace GC.
      Here are the error info:

      Exit code: 134 Err: java: /home/laichunrong/harmony.regularcc/infra/build/checkouts/hdk/working_vm/vm/gc_gen/src/semi_space/sspace.cpp:309: sspace_reset_after_collection: Assertion `0' failed.

      Signal reported: ABORT

      Registers info is absent

      Command line:
      /home/laichunrong/harmony.regularcc/infra/build/checkouts/hdk/target/hdk/jdk/jre/bin/java -Xem:jet -XX:-vm.assert_dialog -Djava.library.path=/home/laichunrong/harmony.regularcc/infra/build/checkouts/hdk/working_vm/build/linux_x86_gcc_debug/tests/smoke.tests/natives/stress -classpath /home/laichunrong/harmony.regularcc/infra/build/checkouts/hdk/working_vm/build/linux_x86_gcc_debug/tests/smoke.tests/classes stress.Intern

      Working directory:
      /home/laichunrong/harmony.regularcc/infra/build/checkouts/hdk/working_vm/build/linux_x86_gcc_debug/tests/smoke.tests

      I checked the code and saw some comments below

      /* Check if sspace has no enough blocks to hold tospace. */
      if( sspace->tospace_first_idx - sspace->first_block_idx <= num_tospace_blocks )

      { /* this case shold never happen right after minor collection, might happen after nos_boundary adjusted */ assert(0); num_tospace_blocks = (sspace->tospace_first_idx - sspace->first_block_idx) >> 3; num_fromspace_blocks = sspace->num_managed_blocks - num_tospace_blocks; }

      Attachments

        1. index.html
          18 kB
          Chunrong Lai

        Activity

          People

            xiao-feng li Xiao-Feng Li
            chunrong lai Chunrong Lai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: