8322568: JFR: Improve metadata for IEEE rounding mode fields

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2024-06-06 09:57:30 +00:00
parent 880c6b42ba
commit 1a50bd09ef
2 changed files with 4 additions and 4 deletions

View File

@ -952,8 +952,8 @@
<Field type="string" name="name" label="Name" />
<Field type="boolean" name="success" label="Success" description="Success or failure of the load operation" />
<Field type="string" name="errorMessage" label="Error Message" description="In case of a load error, error description" />
<Field type="boolean" name="fpEnvCorrectionAttempt" label="FPU Environment correction" description="In case of IEEE conformance issues we might reset the FP environment" />
<Field type="boolean" name="fpEnvCorrectionSuccess" label="FPU Environment correction result" description="Stores the result in the case of an FP environment correction" />
<Field type="boolean" name="fpuCorrectionAttempt" label="FPU Environment Correction" description="In case of IEEE conformance issues we might reset the FP environment" />
<Field type="boolean" name="fpuCorrectionSuccess" label="FPU Environment Correction Result" description="Stores the result in the case of an FP environment correction" />
</Event>
<Event name="NativeLibraryUnload" category="Java Virtual Machine, Runtime" label="Native Library Unload" thread="true" stackTrace="true" startTime="true"

View File

@ -91,8 +91,8 @@ void NativeLibraryUnloadEvent::set_result(bool result) {
}
static void set_additional_data(EventNativeLibraryLoad& event, const NativeLibraryLoadEvent& helper) {
event.set_fpEnvCorrectionAttempt(helper.get_fp_env_correction_attempt());
event.set_fpEnvCorrectionSuccess(helper.get_fp_env_correction_success());
event.set_fpuCorrectionAttempt(helper.get_fp_env_correction_attempt());
event.set_fpuCorrectionSuccess(helper.get_fp_env_correction_success());
}
static void set_additional_data(EventNativeLibraryUnload& event, const NativeLibraryUnloadEvent& helper) {