JDK-8130154 : BigInteger.multiplyToLen intrinsic should not be called for large arguments
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-06-30
  • Updated: 2017-05-18
  • Resolved: 2017-05-18
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.

To download the current JDK release, click here.
JDK 13
13Resolved
Related Reports
Duplicate :  
Description
The runtime of BigInteger.multiplyToLen can be extremely long when passed a large argument and it does not do a safepoint check.
Comments
Fixed by the patch for 8130150. multiplyToLen is guarded by KARATSUBA_THRESHOLD or by MONTGOMERY_INTRINSIC_THRESHOLD. There are no code paths where it can be called for very large arguments.
11-04-2017