RFR: 8266530: HotSpot changes for JEP 306 [v3]

Joe Darcy darcy at openjdk.java.net
Mon May 10 17:21:59 UTC 2021


On Mon, 10 May 2021 14:05:27 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> 
> 
> So, for class file version 61, this function in method.hpp will return false because the flag is not set?
> 
> ```
> bool is_strict() const { return access_flags().is_strict(); }
> ```
> 
> If so, then won't that prevent strictfp semantics in share/c1/c1_GraphBuilder.cpp (and other places) that call is_strict(), such as:
> 
> if (method()->is_strict()) {
> res = round_fp(res);
> }

Nearly all floating-point computation on Hotspot has been strict-in-practice even if it isn't marked as being mandated as strictfp. From what I can tell, the code in c1_GraphBuilder looks to be vestiges of x87 support.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3891


More information about the hotspot-runtime-dev mailing list