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

jvmpi causes a hang in 5.0u7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 5.0u7
    • Fix Version/s: None
    • Component/s: vm-legacy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      When the attached program(bid6266681.c/bid6266681.java) is executed in 5.0, a hang will occurs.

      The following is the trace information with gdb.

      (gdb) where
      #0 0xb75d227d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
      #1 0xb75d27cd in pthread_cond_wait@GLIBC_2.0 () from /lib/tls/libpthread.so.0
      #2 0xb6f7bf8e in os::Linux::safe_cond_wait ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #3 0xb6f683b4 in Monitor::wait ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #4 0xb6e31c9d in GC_locker::stall_until_clear ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #5 0xb6df2529 in TwoGenerationCollectorPolicy::mem_allocate_work ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #6 0xb6e3551d in GenCollectedHeap::mem_allocate ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #7 0xb6d2a038 in CollectedHeap::common_mem_allocate_noinit ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #8 0xb6e4cb17 in instanceKlass::allocate_instance ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so
      #9 0xb6db08ae in Runtime1::new_instance ()
         from /JavaL3/users/ooooo/java-bin/jdk1.5.0_07/jre/lib/i386/client/libjvm.so


      NOTE:
       The attached program tries to do
        1) One thread tries to allocate repeatedly.(GC will occurs periodically)
        2) Another thread tries to lock/unlock thru jvmpi

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcubed Daniel Daugherty
              Reporter:
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: