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

hotspot:::monitor-waited throws 'invalid address' error with jdk-solaris-sparcv9.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • b55
    • sparc
    • solaris_10
    • Verified

      Invalid class_name argument is passed in 'hotspot:::monitor-waited' probe.

      Result of running ./Monitors_error.d is 'invalid address' error:
       dtrace: error on enabled probe ID 3 (ID 34967:
      hotspot580:libjvm.so:__1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_:monitor-waited):
       invalid address (0xc000) in action #5 at DIF offset 28

      Result of running ./Monitors_safe.d:
       monitor-waited: thread_id=1, monitor_id=136, class_name_len=-2178736164
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^

      Result of running ./Monitors_death.d is OS hangs and as sequence reboot of
      the system.

      Tested jdk: /net/cocoa.east/export/jdk-6.0/solaris-sparcv9/

      To reproduce run:
       # java -d64 -XX:+UnlockDiagnosticVMOptions -XX:+PauseAtStartup Monitors001 & echo $!

       # ./Monitors_safe.d -p JAVA_PID


      This bug is reproduced with all modes: -Xint, -Xmixed, -Xcomp.

      This bug is not reproduced with 32bit version of jdk.

      Looks like it is not duplicate of 6289317.

            kamg Keith Mcguigan (Inactive)
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: