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

VM asserts at mutexLocker.cpp:99

XMLWordPrintable

    • b29
    • generic
    • generic
    • Verified

      VM asserts while running swingmark on solx86 and appserver on solsparc

      java -version

      /net/malloc/export/NEWAPPS/workload/benchmarks/swingmark( 26 )% /net/malloc.sfbay/export/VMs/latest-JDK/solx86/bin/java -server -version
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b22)
      Java HotSpot(TM) Server VM (build 20031002090611.robertg.baseline-debug, mixed mode)
      How to reproduce:
      cd /net/malloc/export/NEWAPPS/workload/benchmarks/swingmark
      /net/malloc.sfbay/export/VMs/latest-JDK/solx86/bin/java -server -DIAMHANGING -XX:CompileThreshold=100 -Xms256m -Xmx256m -XX:CompileThreshold=100 -XX:MarkSweepAlwaysCompactCount=1 -XX:NmethodSweepFraction=1 -XX:+PerfDataSaveToFile SwingMark -r 1 -q

      ---------------------Solx86--------------------------
      /net/malloc.sfbay/export/VMs/latest-JDK/solx86/bin/java -server -DIAMHANGING -XX:CompileThreshold=1
      00 -Xms256m -Xmx256m -XX:CompileThreshold=100 -XX:MarkSweepAlwaysCompactCount=1 -XX:NmethodSweepFra
      ction=1 -XX:+PerfDataSaveToFile SwingMark -r 1 -q
      Starting SwingMark
      SwingMark Test started at Sun Oct 05 03:31:42 PDT 2003
      Will run test 1 times in the same VM
      Program will automatically terminate after last run
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/mutexLocker.cpp:99]
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/net/prt-solx86-q1-2/PrtBuildDir/workspace/src/share/vm/runtime/mutexLocker.cpp,
       99), pid=17563, tid=9
      #
      # Java VM: Java HotSpot(TM) Server VM (20031002090611.robertg.baseline-debug mixed mode)
      #
      # Error: must own lock Compile_lock
      # An error report file with more information is saved as hs_err_pid17563.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      VM option 'CompileThreshold=100'
      VM option 'CompileThreshold=100'
      VM option 'MarkSweepAlwaysCompactCount=1'
      VM option 'NmethodSweepFraction=1'
      VM option '+PerfDataSaveToFile'
      Current thread is 9
      Dumping core ...
      Abort - core dumped
      ------------------------------------------------------
      --------------------Solsparc--------------------------
      [04/Oct/2003:19:51:11] INFO ( 3059): CORE1116: Sun ONE Application Server 7.0.0_01
      [04/Oct/2003:19:51:12] WARNING ( 3060): CORE3283: stderr: VM option '+DisableExplicitGC'
      [04/Oct/2003:19:51:12] WARNING ( 3060): CORE3283: stderr: VM option 'CompileThreshold=100'
      [04/Oct/2003:19:51:12] WARNING ( 3060): CORE3283: stderr: VM option '+UseParallelGC'
      [04/Oct/2003:19:51:12] WARNING ( 3060): CORE3283: stderr: VM option '+PrintGC'
      [04/Oct/2003:19:51:36] INFO ( 3060): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0-bet
      a] from [Sun Microsystems Inc.]
      [04/Oct/2003:19:52:16] INFO ( 3060): JMS5023: JMS service successfully started. Instance Name = dom
      ain1_spec2001-1, Home = [/export/appservers/sunone/imq/bin].
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # To suppress the following error report, sp
      ecify this argument
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # after -XX: or in .hotspotrc: SuppressErro
      rAt=/mutexLocker.cpp:99]
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: #
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # An unexpected error has been detected by H
      otSpot Virtual Machine:
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: #
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # Internal Error (/net/prt-solsparc-q1-1/tm
      p/PrtBuildDir/workspace/src/share/vm/runtime/mutexLocker.cpp, 99 [ Patched ]), pid=3060, tid=35
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: #
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # Java VM: Java HotSpot(TM) Server VM (20031
      002090611.robertg.baseline-debug mixed mode)
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: #
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # Error: must own lock Compile_lock
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # An error report file with more information
       is saved as hs_err_pid3060.log
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: #
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # If you would like to submit a bug report,
      please visit:
      [04/Oct/2003:19:52:20] INFO ( 3060): CORE3282: stdout: # http://java.sun.com/cgi-bin/bugreport.cg
      i

      ------------------------------------------------------

      There are a bunch of NSK tests that have this bug when run with -Xcomp.
      I haven't run in that mode for a while so I don't have the list. I thought
      they were reported under a different bug though, but the string
      "must own lock Compile_lock" is only found in this bug.

      The nsk test:
      nsk/stress/thread/thread003

      got it yesterday with -d64 fastdebug intermittently with -Xshared. Trying to
      find a set of options to make it fail more frequently.

      ###@###.### 2003-10-29

      I attached the hs_err* file. The stack trace looks like it's coming from the
      compiler:

      V [libjvm.so+0xa8dff4] void assert_locked_or_safepoint(const Mutex*)+0xd4
      V [libjvm.so+0x4396d0] int ciEnv::system_dictionary_modification_counter_change
      d()+0x38
      V [libjvm.so+0x3f04b4] JVMState*ParseGenerator::generate(JVMState*)+0x2dc
      V [libjvm.so+0x58a1d4] void Parse::do_call()+0x90c
      V [libjvm.so+0xb15fb4] void Parse::do_one_block()+0x404
      V [libjvm.so+0xb0f504] void Parse::do_all_blocks()+0x16c
      V [libjvm.so+0xb0f274] Parse::Parse(JVMState*,ciMethod*,float)+0x134c
      V [libjvm.so+0x3f041c] JVMState*ParseGenerator::generate(JVMState*)+0x244

            jloizeausunw Jane Loizeaux (Inactive)
            mavvarisunw Madhava Avvari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: