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

ThreadBlockedCount jtreg test fails on Solaris sparc on service_sdk nightly

    Details

      Description

      jtreg test:

      java/lang/management/ThreadMXBean/ThreadBlockedCount.java
      java/lang/management/ThreadMXBean/Locks.java
      java/lang/management/ThreadMXBean/ThreadStateTest.java


      #section:script_messages
      ----------messages:(4/319)----------
      JDK under test: (/export/home/ohair/service_sdk_nightly_wscopy/build/solaris-sparc)
      java version "1.5.0-service_sdk_nightly-04-28T02-22"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-service_sdk_nightly-04-28T02-22-ohair_28_apr_2004_02_30)
      Java HotSpot(TM) Server VM (build 1.5.0-beta2-b48, mixed mode)

      #section:build
      ----------messages:(3/109)----------
      command: build Semaphore
      reason: User specified action: run build Semaphore
      elapsed time (seconds): 0.0020
      result: Passed. No need to compile: Semaphore.java

      #section:build
      ----------messages:(3/102)----------
      command: build ThreadBlockedCount
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. No need to compile: ThreadBlockedCount.java

      #section:main
      ----------messages:(3/123)----------
      command: main ThreadBlockedCount
      reason: User specified action: run main ThreadBlockedCount
      elapsed time (seconds): 1.278
      ----------System.out:(6/228)----------
      BlockingThread attempts to notify a
      BlockedThread entered lock blockedObj1.
      BlockingThread attempts to notify b
      BlockedThread entered lock blockedObj2.
      BlockingThread attempts to notify c
      BlockedThread entered lock blockedObj2.
      ----------System.err:(14/765)----------
      TEST FAILED: Blocked thread has 4 blocked counts. Expected 3
      java.lang.RuntimeException: TEST FAILED.
              at ThreadBlockedCount.main(ThreadBlockedCount.java:52)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:495)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
              at java.lang.Thread.run(Thread.java:595)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: TEST FAILED.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TEST FAILED.
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TEST FAILED.


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TEST FAILED.

        Attachments

          Activity

            People

            • Assignee:
              swamyv Swamy Venkataramanappa
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: