RFR: JDK-8320892: AArch64: Restore FPU control state after JNI [v3]
Andrew Haley
aph at openjdk.org
Mon Dec 4 15:45:44 UTC 2023
On Thu, 30 Nov 2023 09:58:28 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> I was also going to suggest adding a new flag and creating an alias. The new flag will need a CSR request of course.
>
>> I was also going to suggest adding a new flag and creating an alias. The new flag will need a CSR request of course.
>
> Given that it's new and it's diagnostic flag I'm a bit surprised at that. I was trying for a quick fix.
>
> Anyway, how do you create an alias? I can't see any examples, and I haven't found a way through the maze of twisty `#define` passages.
> @theRealAph the `RestoreMXCSROnJNICalls` flag is a product flag not diagnostic.
Ah, thanks,
> Aliased flags are setup in arguments.cpp by editing this:
OK. How about we split this into two, this first part without a CSR, and the second part, which creates the generic alias, with one? That way we can mitigate a live problem in this release.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16851#issuecomment-1838915879
More information about the hotspot-dev
mailing list