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

[testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices

XMLWordPrintable

    • b63

        The test failing on slow device in -Xcomp mode because of JIT take much time. In case we warm up VM the test passes.

        Example of results:

        /export/local/aurora/CommonData/jdk/bin/java -server -Xcomp LocalTimeNow
        diff = 116000000
        Fail

        Result of fixed test:
         /export/local/aurora/CommonData/jdk/bin/java -server -Xcomp LocalTimeNow
        12:36:50.356Z
        12:36:56.283Z
        12:36:56.648Z
        12:36:56.649Z
        12:36:56.650Z
        12:36:56.651Z
        12:36:56.651Z
        12:36:56.652Z
        12:36:56.653Z
        12:36:56.653Z
        diff = 22000000
        Ok


        Executed with 8u60 Linux-arm-hf.
        In case of -Xint and -Xmixed the test passes.

              rriggs Roger Riggs
              skovalev Sergei Kovalev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: