On Mon, 31 Oct 2022 17:44:07 GMT, Andrew Haley <a...@openjdk.org> wrote:

> Anyway, I plan to
> 
> a. Restore the FPU CR after calls to dlopen(3).
> b. Detect FPU CR corruption at safepoints, and print a warning. At least
> the user might find out that something is wrong.

Doing (a) seems good. I can't say for sure whether (b) is a good idea. I guess 
you just have some call to verify the FPU, e.g. in `ParallelCleanupTask`? I 
assume you don't mean to change the code for polling safepoints.

CSR seems like a good idea, since it could be a change in observable behavior. 
(nice to leave a paper trail I think)

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

PR: https://git.openjdk.org/jdk/pull/10661

Reply via email to