Java Reference
In-Depth Information
figured to generate a stack trace for the File Read events. That increases the over-
head—which in turn is why taking a stack trace for events is a configurable option.
Figure 3-14. A sample JFR event template
The event templates are simple XML files, so the best way to determine which events are en-
abled in a template (and their thresholds and stack-trace configurations) is to read the XML
file. Using an XML file also allows the local template file to be defined on one machine and
then copied to the global template directory for use by others on the team.
Search WWH ::




Custom Search