1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!--
   3      Recommended way to edit .jfc files is to use the configure command of
   4      the 'jfr' tool, i.e. jfr configure, or JDK Mission Control
   5      see Window -> Flight Recorder Template Manager
   6 -->
   7 
   8 <configuration version="2.0" label="Profiling" description="Low overhead configuration for profiling, typically around 2 % overhead." provider="Oracle">
   9 
  10     <event name="jdk.ResidentSetSize">
  11       <setting name="enabled">true</setting>
  12       <setting name="period">1000 ms</setting>
  13     </event>
  14 
  15     <event name="jdk.ThreadAllocationStatistics">
  16       <setting name="enabled">true</setting>
  17       <setting name="period">everyChunk</setting>
  18     </event>
  19 
  20     <event name="jdk.ClassLoadingStatistics">
  21       <setting name="enabled">true</setting>
  22       <setting name="period">1000 ms</setting>
  23     </event>
  24 
  25     <event name="jdk.ClassLoaderStatistics">
  26       <setting name="enabled">true</setting>
  27       <setting name="period">everyChunk</setting>
  28     </event>
  29 
  30     <event name="jdk.JavaThreadStatistics">
  31       <setting name="enabled">true</setting>
  32       <setting name="period">1000 ms</setting>
  33     </event>
  34 
  35     <event name="jdk.SymbolTableStatistics">
  36       <setting name="enabled">true</setting>
  37       <setting name="period">10 s</setting>
  38     </event>
  39 
  40     <event name="jdk.StringTableStatistics">
  41       <setting name="enabled">true</setting>
  42       <setting name="period">10 s</setting>
  43     </event>
  44 
  45     <event name="jdk.ThreadStart">
  46       <setting name="enabled">true</setting>
  47       <setting name="stackTrace">true</setting>
  48     </event>
  49 
  50     <event name="jdk.ThreadEnd">
  51       <setting name="enabled">true</setting>
  52     </event>
  53 
  54     <event name="jdk.ThreadSleep">
  55       <setting name="enabled">true</setting>
  56       <setting name="stackTrace">true</setting>
  57       <setting name="threshold" control="locking-threshold">10 ms</setting>
  58     </event>
  59 
  60     <event name="jdk.ThreadPark">
  61       <setting name="enabled">true</setting>
  62       <setting name="stackTrace">true</setting>
  63       <setting name="threshold" control="locking-threshold">10 ms</setting>
  64     </event>
  65 
  66     <event name="jdk.VirtualThreadStart">
  67       <setting name="enabled">false</setting>
  68       <setting name="stackTrace">true</setting>
  69     </event>
  70 
  71     <event name="jdk.VirtualThreadEnd">
  72       <setting name="enabled">false</setting>
  73     </event>
  74 
  75     <event name="jdk.VirtualThreadPinned">
  76       <setting name="enabled">true</setting>
  77       <setting name="stackTrace">true</setting>
  78       <setting name="threshold">20 ms</setting>
  79     </event>
  80 
  81     <event name="jdk.VirtualThreadSubmitFailed">
  82       <setting name="enabled">true</setting>
  83       <setting name="stackTrace">true</setting>
  84     </event>
  85 
  86     <event name="jdk.JavaMonitorEnter">
  87       <setting name="enabled">true</setting>
  88       <setting name="stackTrace">true</setting>
  89       <setting name="threshold" control="locking-threshold">10 ms</setting>
  90     </event>
  91 
  92     <event name="jdk.JavaMonitorWait">
  93       <setting name="enabled">true</setting>
  94       <setting name="stackTrace">true</setting>
  95       <setting name="threshold" control="locking-threshold">10 ms</setting>
  96     </event>
  97 
  98     <event name="jdk.JavaMonitorInflate">
  99       <setting name="enabled">true</setting>
 100       <setting name="stackTrace">true</setting>
 101       <setting name="threshold" control="locking-threshold">10 ms</setting>
 102     </event>
 103 
 104     <event name="jdk.SyncOnValueBasedClass">
 105       <setting name="enabled">true</setting>
 106       <setting name="stackTrace">true</setting>
 107     </event>
 108 
 109     <event name="jdk.ContinuationFreeze">
 110       <setting name="enabled">false</setting>
 111       <setting name="stackTrace">false</setting>
 112       <setting name="threshold">0 ms</setting>
 113     </event>
 114 
 115     <event name="jdk.ContinuationThaw">
 116       <setting name="enabled">false</setting>
 117       <setting name="stackTrace">false</setting>
 118       <setting name="threshold">0 ms</setting>
 119     </event>
 120 
 121     <event name="jdk.ContinuationFreezeFast">
 122       <setting name="enabled">false</setting>
 123     </event>
 124 
 125     <event name="jdk.ContinuationFreezeSlow">
 126       <setting name="enabled">false</setting>
 127     </event>
 128 
 129     <event name="jdk.ContinuationThawFast">
 130       <setting name="enabled">false</setting>
 131     </event>
 132 
 133     <event name="jdk.ContinuationThawSlow">
 134       <setting name="enabled">false</setting>
 135     </event>
 136 
 137     <event name="jdk.ReservedStackActivation">
 138       <setting name="enabled">true</setting>
 139       <setting name="stackTrace">true</setting>
 140     </event>
 141 
 142     <event name="jdk.ClassLoad">
 143       <setting name="enabled" control="class-loading">false</setting>
 144       <setting name="stackTrace">true</setting>
 145       <setting name="threshold">0 ms</setting>
 146     </event>
 147 
 148     <event name="jdk.ClassDefine">
 149       <setting name="enabled" control="class-loading">false</setting>
 150       <setting name="stackTrace">true</setting>
 151     </event>
 152 
 153     <event name="jdk.RedefineClasses">
 154       <setting name="enabled">true</setting>
 155       <setting name="stackTrace">true</setting>
 156       <setting name="threshold">0 ms</setting>
 157     </event>
 158 
 159     <event name="jdk.RetransformClasses">
 160       <setting name="enabled">true</setting>
 161       <setting name="stackTrace">true</setting>
 162       <setting name="threshold">0 ms</setting>
 163     </event>
 164 
 165     <event name="jdk.ClassRedefinition">
 166       <setting name="enabled" control="class-loading">true</setting>
 167     </event>
 168 
 169     <event name="jdk.ClassUnload">
 170       <setting name="enabled" control="class-loading">false</setting>
 171     </event>
 172 
 173     <event name="jdk.JVMInformation">
 174       <setting name="enabled">true</setting>
 175       <setting name="period">beginChunk</setting>
 176     </event>
 177 
 178     <event name="jdk.InitialSystemProperty">
 179       <setting name="enabled">true</setting>
 180       <setting name="period">beginChunk</setting>
 181     </event>
 182 
 183     <event name="jdk.ExecutionSample">
 184       <setting name="enabled" control="method-sampling-enabled">true</setting>
 185       <setting name="period" control="method-sampling-java-interval">10 ms</setting>
 186     </event>
 187 
 188     <event name="jdk.NativeMethodSample">
 189       <setting name="enabled" control="method-sampling-enabled">true</setting>
 190       <setting name="period" control="method-sampling-native-interval">20 ms</setting>
 191     </event>
 192 
 193     <event name="jdk.SafepointBegin">
 194       <setting name="enabled">true</setting>
 195       <setting name="threshold">0 ms</setting>
 196     </event>
 197 
 198     <event name="jdk.SafepointStateSynchronization">
 199       <setting name="enabled">false</setting>
 200       <setting name="threshold">0 ms</setting>
 201     </event>
 202 
 203     <event name="jdk.SafepointEnd">
 204       <setting name="enabled">false</setting>
 205       <setting name="threshold">0 ms</setting>
 206     </event>
 207 
 208     <event name="jdk.ExecuteVMOperation">
 209       <setting name="enabled">true</setting>
 210       <setting name="threshold">0 ms</setting>
 211     </event>
 212 
 213     <event name="jdk.Shutdown">
 214       <setting name="enabled">true</setting>
 215       <setting name="stackTrace">true</setting>
 216     </event>
 217 
 218     <event name="jdk.ThreadDump">
 219       <setting name="enabled" control="thread-dump-enabled">true</setting>
 220       <setting name="period" control="thread-dump">60 s</setting>
 221     </event>
 222 
 223     <event name="jdk.IntFlag">
 224       <setting name="enabled">true</setting>
 225       <setting name="period">beginChunk</setting>
 226     </event>
 227 
 228     <event name="jdk.UnsignedIntFlag">
 229       <setting name="enabled">true</setting>
 230       <setting name="period">beginChunk</setting>
 231     </event>
 232 
 233     <event name="jdk.LongFlag">
 234       <setting name="enabled">true</setting>
 235       <setting name="period">beginChunk</setting>
 236     </event>
 237 
 238     <event name="jdk.UnsignedLongFlag">
 239       <setting name="enabled">true</setting>
 240       <setting name="period">beginChunk</setting>
 241     </event>
 242 
 243     <event name="jdk.DoubleFlag">
 244       <setting name="enabled">true</setting>
 245       <setting name="period">beginChunk</setting>
 246     </event>
 247 
 248     <event name="jdk.BooleanFlag">
 249       <setting name="enabled">true</setting>
 250       <setting name="period">beginChunk</setting>
 251     </event>
 252 
 253     <event name="jdk.StringFlag">
 254       <setting name="enabled">true</setting>
 255       <setting name="period">beginChunk</setting>
 256     </event>
 257 
 258     <event name="jdk.IntFlagChanged">
 259       <setting name="enabled">true</setting>
 260     </event>
 261 
 262     <event name="jdk.UnsignedIntFlagChanged">
 263       <setting name="enabled">true</setting>
 264     </event>
 265 
 266     <event name="jdk.LongFlagChanged">
 267       <setting name="enabled">true</setting>
 268     </event>
 269 
 270     <event name="jdk.UnsignedLongFlagChanged">
 271       <setting name="enabled">true</setting>
 272     </event>
 273 
 274     <event name="jdk.DoubleFlagChanged">
 275       <setting name="enabled">true</setting>
 276     </event>
 277 
 278     <event name="jdk.BooleanFlagChanged">
 279       <setting name="enabled">true</setting>
 280     </event>
 281 
 282     <event name="jdk.StringFlagChanged">
 283       <setting name="enabled">true</setting>
 284     </event>
 285 
 286     <event name="jdk.ObjectCount">
 287       <setting name="enabled" control="gc-enabled-all">false</setting>
 288       <setting name="period">everyChunk</setting>
 289     </event>
 290 
 291     <event name="jdk.GCConfiguration">
 292       <setting name="enabled" control="gc-enabled-normal">true</setting>
 293       <setting name="period">everyChunk</setting>
 294     </event>
 295 
 296     <event name="jdk.GCHeapConfiguration">
 297       <setting name="enabled" control="gc-enabled-normal">true</setting>
 298       <setting name="period">beginChunk</setting>
 299     </event>
 300 
 301     <event name="jdk.YoungGenerationConfiguration">
 302       <setting name="enabled" control="gc-enabled-normal">true</setting>
 303       <setting name="period">beginChunk</setting>
 304     </event>
 305 
 306     <event name="jdk.GCTLABConfiguration">
 307       <setting name="enabled" control="gc-enabled-normal">true</setting>
 308       <setting name="period">beginChunk</setting>
 309     </event>
 310 
 311     <event name="jdk.GCSurvivorConfiguration">
 312       <setting name="enabled" control="gc-enabled-normal">true</setting>
 313       <setting name="period">beginChunk</setting>
 314     </event>
 315 
 316     <event name="jdk.ObjectCountAfterGC">
 317       <setting name="enabled">false</setting>
 318     </event>
 319 
 320     <event name="jdk.GCHeapMemoryUsage">
 321       <setting name="enabled" control="gc-enabled-normal">true</setting>
 322       <setting name="period">everyChunk</setting>
 323     </event>
 324 
 325     <event name="jdk.GCHeapMemoryPoolUsage">
 326       <setting name="enabled" control="gc-enabled-normal">true</setting>
 327       <setting name="period">everyChunk</setting>
 328     </event>
 329 
 330     <event name="jdk.GCHeapSummary">
 331       <setting name="enabled" control="gc-enabled-normal">true</setting>
 332     </event>
 333 
 334     <event name="jdk.PSHeapSummary">
 335       <setting name="enabled" control="gc-enabled-normal">true</setting>
 336     </event>
 337 
 338     <event name="jdk.G1HeapSummary">
 339       <setting name="enabled" control="gc-enabled-normal">true</setting>
 340     </event>
 341 
 342     <event name="jdk.MetaspaceSummary">
 343       <setting name="enabled" control="gc-enabled-normal">true</setting>
 344     </event>
 345 
 346     <event name="jdk.MetaspaceGCThreshold">
 347       <setting name="enabled" control="gc-enabled-normal">true</setting>
 348     </event>
 349 
 350     <event name="jdk.MetaspaceAllocationFailure">
 351       <setting name="enabled" control="gc-enabled-normal">true</setting>
 352       <setting name="stackTrace">true</setting>
 353     </event>
 354 
 355     <event name="jdk.MetaspaceOOM">
 356       <setting name="enabled" control="gc-enabled-normal">true</setting>
 357       <setting name="stackTrace">true</setting>
 358     </event>
 359 
 360     <event name="jdk.MetaspaceChunkFreeListSummary">
 361       <setting name="enabled" control="gc-enabled-normal">true</setting>
 362     </event>
 363 
 364     <event name="jdk.GarbageCollection">
 365       <setting name="enabled" control="gc-enabled-normal">true</setting>
 366       <setting name="threshold">0 ms</setting>
 367     </event>
 368 
 369     <event name="jdk.SystemGC">
 370       <setting name="enabled">true</setting>
 371       <setting name="threshold">0 ms</setting>
 372       <setting name="stackTrace">true</setting>
 373     </event>
 374 
 375     <event name="jdk.ParallelOldGarbageCollection">
 376       <setting name="enabled" control="gc-enabled-normal">true</setting>
 377       <setting name="threshold">0 ms</setting>
 378     </event>
 379 
 380     <event name="jdk.YoungGarbageCollection">
 381       <setting name="enabled" control="gc-enabled-normal">true</setting>
 382       <setting name="threshold">0 ms</setting>
 383     </event>
 384 
 385     <event name="jdk.OldGarbageCollection">
 386       <setting name="enabled" control="gc-enabled-normal">true</setting>
 387       <setting name="threshold">0 ms</setting>
 388     </event>
 389 
 390     <event name="jdk.G1GarbageCollection">
 391       <setting name="enabled" control="gc-enabled-normal">true</setting>
 392       <setting name="threshold">0 ms</setting>
 393     </event>
 394 
 395     <event name="jdk.GCPhasePause">
 396       <setting name="enabled" control="gc-enabled-normal">true</setting>
 397       <setting name="threshold">0 ms</setting>
 398     </event>
 399 
 400     <event name="jdk.GCPhasePauseLevel1">
 401       <setting name="enabled" control="gc-enabled-normal">true</setting>
 402       <setting name="threshold">0 ms</setting>
 403     </event>
 404 
 405     <event name="jdk.GCPhasePauseLevel2">
 406       <setting name="enabled" control="gc-enabled-normal">true</setting>
 407       <setting name="threshold">0 ms</setting>
 408     </event>
 409 
 410     <event name="jdk.GCPhasePauseLevel3">
 411       <setting name="enabled" control="gc-enabled-high">false</setting>
 412       <setting name="threshold">0 ms</setting>
 413     </event>
 414 
 415     <event name="jdk.GCPhasePauseLevel4">
 416       <setting name="enabled" control="gc-enabled-high">false</setting>
 417       <setting name="threshold">0 ms</setting>
 418     </event>
 419 
 420     <event name="jdk.GCPhaseConcurrent">
 421       <setting name="enabled" control="gc-enabled-high">true</setting>
 422       <setting name="threshold">0 ms</setting>
 423     </event>
 424 
 425     <event name="jdk.GCPhaseConcurrentLevel1">
 426       <setting name="enabled" control="gc-enabled-high">true</setting>
 427       <setting name="threshold">0 ms</setting>
 428     </event>
 429 
 430     <event name="jdk.GCPhaseConcurrentLevel2">
 431       <setting name="enabled" control="gc-enabled-high">true</setting>
 432       <setting name="threshold">0 ms</setting>
 433     </event>
 434 
 435     <event name="jdk.GCReferenceStatistics">
 436       <setting name="enabled" control="gc-enabled-normal">true</setting>
 437     </event>
 438 
 439     <event name="jdk.GCCPUTime">
 440       <setting name="enabled" control="gc-enabled-normal">true</setting>
 441     </event>
 442 
 443     <event name="jdk.PromotionFailed">
 444       <setting name="enabled" control="gc-enabled-normal">true</setting>
 445     </event>
 446 
 447     <event name="jdk.EvacuationFailed">
 448       <setting name="enabled" control="gc-enabled-normal">true</setting>
 449     </event>
 450 
 451     <event name="jdk.EvacuationInformation">
 452       <setting name="enabled" control="gc-enabled-normal">true</setting>
 453     </event>
 454 
 455     <event name="jdk.G1MMU">
 456       <setting name="enabled" control="gc-enabled-normal">true</setting>
 457     </event>
 458 
 459     <event name="jdk.G1EvacuationYoungStatistics">
 460       <setting name="enabled" control="gc-enabled-normal">true</setting>
 461     </event>
 462 
 463     <event name="jdk.G1EvacuationOldStatistics">
 464       <setting name="enabled" control="gc-enabled-normal">true</setting>
 465     </event>
 466 
 467     <event name="jdk.GCPhaseParallel">
 468       <setting name="enabled" control="gc-enabled-normal">true</setting>
 469       <setting name="threshold">0 ms</setting>
 470     </event>
 471 
 472     <event name="jdk.G1BasicIHOP">
 473       <setting name="enabled" control="gc-enabled-normal">true</setting>
 474     </event>
 475 
 476     <event name="jdk.G1AdaptiveIHOP">
 477       <setting name="enabled" control="gc-enabled-normal">true</setting>
 478     </event>
 479 
 480     <event name="jdk.PromoteObjectInNewPLAB">
 481       <setting name="enabled" control="gc-enabled-high">true</setting>
 482     </event>
 483 
 484     <event name="jdk.PromoteObjectOutsidePLAB">
 485       <setting name="enabled" control="gc-enabled-high">true</setting>
 486     </event>
 487 
 488     <event name="jdk.ConcurrentModeFailure">
 489       <setting name="enabled" control="gc-enabled-normal">true</setting>
 490     </event>
 491 
 492     <event name="jdk.AllocationRequiringGC">
 493       <setting name="enabled" control="gc-enabled-high">false</setting>
 494       <setting name="stackTrace">true</setting>
 495     </event>
 496 
 497     <event name="jdk.TenuringDistribution">
 498       <setting name="enabled" control="gc-enabled-normal">true</setting>
 499     </event>
 500 
 501     <event name="jdk.G1HeapRegionInformation">
 502       <setting name="enabled" control="gc-enabled-high">false</setting>
 503       <setting name="period">everyChunk</setting>
 504     </event>
 505 
 506     <event name="jdk.G1HeapRegionTypeChange">
 507       <setting name="enabled" control="gc-enabled-high">false</setting>
 508     </event>
 509 
 510     <event name="jdk.ShenandoahHeapRegionInformation">
 511       <setting name="enabled" control="gc-enabled-high">false</setting>
 512       <setting name="period">everyChunk</setting>
 513     </event>
 514 
 515     <event name="jdk.ShenandoahHeapRegionStateChange">
 516       <setting name="enabled" control="gc-enabled-high">false</setting>
 517     </event>
 518 
 519     <event name="jdk.OldObjectSample">
 520       <setting name="enabled" control="old-objects-enabled">true</setting>
 521       <setting name="stackTrace" control="old-objects-stack-trace">true</setting>
 522       <setting name="cutoff" control="old-objects-cutoff">0 ns</setting>
 523     </event>
 524 
 525     <event name="jdk.NativeMemoryUsage">
 526       <setting name="enabled" control="gc-enabled-normal">true</setting>
 527       <setting name="period">1000 ms</setting>
 528     </event>
 529 
 530     <event name="jdk.NativeMemoryUsageTotal">
 531       <setting name="enabled" control="gc-enabled-normal">true</setting>
 532       <setting name="period">1000 ms</setting>
 533     </event>
 534 
 535     <event name="jdk.CompilerConfiguration">
 536       <setting name="enabled" control="compiler-enabled">true</setting>
 537       <setting name="period">beginChunk</setting>
 538     </event>
 539 
 540     <event name="jdk.CompilerStatistics">
 541       <setting name="enabled" control="compiler-enabled">true</setting>
 542       <setting name="period">1000 ms</setting>
 543     </event>
 544 
 545     <event name="jdk.Compilation">
 546       <setting name="enabled" control="compiler-enabled">true</setting>
 547       <setting name="threshold" control="compiler-compilation-threshold">100 ms</setting>
 548     </event>
 549 
 550     <event name="jdk.CompilerPhase">
 551       <setting name="enabled" control="compiler-enabled">true</setting>
 552       <setting name="threshold" control="compiler-phase-threshold">10 s</setting>
 553     </event>
 554 
 555     <event name="jdk.CompilationFailure">
 556       <setting name="enabled" control="compiler-enabled-failure">true</setting>
 557     </event>
 558 
 559     <event name="jdk.CompilerInlining">
 560       <setting name="enabled" control="compiler-enabled-failure">false</setting>
 561     </event>
 562 
 563     <event name="jdk.JITRestart">
 564       <setting name="enabled" control="compiler-enabled">true</setting>
 565     </event>
 566 
 567     <event name="jdk.CodeCacheConfiguration">
 568       <setting name="enabled" control="compiler-enabled">true</setting>
 569       <setting name="period">beginChunk</setting>
 570     </event>
 571 
 572     <event name="jdk.CodeCacheStatistics">
 573       <setting name="enabled" control="compiler-enabled">true</setting>
 574       <setting name="period">everyChunk</setting>
 575     </event>
 576 
 577     <event name="jdk.CodeCacheFull">
 578       <setting name="enabled" control="compiler-enabled">true</setting>
 579     </event>
 580 
 581     <event name="jdk.OSInformation">
 582       <setting name="enabled">true</setting>
 583       <setting name="period">beginChunk</setting>
 584     </event>
 585 
 586     <event name="jdk.VirtualizationInformation">
 587      <setting name="enabled">true</setting>
 588      <setting name="period">beginChunk</setting>
 589     </event>
 590 
 591     <event name="jdk.ContainerConfiguration">
 592       <setting name="enabled">true</setting>
 593       <setting name="period">beginChunk</setting>
 594     </event>
 595 
 596     <event name="jdk.ContainerCPUUsage">
 597       <setting name="enabled">true</setting>
 598       <setting name="period">30 s</setting>
 599     </event>
 600 
 601     <event name="jdk.ContainerCPUThrottling">
 602       <setting name="enabled">true</setting>
 603       <setting name="period">30 s</setting>
 604     </event>
 605 
 606     <event name="jdk.ContainerMemoryUsage">
 607       <setting name="enabled">true</setting>
 608       <setting name="period">30 s</setting>
 609     </event>
 610 
 611     <event name="jdk.ContainerIOUsage">
 612       <setting name="enabled">true</setting>
 613       <setting name="period">30 s</setting>
 614     </event>
 615 
 616     <event name="jdk.CPUInformation">
 617       <setting name="enabled">true</setting>
 618       <setting name="period">beginChunk</setting>
 619     </event>
 620 
 621     <event name="jdk.ThreadContextSwitchRate">
 622       <setting name="enabled" control="compiler-enabled">true</setting>
 623       <setting name="period">10 s</setting>
 624     </event>
 625 
 626     <event name="jdk.CPULoad">
 627       <setting name="enabled">true</setting>
 628       <setting name="period">1000 ms</setting>
 629     </event>
 630 
 631     <event name="jdk.ThreadCPULoad">
 632       <setting name="enabled">true</setting>
 633       <setting name="period">10 s</setting>
 634     </event>
 635 
 636     <event name="jdk.CPUTimeStampCounter">
 637       <setting name="enabled">true</setting>
 638       <setting name="period">beginChunk</setting>
 639     </event>
 640 
 641     <event name="jdk.SystemProcess">
 642       <setting name="enabled">true</setting>
 643       <setting name="period">endChunk</setting>
 644     </event>
 645 
 646     <event name="jdk.ProcessStart">
 647       <setting name="enabled">true</setting>
 648       <setting name="stackTrace">true</setting>
 649     </event>
 650 
 651     <event name="jdk.NetworkUtilization">
 652       <setting name="enabled">true</setting>
 653       <setting name="period">5 s</setting>
 654     </event>
 655 
 656     <event name="jdk.CompilerQueueUtilization">
 657       <setting name="enabled">true</setting>
 658       <setting name="period">5 s</setting>
 659     </event>
 660 
 661     <event name="jdk.InitialEnvironmentVariable">
 662       <setting name="enabled">true</setting>
 663       <setting name="period">beginChunk</setting>
 664     </event>
 665 
 666     <event name="jdk.PhysicalMemory">
 667       <setting name="enabled">true</setting>
 668       <setting name="period">everyChunk</setting>
 669     </event>
 670 
 671     <event name="jdk.SwapSpace">
 672       <setting name="enabled">true</setting>
 673       <setting name="period">everyChunk</setting>
 674     </event>
 675 
 676     <event name="jdk.ObjectAllocationInNewTLAB">
 677       <setting name="enabled" control="gc-enabled-high">false</setting>
 678       <setting name="stackTrace">true</setting>
 679     </event>
 680 
 681     <event name="jdk.ObjectAllocationOutsideTLAB">
 682       <setting name="enabled" control="gc-enabled-high">false</setting>
 683       <setting name="stackTrace">true</setting>
 684     </event>
 685 
 686     <event name="jdk.ObjectAllocationSample">
 687       <setting name="enabled" control="object-allocation-enabled">true</setting>
 688       <setting name="throttle" control="allocation-profiling">300/s</setting>
 689       <setting name="stackTrace">true</setting>
 690     </event>
 691 
 692     <event name="jdk.NativeLibrary">
 693       <setting name="enabled">true</setting>
 694       <setting name="period">everyChunk</setting>
 695     </event>
 696 
 697     <event name="jdk.NativeLibraryLoad">
 698       <setting name="enabled">true</setting>
 699       <setting name="stackTrace">true</setting>
 700       <setting name="threshold">0 ms</setting>
 701     </event>
 702 
 703     <event name="jdk.NativeLibraryUnload">
 704       <setting name="enabled">true</setting>
 705       <setting name="stackTrace">true</setting>
 706       <setting name="threshold">0 ms</setting>
 707     </event>
 708 
 709     <event name="jdk.ModuleRequire">
 710       <setting name="enabled">true</setting>
 711       <setting name="period">endChunk</setting>
 712     </event>
 713 
 714     <event name="jdk.ModuleExport">
 715       <setting name="enabled">true</setting>
 716       <setting name="period">endChunk</setting>
 717     </event>
 718 
 719     <event name="jdk.FileForce">
 720       <setting name="enabled">true</setting>
 721       <setting name="stackTrace">true</setting>
 722       <setting name="threshold" control="file-threshold">10 ms</setting>
 723     </event>
 724 
 725     <event name="jdk.FileRead">
 726       <setting name="enabled">true</setting>
 727       <setting name="stackTrace">true</setting>
 728       <setting name="threshold" control="file-threshold">10 ms</setting>
 729     </event>
 730 
 731     <event name="jdk.FileWrite">
 732       <setting name="enabled">true</setting>
 733       <setting name="stackTrace">true</setting>
 734       <setting name="threshold" control="file-threshold">10 ms</setting>
 735     </event>
 736 
 737     <event name="jdk.SocketRead">
 738       <setting name="enabled">true</setting>
 739       <setting name="stackTrace">true</setting>
 740       <setting name="threshold" control="socket-threshold">10 ms</setting>
 741     </event>
 742 
 743     <event name="jdk.SocketWrite">
 744       <setting name="enabled">true</setting>
 745       <setting name="stackTrace">true</setting>
 746       <setting name="threshold" control="socket-threshold">10 ms</setting>
 747     </event>
 748 
 749     <event name="jdk.Deserialization">
 750       <setting name="enabled">false</setting>
 751       <setting name="stackTrace">true</setting>
 752     </event>
 753 
 754     <event name="jdk.SerializationMisdeclaration">
 755         <setting name="enabled">true</setting>
 756     </event>
 757 
 758     <event name="jdk.InitialSecurityProperty">
 759       <setting name="enabled">true</setting>
 760       <setting name="period">beginChunk</setting>
 761     </event>
 762 
 763     <event name="jdk.SecurityPropertyModification">
 764       <setting name="enabled">false</setting>
 765       <setting name="stackTrace">true</setting>
 766     </event>
 767 
 768     <event name="jdk.SecurityProviderService">
 769       <setting name="enabled">false</setting>
 770       <setting name="stackTrace">true</setting>
 771     </event>
 772 
 773     <event name="jdk.TLSHandshake">
 774       <setting name="enabled">false</setting>
 775       <setting name="stackTrace">true</setting>
 776     </event>
 777 
 778     <event name="jdk.X509Validation">
 779       <setting name="enabled">false</setting>
 780       <setting name="stackTrace">true</setting>
 781     </event>
 782 
 783     <event name="jdk.X509Certificate">
 784       <setting name="enabled">false</setting>
 785       <setting name="stackTrace">true</setting>
 786     </event>
 787 
 788     <event name="jdk.JavaExceptionThrow">
 789       <setting name="enabled" control="enable-exceptions">false</setting>
 790       <setting name="stackTrace">true</setting>
 791     </event>
 792 
 793     <event name="jdk.JavaErrorThrow">
 794       <setting name="enabled" control="enable-errors">true</setting>
 795       <setting name="stackTrace">true</setting>
 796     </event>
 797 
 798     <event name="jdk.ExceptionStatistics">
 799       <setting name="enabled">true</setting>
 800       <setting name="period">1000 ms</setting>
 801     </event>
 802 
 803     <event name="jdk.ActiveRecording">
 804       <setting name="enabled">true</setting>
 805     </event>
 806 
 807     <event name="jdk.ActiveSetting">
 808       <setting name="enabled">true</setting>
 809     </event>
 810 
 811     <event name="jdk.Flush">
 812       <setting name="enabled">false</setting>
 813       <setting name="threshold">0 ns</setting>
 814     </event>
 815 
 816     <event name="jdk.DataLoss">
 817       <setting name="enabled">true</setting>
 818     </event>
 819 
 820     <event name="jdk.DumpReason">
 821       <setting name="enabled">true</setting>
 822     </event>
 823 
 824     <event name="jdk.ZAllocationStall">
 825       <setting name="enabled">true</setting>
 826       <setting name="stackTrace">true</setting>
 827       <setting name="threshold">0 ms</setting>
 828     </event>
 829 
 830     <event name="jdk.ZPageAllocation">
 831       <setting name="enabled">true</setting>
 832       <setting name="stackTrace">true</setting>
 833       <setting name="threshold">1 ms</setting>
 834     </event>
 835 
 836     <event name="jdk.ZRelocationSet">
 837       <setting name="enabled">true</setting>
 838       <setting name="threshold">0 ms</setting>
 839     </event>
 840 
 841     <event name="jdk.ZRelocationSetGroup">
 842       <setting name="enabled">true</setting>
 843       <setting name="threshold">0 ms</setting>
 844     </event>
 845 
 846     <event name="jdk.ZStatisticsCounter">
 847       <setting name="enabled">false</setting>
 848       <setting name="threshold">0 ms</setting>
 849     </event>
 850 
 851     <event name="jdk.ZStatisticsSampler">
 852       <setting name="enabled">false</setting>
 853       <setting name="threshold">0 ms</setting>
 854     </event>
 855 
 856     <event name="jdk.ZThreadPhase">
 857       <setting name="enabled">false</setting>
 858       <setting name="threshold">0 ms</setting>
 859     </event>
 860 
 861     <event name="jdk.ZUncommit">
 862       <setting name="enabled">true</setting>
 863       <setting name="threshold">0 ms</setting>
 864     </event>
 865 
 866     <event name="jdk.ZUnmap">
 867       <setting name="enabled">true</setting>
 868       <setting name="threshold">0 ms</setting>
 869     </event>
 870 
 871     <event name="jdk.ZYoungGarbageCollection">
 872       <setting name="enabled">true</setting>
 873       <setting name="threshold">0 ms</setting>
 874     </event>
 875 
 876     <event name="jdk.ZOldGarbageCollection">
 877       <setting name="enabled">true</setting>
 878       <setting name="threshold">0 ms</setting>
 879     </event>
 880 
 881     <event name="jdk.Deoptimization">
 882       <setting name="enabled">true</setting>
 883       <setting name="stackTrace">true</setting>
 884     </event>
 885 
 886     <event name="jdk.HeapDump">
 887       <setting name="enabled">true</setting>
 888       <setting name="threshold">0 ns</setting>
 889       <setting name="stackTrace">true</setting>
 890     </event>
 891 
 892     <event name="jdk.DirectBufferStatistics">
 893       <setting name="enabled">true</setting>
 894       <setting name="period">5 s</setting>
 895     </event>
 896 
 897     <event name="jdk.GCLocker">
 898       <setting name="enabled">true</setting>
 899       <setting name="threshold">100 ms</setting>
 900       <setting name="stackTrace">true</setting>
 901     </event>
 902 
 903     <event name="jdk.FinalizerStatistics">
 904       <setting name="enabled">true</setting>
 905       <setting name="period">endChunk</setting>
 906     </event>
 907 
 908     <event name="jdk.JavaAgent">
 909       <setting name="enabled">true</setting>
 910       <setting name="period">endChunk</setting>
 911     </event>
 912 
 913     <event name="jdk.NativeAgent">
 914       <setting name="enabled">true</setting>
 915       <setting name="period">endChunk</setting>
 916     </event>
 917 
 918     <event name="jdk.DeprecatedInvocation">
 919       <setting name="enabled">true</setting>
 920       <setting name="stackTrace">true</setting>
 921       <setting name="level">forRemoval</setting>
 922     </event>
 923 
 924 
 925 
 926 
 927 
 928 
 929 
 930 
 931 
 932 
 933 
 934 
 935 
 936 
 937 
 938 
 939 
 940 
 941 
 942 
 943 
 944 
 945 
 946   <!--
 947   Contents of the control element is not read by the JVM, it's used
 948   by JDK Mission Control and the 'jfr' tool to change settings that
 949   carry the control attribute.
 950   -->
 951     <control>
 952       <selection name="gc" default="detailed" label="Garbage Collector">
 953         <option label="Off" name="off">off</option>
 954         <option label="Normal" name="normal">normal</option>
 955         <option label="Detailed" name="detailed">detailed</option>
 956         <option label="High, incl. TLABs/PLABs (may cause many events)" name="high">high</option>
 957         <option label="All, incl. Heap Statistics (may cause long GCs)" name="all">all</option>
 958       </selection>
 959 
 960       <condition name="gc-enabled-normal" true="true" false="false">
 961         <or>
 962           <test name="gc" operator="equal" value="normal"/>
 963           <test name="gc" operator="equal" value="detailed"/>
 964           <test name="gc" operator="equal" value="high"/>
 965           <test name="gc" operator="equal" value="all"/>
 966         </or>
 967       </condition>
 968 
 969       <condition name="gc-enabled-detailed" true="true" false="false">
 970         <or>
 971           <test name="gc" operator="equal" value="detailed"/>
 972           <test name="gc" operator="equal" value="high"/>
 973           <test name="gc" operator="equal" value="all"/>
 974         </or>
 975       </condition>
 976 
 977       <condition name="gc-enabled-high" true="true" false="false">
 978         <or>
 979           <test name="gc" operator="equal" value="high"/>
 980           <test name="gc" operator="equal" value="all"/>
 981         </or>
 982       </condition>
 983 
 984       <condition name="gc-enabled-all" true="true" false="false">
 985         <test name="gc" operator="equal" value="all"/>
 986       </condition>
 987 
 988       <selection name="allocation-profiling" default="medium" label="Allocation Profiling">
 989         <option label="Off" name="off">0/s</option>
 990         <option label="Low" name="low">150/s</option>
 991         <option label="Medium" name="medium">300/s</option>
 992         <option label="High" name="high">1000/s</option>
 993         <option label="Maximum" name="maximum">1000000000/s</option>
 994       </selection>
 995 
 996       <condition name="object-allocation-enabled" true="true" false="false">
 997         <not>
 998           <test name="allocation-profiling" operator="equal" value="off"/>
 999         </not>
1000       </condition>
1001 
1002       <selection name="compiler" default="detailed" label="Compiler">
1003         <option label="Off" name="off">off</option>
1004         <option label="Normal" name="normal">normal</option>
1005         <option label="Detailed" name="detailed">detailed</option>
1006         <option label="All" name="all">all</option>
1007       </selection>
1008 
1009       <condition name="compiler-enabled" true="false" false="true">
1010         <test name="compiler" operator="equal" value="off"/>
1011       </condition>
1012 
1013       <condition name="compiler-enabled-failure" true="true" false="false">
1014         <or>
1015           <test name="compiler" operator="equal" value="detailed"/>
1016           <test name="compiler" operator="equal" value="all"/>
1017         </or>
1018       </condition>
1019 
1020       <condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms">
1021         <test name="compiler" operator="equal" value="all"/>
1022       </condition>
1023 
1024       <condition name="compiler-compilation-threshold" true="1000 ms">
1025         <test name="compiler" operator="equal" value="normal"/>
1026       </condition>
1027 
1028       <condition name="compiler-compilation-threshold" true="100 ms">
1029         <test name="compiler" operator="equal" value="detailed"/>
1030       </condition>
1031 
1032       <condition name="compiler-compilation-threshold" true="0 ms">
1033         <test name="compiler" operator="equal" value="all"/>
1034       </condition>
1035 
1036       <condition name="compiler-phase-threshold" true="60 s">
1037         <test name="compiler" operator="equal" value="normal"/>
1038       </condition>
1039 
1040       <condition name="compiler-phase-threshold" true="10 s">
1041         <test name="compiler" operator="equal" value="detailed"/>
1042       </condition>
1043 
1044       <condition name="compiler-phase-threshold" true="0 s">
1045         <test name="compiler" operator="equal" value="all"/>
1046       </condition>
1047 
1048       <selection name="method-profiling" default="high" label="Method Profiling">
1049         <option label="Off" name="off">off</option>
1050         <option label="Normal" name="normal">normal</option>
1051         <option label="High" name="high">high</option>
1052         <option label="Maximum (High Overhead)" name="max">max</option>
1053       </selection>
1054 
1055       <condition name="method-sampling-java-interval" true="999 d">
1056         <test name="method-profiling" operator="equal" value="off"/>
1057       </condition>
1058 
1059       <condition name="method-sampling-java-interval" true="20 ms">
1060         <test name="method-profiling" operator="equal" value="normal"/>
1061       </condition>
1062 
1063       <condition name="method-sampling-java-interval" true="10 ms">
1064         <test name="method-profiling" operator="equal" value="high"/>
1065       </condition>
1066 
1067       <condition name="method-sampling-java-interval" true="1 ms">
1068         <test name="method-profiling" operator="equal" value="max"/>
1069       </condition>
1070 
1071       <condition name="method-sampling-native-interval" true="999 d">
1072         <test name="method-profiling" operator="equal" value="off"/>
1073       </condition>
1074 
1075       <condition name="method-sampling-native-interval" true="20 ms">
1076         <or>
1077           <test name="method-profiling" operator="equal" value="normal"/>
1078           <test name="method-profiling" operator="equal" value="high"/>
1079           <test name="method-profiling" operator="equal" value="max"/>
1080         </or>
1081       </condition>
1082 
1083       <condition name="method-sampling-enabled" true="false" false="true">
1084         <test name="method-profiling" operator="equal" value="off"/>
1085       </condition>
1086 
1087       <selection name="thread-dump" default="once" label="Thread Dump">
1088         <option label="Off" name="off">999 d</option>
1089         <option label="At least Once" name="once">everyChunk</option>
1090         <option label="Every 60 s" name="60s">60 s</option>
1091         <option label="Every 10 s" name="10s">10 s</option>
1092         <option label="Every 1 s" name="1s">1 s</option>
1093       </selection>
1094 
1095       <condition name="thread-dump-enabled" true="false" false="true">
1096         <test name="thread-dump" operator="equal" value="999 d"/>
1097       </condition>
1098 
1099       <selection name="exceptions" default="errors" label="Exceptions">
1100         <option label="Off" name="off">off</option>
1101         <option label="Errors Only" name="errors">errors</option>
1102         <option label="All Exceptions, including Errors" name="all">all</option>
1103       </selection>
1104 
1105       <condition name="enable-errors" true="true" false="false">
1106         <or>
1107           <test name="exceptions" operator="equal" value="errors"/>
1108           <test name="exceptions" operator="equal" value="all"/>
1109         </or>
1110       </condition>
1111 
1112       <condition name="enable-exceptions" true="true" false="false">
1113         <test name="exceptions" operator="equal" value="all"/>
1114       </condition>
1115 
1116       <selection name="memory-leaks" default="stack-traces" label="Memory Leak Detection">
1117         <option label="Off" name="off">off</option>
1118         <option label="Object Types" name="types">types</option>
1119         <option label="Object Types + Allocation Stack Traces" name="stack-traces">stack-traces</option>
1120         <option label="Object Types + Allocation Stack Traces + Path to GC Root" name="gc-roots">gc-roots</option>
1121       </selection>
1122 
1123       <condition name="old-objects-enabled" true="false" false="true">
1124         <test name="memory-leaks" operator="equal" value="off"/>
1125       </condition>
1126 
1127       <condition name="old-objects-stack-trace" true="true" false="false">
1128         <or>
1129           <test name="memory-leaks" operator="equal" value="stack-traces"/>
1130           <test name="memory-leaks" operator="equal" value="gc-roots"/>
1131         </or>
1132       </condition>
1133 
1134       <condition name="old-objects-cutoff" true="1 h" false="0 ns">
1135         <test name="memory-leaks" operator="equal" value="gc-roots"/>
1136       </condition>
1137 
1138       <text name="locking-threshold" label="Locking Threshold" contentType="timespan" minimum="0 s">10 ms</text>
1139 
1140       <text name="file-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
1141 
1142       <text name="socket-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
1143 
1144       <flag name="class-loading" label="Class Loading">false</flag>
1145     </control>
1146 
1147 </configuration>