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

-XX:+ExtendedDTraceProbes flag hangs Java process and also fails assertion under fastdebug.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • b59
    • 6
    • b77
    • sparc
    • solaris
    • Verified

      Client compiler (-client -Xcomp) with enabled ExtendedDTraceProbes option
      hangs java process.

      See "jstack -F -l <java_pid>", "jstack -F -m <java_pid>", "pstack
      <java_pid>" logs in attachment.


      As result this bug causes dtrace/hotspot/Monitors/Monitors001/ test to be failed.

      To reproduce do:
      1. cd /home/ep155969/bugs/ExtendedProbes_bug
      2. bash Monitors001.tlog
          or
         bash reproduce_bug.sh Monitors001.tlog


      Tested JDK:
      java version "1.6.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b70)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b70, compiled mode)

      I wasn't able to reproduce this bug with Server compiler.

      ----

      Fastdebug version also fails. The log is:

      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # Internal Error (/BUILD_AREA/jdk6.0/hotspot/src/cpu/sparc/vm/assembler_sparc.cpp, 1852 [ Patched ]), pid=10795, tid=2
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-fastdebug-b70-debug compiled mode)
      #
      # Error: assert(false,"error")
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      To reproduce under fastdebug do:
      1. cd /home/ep155969/bugs/ExtendedProbes_bug
      2. bash Monitors001.tlog_debug


      Following tests also fail the same assertion under fastdebug:
       dtrace/hotspot/MethodInvocation/MethodInvocation001
       dtrace/hotspot/MethodInvocation/MethodInvocation002
       dtrace/hotspot/ObjectAllocation/ObjectAllocation001
       dtrace/hotspot/ObjectAllocation/ObjectAllocation002

      (added just to include these tests in known bugs list)

            never Tom Rodriguez
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: