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

[TESTBUG] The compiler/6589834/Test_ia32.java timed out

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs16, 7u80, 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      x86
    • OS:
      generic

      Backports

        Description

        The compiler/6589834/Test_ia32.java works too long on linux-i586.

        Looks like it takes too long time just to create 1000 threads and run them in the same time. And on slow machines (like vmsqe-p3-04) test time out. I attached the simplified case (Test.java) which works abnormally long on linux. Please note that it works fine on the Solaris.

        Here is time for Solaris:
        -->time java Test
        Started......

        real 0m0.170s
        user 0m0.109s
        sys 0m0.054s

        Here is for any Linux (Core Quad):
        -->time java Test
        Started......

        real 0m18.584s
        user 1m13.561s
        sys 0m0.040s
        lm153972@vmsqe-core2q-16:~//ws/test>


        If it will be decided as a Test Bug we could update the run() method in the test
        by adding Thread.sleep() before main cycle.

        >>> added 105, 108, 109
        103 try {
        104 ctrs = klass.getConstructors();
        105 Thread.sleep(10);
        106 } catch (SecurityException e) {
        107 System.out.println(e);
        108 } catch (Throwable t) {
        109 }

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fzhinkin Filipp Zhinkin
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: