Question about Runtime relevant Java JEP.

Andrew Haley aph at redhat.com
Wed May 9 16:37:09 UTC 2018


On 05/08/2018 02:42 AM, A Z wrote:
> I was asking to know when JEP 306 will shift to 'targeted',
> or what thought and movements in this direction there are.
> 
> It was mentioned elsewhere that this is only relevant to x86
> older processors, but this is not true. 

Please reply to that post, then.

> Implementation of JEP 306 will eliminate arithmetic overflow and
> underflow via arithmetic, within-range arithmetic upon double and
> float,

Why do you believe this?  Can you point me to the language in JEP
306 which justifies your belief?

> a change which is relevant to everyone.
> 
> It would also ameliorate "naive" implementation of Java libraries.
> 
> An example is the remaining underflow and overflow still possible with
> 
> javax.vecmath.Vector3d.cross
> 
> given the nature of the sourcecode on this method, and anything
> else similar.

Can you explain why you believe JEP 306 will make any difference
to this?  JEP 306 doesn't say anything about infinite-precision
floating-point arithmetic.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-dev mailing list