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