Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084819 | emb-9 | Roger Riggs | P2 | Resolved | Fixed | team |
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.
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.
- backported by
-
JDK-8084819 [testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices
-
- Resolved
-