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

ThreadStateTest gets different results with -Xcomp

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      generic
    • OS:
      generic

      Description

      Test java/lang/Thread/ThreadStateTest.java gets

      /java/east/sqe/gtee/bin/ute -test java/lang/Thread/ThreadStateTest.java -component javase -jdk $JAVA_HOME -vmflavor server -vmopts "-server -Xcomp"

      JDK under test: (/home/cphillim/files/jdk8-b292/linux-i586)
      java version "1.8.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-fastdebug-201208131828.cthaling.main-to-comp-b00)
      Java HotSpot(TM) Server VM (build 24.0-b22-clean_0830_1617-jvmg, mixed mode)

      ----------System.err:(14/884)----------
      java.lang.RuntimeException: MyThread expected to have TERMINATED but got RUNNABLE
              at ThreadStateTest.checkThreadState(ThreadStateTest.java:119)
              at ThreadStateTest.main(ThreadStateTest.java:96)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:474)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:722)


      Passes without -Xcomp.

        Attachments

          Activity

            People

            • Assignee:
              morris Morris Meyer (Inactive)
              Reporter:
              coleenp Coleen Phillimore
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: