8334031: Generated JfrNativeSettings seems off

Reviewed-by: egahlin
This commit is contained in:
Robert Toyonaga 2024-07-04 13:35:24 +00:00 committed by Thomas Stuefe
parent b0efd77402
commit da0ffa8b7f

View File

@ -668,7 +668,7 @@ public class GenerateJfrFiles {
out.write(" // add named struct members also.");
out.write(" struct {");
out.write(" jfrNativeEventSetting pad[NUMBER_OF_RESERVED_EVENTS];");
for (TypeElement t : metadata.getEventsAndStructs()) {
for (TypeElement t : metadata.getEvents()) {
out.write(" jfrNativeEventSetting " + t.name + ";");
}
out.write(" } ev;");