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

ThreadStateTest gets different results with -Xcomp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • hotspot
    • b115
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: