JDK-8294137 : Review running times of java.math tests
Type:Sub-task
Component:core-libs
Sub-Component:java.math
Affected Version:20
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2022-09-21
Updated:2024-04-28
Resolved:2023-03-23
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
[jdk11u-fix-request] Approval Request from Amos
"Backporting for parity with 11.0.24-oracle. Clean backport. No risk, test fix. SAP nightlies passed on 2024-04-28.”
28-04-2024
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk11u-dev/pull/2689
Date: 2024-04-26 21:52:50 +0000
26-04-2024
Fix request [17u]
I backport this for parity with 17.0.12-oracle.
No risk, only a test change.
Clean backport.
Tests pass. SAP nightly testing passed.
03-04-2024
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk17u-dev/pull/2359
Date: 2024-04-02 14:33:33 +0000
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk/pull/12819
Date: 2023-03-01 23:36:04 +0000
01-03-2023
The sub-tests of java/math/BigInteger/LargeValueExceptions.java have running times:
LargeValueExceptions.multiplyDefiniteOverflow()
Run time: 483 ms
LargeValueExceptions.powOverflow()
Run time: 0 ms
LargeValueExceptions.powOverflow1()
Run time: 1 ms
LargeValueExceptions.powOverflow2()
Run time: 0 ms
LargeValueExceptions.squareDefiniteOverflow()
Run time: 30351 ms
All other sub-tests are disabled. As squareDefiniteOverflow() takes over 98% of the test time there does not appear much to be done to accelerate the test, at least in terms of running only part of it in each test run.