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

race in java.lang.instrument reg test TransformerManagementThreadAddTests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • core-svc
    • None
    • generic
    • generic

      The following regression test fails intermittently in nightly on some Linux machines:
        java/lang/instrument/TransformerManagementThreadAddTests.java

      > New INSTRUMENT_REGRESSION failures (from 2007.06.07)
      > * java/lang/instrument/TransformerManagementThreadAddTests.java
      > This test failed because a transformation appeared in an
      > unexpected order on Linux IA32 Client VM (machine jck-win5).
      > Bug 4926961 talks about a bad assumption about the addition
      > of transformers. I wonder if this is the same bug.

      This is the error log below:

      ----------System.err:(19/1467)----------
      ATestCaseScaffold$TestCaseScaffoldException: TT[Trans12][001] incorrectly appeared before TT[Trans12][000] i=1 j=507 size=1014
      at ATestCaseScaffold.fail(ATestCaseScaffold.java:116)
      at ATestCaseScaffold.assertTrue(ATestCaseScaffold.java:129)
      at TransformerManagementThreadAddTests.finalCheck(TransformerManagementThreadAddTests.java:224)
      at TransformerManagementThreadAddTests.testMultiThreadAdds(TransformerManagementThreadAddTests.java:138)
      at TransformerManagementThreadAddTests.doRunTest(TransformerManagementThreadAddTests.java:51)
      at ATestCaseScaffold.runTest(ATestCaseScaffold.java:60)
      at TransformerManagementThreadAddTests.main(TransformerManagementThreadAddTests.java:45)
      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:624)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
      at java.lang.Thread.run(Thread.java:637)

            Unassigned Unassigned
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: