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

vm asserts because _sweep_timer.seconds() is less than 0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      x86
    • OS:
      linux

      Description


      Test case:
      java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh

      VM crash info:

      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/PrtBuildDir/workspace/src/share/vm/memory/concurrentMarkSweepGeneration.cpp, 1784), pid=31380, tid=1079327088
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (20050607083738.dcubed.service_hs_merge-debug mixed mode)
      #
      # Error: assert(_sweep_timer.seconds() > 0,"For error-free division")

      --------------- T H R E A D ---------------

      Current thread (0x0000002aa8636018): VMThread [id=31384]

      Stack: [0x0000000040454000,0x0000000040554000), sp=0x0000000040552c30, free space=1019k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x9a3590];; _ZN7VMError14report_and_dieEv+0x1b0
      V [libjvm.so+0x40ba0e];; _Z24report_assertion_failurePKciS0_+0x6e
      V [libjvm.so+0x3d460b];; _ZN12CMSCollector18do_compaction_workEi+0x50b
      V [libjvm.so+0x3d3ac8];; _ZN12CMSCollector27acquire_control_and_collectEii+0x2d8
      V [libjvm.so+0x3d374d];; _ZN12CMSCollector7collectEiimi+0x1ad
      V [libjvm.so+0x3d3593];; _ZN29ConcurrentMarkSweepGeneration7collectEiimi+0x13
      V [libjvm.so+0x471a3a];; _ZN16GenCollectedHeap13do_collectionEiimiiPi+0x87a
      V [libjvm.so+0x473183];; _ZN16GenCollectedHeap18do_full_collectionEiiPi+0x53
      V [libjvm.so+0x9a48fa];; _ZN17VM_GenCollectFull4doitEv+0xaa
      V [libjvm.so+0x9ca669];; _ZN12VM_Operation8evaluateEv+0x99
      V [libjvm.so+0x9c974c];; _ZN8VMThread18evaluate_operationEP12VM_Operation+0x7c
      V [libjvm.so+0x9c9b3b];; _ZN8VMThread4loopEv+0x27b
      V [libjvm.so+0x9c9470];; _ZN8VMThread3runEv+0xc0
      V [libjvm.so+0x7e1b14];; _Z6_startP6Thread+0x154

      On amd64 sweep time may be less than a second.
      ###@###.### 2005-06-08 17:39:02 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                swamyv Swamy Venkataramanappa
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: