RFR: JDK-8320892: AArch64: Restore FPU control state after JNI [v3]
David Holmes
dholmes at openjdk.org
Mon Dec 4 04:57:35 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.
Aliased flags are setup in arguments.cpp by editing this:
static AliasedFlag const aliased_jvm_flags[] = {
{ "DefaultMaxRAMFraction", "MaxRAMFraction" },
{ "CreateMinidumpOnCrash", "CreateCoredumpOnCrash" },
{ nullptr, nullptr}
};
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16851#issuecomment-1837839773
More information about the hotspot-dev
mailing list