On events created by xslt, add commit methods that take all event properties as argument.
Now properties are set using set_xxx() on the event. It is verbose and comes with the risk of forgetting to set some property (checked at runtime). After the change, committing can be done on one or two lines. Forgetting a property will be found at compile time.
Now properties are set using set_xxx() on the event. It is verbose and comes with the risk of forgetting to set some property (checked at runtime). After the change, committing can be done on one or two lines. Forgetting a property will be found at compile time.
- relates to
-
JDK-8200246 AIX build fails after adjustments of src/hotspot/share/trace/traceEventClasses.xsl
- Resolved