1 <?xml version="1.0" encoding="UTF-8"?>
   2 
   3 <!--
   4      Recommended way to edit .jfc files is to use Java 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.ThreadAllocationStatistics">
  11       <setting name="enabled">true</setting>
  12       <setting name="period">everyChunk</setting>
  13     </event>
  14 
  15     <event name="jdk.ClassLoadingStatistics">
  16       <setting name="enabled">true</setting>
  17       <setting name="period">1000 ms</setting>
  18     </event>
  19 
  20     <event name="jdk.ClassLoaderStatistics">
  21       <setting name="enabled">true</setting>
  22       <setting name="period">everyChunk</setting>
  23     </event>
  24 
  25     <event name="jdk.JavaThreadStatistics">
  26       <setting name="enabled">true</setting>
  27       <setting name="period">1000 ms</setting>
  28     </event>
  29 
  30     <event name="jdk.ThreadStart">
  31       <setting name="enabled">true</setting>
  32     </event>
  33 
  34     <event name="jdk.ThreadEnd">
  35       <setting name="enabled">true</setting>
  36     </event>
  37 
  38     <event name="jdk.ThreadSleep">
  39       <setting name="enabled">true</setting>
  40       <setting name="stackTrace">true</setting>
  41       <setting name="threshold" control="synchronization-threshold">10 ms</setting>
  42     </event>
  43 
  44     <event name="jdk.ThreadPark">
  45       <setting name="enabled">true</setting>
  46       <setting name="stackTrace">true</setting>
  47       <setting name="threshold" control="synchronization-threshold">10 ms</setting>
  48     </event>
  49 
  50     <event name="jdk.JavaMonitorEnter">
  51       <setting name="enabled">true</setting>
  52       <setting name="stackTrace">true</setting>
  53       <setting name="threshold" control="synchronization-threshold">10 ms</setting>
  54     </event>
  55 
  56     <event name="jdk.JavaMonitorWait">
  57       <setting name="enabled">true</setting>
  58       <setting name="stackTrace">true</setting>
  59       <setting name="threshold" control="synchronization-threshold">10 ms</setting>
  60     </event>
  61 
  62     <event name="jdk.JavaMonitorInflate">
  63       <setting name="enabled">true</setting>
  64       <setting name="stackTrace">true</setting>
  65       <setting name="threshold" control="synchronization-threshold">10 ms</setting>
  66     </event>
  67 
  68     <event name="jdk.BiasedLockRevocation">
  69       <setting name="enabled">true</setting>
  70       <setting name="stackTrace">true</setting>
  71       <setting name="threshold">0 ms</setting>
  72     </event>
  73 
  74     <event name="jdk.BiasedLockSelfRevocation">
  75       <setting name="enabled">true</setting>
  76       <setting name="stackTrace">true</setting>
  77       <setting name="threshold">0 ms</setting>
  78     </event>
  79 
  80     <event name="jdk.BiasedLockClassRevocation">
  81       <setting name="enabled">true</setting>
  82       <setting name="stackTrace">true</setting>
  83       <setting name="threshold">0 ms</setting>
  84     </event>
  85 
  86     <event name="jdk.ReservedStackActivation">
  87       <setting name="enabled">true</setting>
  88       <setting name="stackTrace">true</setting>
  89     </event>
  90 
  91     <event name="jdk.ClassLoad">
  92       <setting name="enabled" control="class-loading-enabled">false</setting>
  93       <setting name="stackTrace">true</setting>
  94       <setting name="threshold">0 ms</setting>
  95     </event>
  96 
  97     <event name="jdk.ClassDefine">
  98       <setting name="enabled" control="class-loading-enabled">false</setting>
  99       <setting name="stackTrace">true</setting>
 100     </event>
 101 
 102     <event name="jdk.ClassUnload">
 103       <setting name="enabled" control="class-loading-enabled">false</setting>
 104     </event>
 105 
 106     <event name="jdk.JVMInformation">
 107       <setting name="enabled">true</setting>
 108       <setting name="period">beginChunk</setting>
 109     </event>
 110 
 111     <event name="jdk.InitialSystemProperty">
 112       <setting name="enabled">true</setting>
 113       <setting name="period">beginChunk</setting>
 114     </event>
 115 
 116     <event name="jdk.ExecutionSample">
 117       <setting name="enabled" control="method-sampling-enabled">true</setting>
 118       <setting name="period" control="method-sampling-interval">10 ms</setting>
 119     </event>
 120 
 121     <event name="jdk.NativeMethodSample">
 122       <setting name="enabled" control="method-sampling-enabled">true</setting>
 123       <setting name="period" control="method-sampling-interval">10 ms</setting>
 124     </event>
 125 
 126     <event name="jdk.SafepointBegin">
 127       <setting name="enabled">true</setting>
 128       <setting name="threshold">0 ms</setting>
 129     </event>
 130 
 131     <event name="jdk.SafepointStateSynchronization">
 132       <setting name="enabled">false</setting>
 133       <setting name="threshold">0 ms</setting>
 134     </event>
 135 
 136     <event name="jdk.SafepointWaitBlocked">
 137       <setting name="enabled">false</setting>
 138       <setting name="threshold">0 ms</setting>
 139     </event>
 140 
 141     <event name="jdk.SafepointCleanup">
 142       <setting name="enabled">false</setting>
 143       <setting name="threshold">0 ms</setting>
 144     </event>
 145 
 146     <event name="jdk.SafepointCleanupTask">
 147       <setting name="enabled">false</setting>
 148       <setting name="threshold">0 ms</setting>
 149     </event>
 150 
 151     <event name="jdk.SafepointEnd">
 152       <setting name="enabled">false</setting>
 153       <setting name="threshold">0 ms</setting>
 154     </event>
 155 
 156     <event name="jdk.ExecuteVMOperation">
 157       <setting name="enabled">true</setting>
 158       <setting name="threshold">0 ms</setting>
 159     </event>
 160 
 161     <event name="jdk.Shutdown">
 162       <setting name="enabled">true</setting>
 163       <setting name="stackTrace">true</setting>
 164     </event>
 165 
 166     <event name="jdk.ThreadDump">
 167       <setting name="enabled" control="thread-dump-enabled">true</setting>
 168       <setting name="period" control="thread-dump-interval">60 s</setting>
 169     </event>
 170 
 171     <event name="jdk.IntFlag">
 172       <setting name="enabled">true</setting>
 173       <setting name="period">beginChunk</setting>
 174     </event>
 175 
 176     <event name="jdk.UnsignedIntFlag">
 177       <setting name="enabled">true</setting>
 178       <setting name="period">beginChunk</setting>
 179     </event>
 180 
 181     <event name="jdk.LongFlag">
 182       <setting name="enabled">true</setting>
 183       <setting name="period">beginChunk</setting>
 184     </event>
 185 
 186     <event name="jdk.UnsignedLongFlag">
 187       <setting name="enabled">true</setting>
 188       <setting name="period">beginChunk</setting>
 189     </event>
 190 
 191     <event name="jdk.DoubleFlag">
 192       <setting name="enabled">true</setting>
 193       <setting name="period">beginChunk</setting>
 194     </event>
 195 
 196     <event name="jdk.BooleanFlag">
 197       <setting name="enabled">true</setting>
 198       <setting name="period">beginChunk</setting>
 199     </event>
 200 
 201     <event name="jdk.StringFlag">
 202       <setting name="enabled">true</setting>
 203       <setting name="period">beginChunk</setting>
 204     </event>
 205 
 206     <event name="jdk.IntFlagChanged">
 207       <setting name="enabled">true</setting>
 208     </event>
 209 
 210     <event name="jdk.UnsignedIntFlagChanged">
 211       <setting name="enabled">true</setting>
 212     </event>
 213 
 214     <event name="jdk.LongFlagChanged">
 215       <setting name="enabled">true</setting>
 216     </event>
 217 
 218     <event name="jdk.UnsignedLongFlagChanged">
 219       <setting name="enabled">true</setting>
 220     </event>
 221 
 222     <event name="jdk.DoubleFlagChanged">
 223       <setting name="enabled">true</setting>
 224     </event>
 225 
 226     <event name="jdk.BooleanFlagChanged">
 227       <setting name="enabled">true</setting>
 228     </event>
 229 
 230     <event name="jdk.StringFlagChanged">
 231       <setting name="enabled">true</setting>
 232     </event>
 233 
 234     <event name="jdk.ObjectCount">
 235       <setting name="enabled" control="memory-profiling-enabled-all">false</setting>
 236       <setting name="period">everyChunk</setting>
 237     </event>
 238 
 239     <event name="jdk.GCConfiguration">
 240       <setting name="enabled" control="gc-enabled-normal">true</setting>
 241       <setting name="period">everyChunk</setting>
 242     </event>
 243 
 244     <event name="jdk.GCHeapConfiguration">
 245       <setting name="enabled" control="gc-enabled-normal">true</setting>
 246       <setting name="period">beginChunk</setting>
 247     </event>
 248 
 249     <event name="jdk.YoungGenerationConfiguration">
 250       <setting name="enabled" control="gc-enabled-normal">true</setting>
 251       <setting name="period">beginChunk</setting>
 252     </event>
 253 
 254     <event name="jdk.GCTLABConfiguration">
 255       <setting name="enabled" control="gc-enabled-normal">true</setting>
 256       <setting name="period">beginChunk</setting>
 257     </event>
 258 
 259     <event name="jdk.GCSurvivorConfiguration">
 260       <setting name="enabled" control="gc-enabled-normal">true</setting>
 261       <setting name="period">beginChunk</setting>
 262     </event>
 263 
 264     <event name="jdk.ObjectCountAfterGC">
 265       <setting name="enabled">false</setting>
 266     </event>
 267 
 268     <event name="jdk.GCHeapSummary">
 269       <setting name="enabled" control="gc-enabled-normal">true</setting>
 270     </event>
 271 
 272     <event name="jdk.PSHeapSummary">
 273       <setting name="enabled" control="gc-enabled-normal">true</setting>
 274     </event>
 275 
 276     <event name="jdk.G1HeapSummary">
 277       <setting name="enabled" control="gc-enabled-normal">true</setting>
 278     </event>
 279 
 280     <event name="jdk.MetaspaceSummary">
 281       <setting name="enabled" control="gc-enabled-normal">true</setting>
 282     </event>
 283 
 284     <event name="jdk.MetaspaceGCThreshold">
 285       <setting name="enabled" control="gc-enabled-normal">true</setting>
 286     </event>
 287 
 288     <event name="jdk.MetaspaceAllocationFailure">
 289       <setting name="enabled" control="gc-enabled-normal">true</setting>
 290       <setting name="stackTrace">true</setting>
 291     </event>
 292 
 293     <event name="jdk.MetaspaceOOM">
 294       <setting name="enabled" control="gc-enabled-normal">true</setting>
 295       <setting name="stackTrace">true</setting>
 296     </event>
 297 
 298     <event name="jdk.MetaspaceChunkFreeListSummary">
 299       <setting name="enabled" control="gc-enabled-normal">true</setting>
 300     </event>
 301 
 302     <event name="jdk.GarbageCollection">
 303       <setting name="enabled" control="gc-enabled-normal">true</setting>
 304       <setting name="threshold">0 ms</setting>
 305     </event>
 306 
 307     <event name="jdk.ParallelOldGarbageCollection">
 308       <setting name="enabled" control="gc-enabled-normal">true</setting>
 309       <setting name="threshold">0 ms</setting>
 310     </event>
 311 
 312     <event name="jdk.YoungGarbageCollection">
 313       <setting name="enabled" control="gc-enabled-normal">true</setting>
 314       <setting name="threshold">0 ms</setting>
 315     </event>
 316 
 317     <event name="jdk.OldGarbageCollection">
 318       <setting name="enabled" control="gc-enabled-normal">true</setting>
 319       <setting name="threshold">0 ms</setting>
 320     </event>
 321 
 322     <event name="jdk.G1GarbageCollection">
 323       <setting name="enabled" control="gc-enabled-normal">true</setting>
 324       <setting name="threshold">0 ms</setting>
 325     </event>
 326 
 327     <event name="jdk.GCPhasePause">
 328       <setting name="enabled" control="gc-enabled-normal">true</setting>
 329       <setting name="threshold">0 ms</setting>
 330     </event>
 331 
 332     <event name="jdk.GCPhasePauseLevel1">
 333       <setting name="enabled" control="gc-enabled-normal">true</setting>
 334       <setting name="threshold">0 ms</setting>
 335     </event>
 336 
 337     <event name="jdk.GCPhasePauseLevel2">
 338       <setting name="enabled" control="gc-enabled-normal">true</setting>
 339       <setting name="threshold">0 ms</setting>
 340     </event>
 341 
 342     <event name="jdk.GCPhasePauseLevel3">
 343       <setting name="enabled" control="gc-enabled-all">false</setting>
 344       <setting name="threshold">0 ms</setting>
 345     </event>
 346 
 347     <event name="jdk.GCPhasePauseLevel4">
 348       <setting name="enabled" control="gc-enabled-all">false</setting>
 349       <setting name="threshold">0 ms</setting>
 350     </event>
 351 
 352     <event name="jdk.GCPhaseConcurrent">
 353       <setting name="enabled" control="gc-enabled-all">true</setting>
 354       <setting name="threshold">0 ms</setting>
 355     </event>
 356 
 357     <event name="jdk.GCReferenceStatistics">
 358       <setting name="enabled" control="gc-enabled-normal">true</setting>
 359     </event>
 360 
 361     <event name="jdk.PromotionFailed">
 362       <setting name="enabled" control="gc-enabled-normal">true</setting>
 363     </event>
 364 
 365     <event name="jdk.EvacuationFailed">
 366       <setting name="enabled" control="gc-enabled-normal">true</setting>
 367     </event>
 368 
 369     <event name="jdk.EvacuationInformation">
 370       <setting name="enabled" control="gc-enabled-normal">true</setting>
 371     </event>
 372 
 373     <event name="jdk.G1MMU">
 374       <setting name="enabled" control="gc-enabled-normal">true</setting>
 375     </event>
 376 
 377     <event name="jdk.G1EvacuationYoungStatistics">
 378       <setting name="enabled" control="gc-enabled-normal">true</setting>
 379     </event>
 380 
 381     <event name="jdk.G1EvacuationOldStatistics">
 382       <setting name="enabled" control="gc-enabled-normal">true</setting>
 383     </event>
 384 
 385     <event name="jdk.G1BasicIHOP">
 386       <setting name="enabled" control="gc-enabled-normal">true</setting>
 387     </event>
 388 
 389     <event name="jdk.G1AdaptiveIHOP">
 390       <setting name="enabled" control="gc-enabled-normal">true</setting>
 391     </event>
 392 
 393     <event name="jdk.PromoteObjectInNewPLAB">
 394       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 395     </event>
 396 
 397     <event name="jdk.PromoteObjectOutsidePLAB">
 398       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 399     </event>
 400 
 401     <event name="jdk.ConcurrentModeFailure">
 402       <setting name="enabled" control="gc-enabled-normal">true</setting>
 403     </event>
 404 
 405     <event name="jdk.AllocationRequiringGC">
 406       <setting name="enabled" control="gc-enabled-all">false</setting>
 407       <setting name="stackTrace">true</setting>
 408     </event>
 409 
 410     <event name="jdk.TenuringDistribution">
 411       <setting name="enabled" control="gc-enabled-normal">true</setting>
 412     </event>
 413 
 414     <event name="jdk.G1HeapRegionInformation">
 415       <setting name="enabled" control="gc-enabled-all">false</setting>
 416       <setting name="period">everyChunk</setting>
 417     </event>
 418 
 419     <event name="jdk.G1HeapRegionTypeChange">
 420       <setting name="enabled" control="gc-enabled-all">false</setting>
 421     </event>
 422 
 423     <event name="jdk.OldObjectSample">
 424       <setting name="enabled" control="memory-leak-detection-enabled">true</setting>
 425       <setting name="stackTrace" control="memory-leak-detection-stack-trace">true</setting>
 426       <setting name="cutoff" control="memory-leak-detection-cutoff">0 ns</setting>
 427     </event>
 428 
 429     <event name="jdk.CompilerConfiguration">
 430       <setting name="enabled" control="compiler-enabled">true</setting>
 431       <setting name="period">beginChunk</setting>
 432     </event>
 433 
 434     <event name="jdk.CompilerStatistics">
 435       <setting name="enabled" control="compiler-enabled">true</setting>
 436       <setting name="period">1000 ms</setting>
 437     </event>
 438 
 439     <event name="jdk.Compilation">
 440       <setting name="enabled" control="compiler-enabled">true</setting>
 441       <setting name="threshold" control="compiler-compilation-threshold">100 ms</setting>
 442     </event>
 443 
 444     <event name="jdk.CompilerPhase">
 445       <setting name="enabled" control="compiler-enabled">true</setting>
 446       <setting name="threshold" control="compiler-phase-threshold">10 s</setting>
 447     </event>
 448 
 449     <event name="jdk.CompilationFailure">
 450       <setting name="enabled" control="compiler-enabled-failure">true</setting>
 451     </event>
 452 
 453     <event name="jdk.CompilerInlining">
 454       <setting name="enabled" control="compiler-enabled-failure">false</setting>
 455     </event>
 456 
 457     <event name="jdk.CodeSweeperConfiguration">
 458       <setting name="enabled" control="compiler-enabled">true</setting>
 459       <setting name="period">beginChunk</setting>
 460     </event>
 461 
 462     <event name="jdk.CodeSweeperStatistics">
 463       <setting name="enabled" control="compiler-enabled">true</setting>
 464       <setting name="period">everyChunk</setting>
 465     </event>
 466 
 467     <event name="jdk.SweepCodeCache">
 468       <setting name="enabled" control="compiler-enabled">true</setting>
 469       <setting name="threshold" control="compiler-sweeper-threshold">100 ms</setting>
 470     </event>
 471 
 472     <event name="jdk.CodeCacheConfiguration">
 473       <setting name="enabled" control="compiler-enabled">true</setting>
 474       <setting name="period">beginChunk</setting>
 475     </event>
 476 
 477     <event name="jdk.CodeCacheStatistics">
 478       <setting name="enabled" control="compiler-enabled">true</setting>
 479       <setting name="period">everyChunk</setting>
 480     </event>
 481 
 482     <event name="jdk.CodeCacheFull">
 483       <setting name="enabled" control="compiler-enabled">true</setting>
 484     </event>
 485 
 486     <event name="jdk.OSInformation">
 487       <setting name="enabled">true</setting>
 488       <setting name="period">beginChunk</setting>
 489     </event>
 490 
 491     <event name="jdk.CPUInformation">
 492       <setting name="enabled">true</setting>
 493       <setting name="period">beginChunk</setting>
 494     </event>
 495 
 496     <event name="jdk.ThreadContextSwitchRate">
 497       <setting name="enabled" control="compiler-enabled">true</setting>
 498       <setting name="period">10 s</setting>
 499     </event>
 500 
 501     <event name="jdk.CPULoad">
 502       <setting name="enabled">true</setting>
 503       <setting name="period">1000 ms</setting>
 504     </event>
 505 
 506     <event name="jdk.ThreadCPULoad">
 507       <setting name="enabled">true</setting>
 508       <setting name="period">10 s</setting>
 509     </event>
 510 
 511     <event name="jdk.CPUTimeStampCounter">
 512       <setting name="enabled">true</setting>
 513       <setting name="period">beginChunk</setting>
 514     </event>
 515 
 516     <event name="jdk.SystemProcess">
 517       <setting name="enabled">true</setting>
 518       <setting name="period">endChunk</setting>
 519     </event>
 520 
 521     <event name="jdk.NetworkUtilization">
 522       <setting name="enabled">true</setting>
 523       <setting name="period">5 s</setting>
 524     </event>
 525 
 526     <event name="jdk.InitialEnvironmentVariable">
 527       <setting name="enabled">true</setting>
 528       <setting name="period">beginChunk</setting>
 529     </event>
 530 
 531     <event name="jdk.PhysicalMemory">
 532       <setting name="enabled">true</setting>
 533       <setting name="period">everyChunk</setting>
 534     </event>
 535 
 536     <event name="jdk.ObjectAllocationInNewTLAB">
 537       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 538       <setting name="stackTrace">true</setting>
 539     </event>
 540 
 541     <event name="jdk.ObjectAllocationOutsideTLAB">
 542       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 543       <setting name="stackTrace">true</setting>
 544     </event>
 545 
 546     <event name="jdk.NativeLibrary">
 547       <setting name="enabled">true</setting>
 548       <setting name="period">everyChunk</setting>
 549     </event>
 550 
 551     <event name="jdk.ModuleRequire">
 552       <setting name="enabled">true</setting>
 553       <setting name="period">endChunk</setting>
 554     </event>
 555 
 556     <event name="jdk.ModuleExport">
 557       <setting name="enabled">true</setting>
 558       <setting name="period">endChunk</setting>
 559     </event>
 560 
 561     <event name="jdk.FileForce">
 562       <setting name="enabled">true</setting>
 563       <setting name="stackTrace">true</setting>
 564       <setting name="threshold" control="file-io-threshold">10 ms</setting>
 565     </event>
 566 
 567     <event name="jdk.FileRead">
 568       <setting name="enabled">true</setting>
 569       <setting name="stackTrace">true</setting>
 570       <setting name="threshold" control="file-io-threshold">10 ms</setting>
 571     </event>
 572 
 573     <event name="jdk.FileWrite">
 574       <setting name="enabled">true</setting>
 575       <setting name="stackTrace">true</setting>
 576       <setting name="threshold" control="file-io-threshold">10 ms</setting>
 577     </event>
 578 
 579     <event name="jdk.SocketRead">
 580       <setting name="enabled">true</setting>
 581       <setting name="stackTrace">true</setting>
 582       <setting name="threshold" control="socket-io-threshold">10 ms</setting>
 583     </event>
 584 
 585     <event name="jdk.SocketWrite">
 586       <setting name="enabled">true</setting>
 587       <setting name="stackTrace">true</setting>
 588       <setting name="threshold" control="socket-io-threshold">10 ms</setting>
 589     </event>
 590 
 591     <event name="jdk.SecurityPropertyModification">
 592        <setting name="enabled">false</setting>
 593        <setting name="stackTrace">true</setting>
 594     </event>
 595 
 596     <event name="jdk.TLSHandshake">
 597       <setting name="enabled">false</setting>
 598       <setting name="stackTrace">true</setting>
 599     </event>
 600 
 601     <event name="jdk.X509Validation">
 602        <setting name="enabled">false</setting>
 603        <setting name="stackTrace">true</setting>
 604     </event>
 605 
 606     <event name="jdk.X509Certificate">
 607        <setting name="enabled">false</setting>
 608        <setting name="stackTrace">true</setting>
 609     </event>
 610 
 611     <event name="jdk.JavaExceptionThrow">
 612       <setting name="enabled" control="enable-exceptions">false</setting>
 613       <setting name="stackTrace">true</setting>
 614     </event>
 615 
 616     <event name="jdk.JavaErrorThrow">
 617       <setting name="enabled" control="enable-errors">true</setting>
 618       <setting name="stackTrace">true</setting>
 619     </event>
 620 
 621     <event name="jdk.ExceptionStatistics">
 622       <setting name="enabled">true</setting>
 623       <setting name="period">1000 ms</setting>
 624     </event>
 625 
 626     <event name="jdk.ActiveRecording">
 627       <setting name="enabled">true</setting>
 628     </event>
 629 
 630     <event name="jdk.ActiveSetting">
 631       <setting name="enabled">true</setting>
 632     </event>
 633 
 634     <event name="jdk.DataLoss">
 635       <setting name="enabled">true</setting>
 636     </event>
 637 
 638     <event name="jdk.DumpReason">
 639       <setting name="enabled">true</setting>
 640     </event>
 641 
 642     <event name="jdk.ZPageAllocation">
 643       <setting name="enabled">true</setting>
 644       <setting name="threshold">10 ms</setting>
 645     </event>
 646 
 647     <event name="jdk.ZThreadPhase">
 648       <setting name="enabled">true</setting>
 649       <setting name="threshold">0 ms</setting>
 650     </event>
 651 
 652     <event name="jdk.ZStatisticsCounter">
 653       <setting name="threshold">10 ms</setting>
 654       <setting name="enabled">true</setting>
 655     </event>
 656 
 657     <event name="jdk.ZStatisticsSampler">
 658       <setting name="enabled">true</setting>
 659       <setting name="threshold">10 ms</setting>
 660     </event>
 661 
 662 
 663 
 664 
 665 
 666 
 667 
 668 
 669 
 670 
 671 
 672 
 673 
 674 
 675 
 676 
 677 
 678 
 679 
 680 
 681 
 682 
 683 
 684 
 685 
 686 
 687 
 688 
 689 
 690     <!--
 691          Contents of the control element is not read by the JVM, it's used
 692          by Java Mission Control to change settings that carry the control attribute.
 693     -->
 694     <control>
 695 
 696       <selection name="gc-level" default="detailed" label="Garbage Collector">
 697         <option label="Off" name="off">off</option>
 698         <option label="Normal" name="detailed">normal</option>
 699         <option label="All" name="all">all</option>
 700       </selection>
 701 
 702       <condition name="gc-enabled-normal" true="true" false="false">
 703         <or>
 704           <test name="gc-level" operator="equal" value="normal"/>
 705           <test name="gc-level" operator="equal" value="all"/>
 706         </or>
 707       </condition>
 708 
 709       <condition name="gc-enabled-all" true="true" false="false">
 710         <test name="gc-level" operator="equal" value="all"/>
 711       </condition>
 712 
 713       <selection name="memory-profiling" default="medium" label="Memory Profiling">
 714         <option label="Off" name="off">off</option>
 715         <option label="Object Allocation and Promotion" name="medium">medium</option>
 716         <option label="All, including Heap Statistics (May cause long full GCs)" name="all">all</option>
 717       </selection>
 718 
 719       <condition name="memory-profiling-enabled-medium" true="true" false="false">
 720         <or>
 721           <test name="memory-profiling" operator="equal" value="medium"/>
 722           <test name="memory-profiling" operator="equal" value="all"/>
 723         </or>
 724       </condition>
 725 
 726       <condition name="memory-profiling-enabled-all" true="true" false="false">
 727         <test name="memory-profiling" operator="equal" value="all"/>
 728       </condition>
 729 
 730       <selection name="compiler-level" default="detailed" label="Compiler">
 731         <option label="Off" name="off">off</option>
 732         <option label="Normal" name="normal">normal</option>
 733         <option label="Detailed" name="detailed">detailed</option>
 734         <option label="All" name="all">all</option>
 735       </selection>
 736 
 737       <condition name="compiler-enabled" true="false" false="true">
 738         <test name="compiler-level" operator="equal" value="off"/>
 739       </condition>
 740 
 741       <condition name="compiler-enabled-failure" true="true" false="false">
 742         <or>
 743           <test name="compiler-level" operator="equal" value="detailed"/>
 744           <test name="compiler-level" operator="equal" value="all"/>
 745         </or>
 746       </condition>
 747 
 748       <condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms">
 749         <test name="compiler-level" operator="equal" value="all"/>
 750       </condition>
 751 
 752       <condition name="compiler-compilation-threshold" true="1000 ms">
 753         <test name="compiler-level" operator="equal" value="normal"/>
 754       </condition>
 755 
 756       <condition name="compiler-compilation-threshold" true="100 ms">
 757         <test name="compiler-level" operator="equal" value="detailed"/>
 758       </condition>
 759 
 760       <condition name="compiler-compilation-threshold" true="0 ms">
 761         <test name="compiler-level" operator="equal" value="all"/>
 762       </condition>
 763 
 764       <condition name="compiler-phase-threshold" true="60 s">
 765         <test name="compiler-level" operator="equal" value="normal"/>
 766       </condition>
 767 
 768       <condition name="compiler-phase-threshold" true="10 s">
 769         <test name="compiler-level" operator="equal" value="detailed"/>
 770       </condition>
 771 
 772       <condition name="compiler-phase-threshold" true="0 s">
 773         <test name="compiler-level" operator="equal" value="all"/>
 774       </condition>
 775 
 776       <selection name="method-sampling-interval" default="maximum" label="Method Sampling">
 777         <option label="Off" name="off">999 d</option>
 778         <option label="Normal" name="normal">20 ms</option>
 779         <option label="Maximum" name="maximum">10 ms</option>
 780       </selection>
 781 
 782       <condition name="method-sampling-enabled" true="false" false="true">
 783         <test name="method-sampling-interval" operator="equal" value="999 d"/>
 784       </condition>
 785 
 786       <selection name="thread-dump-interval" default="everyMinute" label="Thread Dump">
 787         <option label="Off" name="off">999 d</option>
 788         <option label="At least Once" name="normal">everyChunk</option>
 789         <option label="Every 60 s" name="everyMinute">60 s</option>
 790         <option label="Every 10 s" name="everyTenSecond">10 s</option>
 791         <option label="Every 1 s" name="everySecond">1 s</option>
 792       </selection>
 793 
 794       <condition name="thread-dump-enabled" true="false" false="true">
 795         <test name="thread-dump-interval" operator="equal" value="999 d"/>
 796       </condition>
 797 
 798       <selection name="exception-level" default="errors" label="Exceptions">
 799         <option label="Off" name="off">off</option>
 800         <option label="Errors Only" name="errors">errors</option>
 801         <option label="All Exceptions, including Errors" name="all">all</option>
 802       </selection>
 803 
 804       <condition name="enable-errors" true="true" false="false">
 805         <or>
 806           <test name="exception-level" operator="equal" value="errors"/>
 807           <test name="exception-level" operator="equal" value="all"/>
 808         </or>
 809       </condition>
 810 
 811       <condition name="enable-exceptions" true="true" false="false">
 812         <test name="exception-level" operator="equal" value="all"/>
 813       </condition>
 814 
 815       <selection name="memory-leak-detection" default="medium" label="Memory Leak Detection">
 816         <option label="Off" name="off">off</option>
 817         <option label="Object Types" name="minimal">minimal</option>
 818         <option label="Object Types + Allocation Stack Traces" name="medium">medium</option>
 819         <option label="Object Types + Allocation Stack Traces + Path to GC Root" name="full">full</option>
 820       </selection>
 821 
 822       <condition name="memory-leak-detection-enabled" true="false" false="true">
 823         <test name="memory-leak-detection" operator="equal" value="off"/>
 824       </condition>
 825 
 826       <condition name="memory-leak-detection-stack-trace" true="true" false="false">
 827         <or>
 828           <test name="memory-leak-detection" operator="equal" value="medium"/>
 829           <test name="memory-leak-detection" operator="equal" value="full"/>
 830         </or>
 831       </condition>
 832 
 833       <condition name="memory-leak-detection-cutoff" true="1 h" false="0 ns">
 834         <test name="memory-leak-detection" operator="equal" value="full"/>
 835       </condition>
 836 
 837       <text name="synchronization-threshold" label="Synchronization Threshold" contentType="timespan" minimum="0 s">10 ms</text>
 838 
 839       <text name="file-io-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
 840 
 841       <text name="socket-io-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
 842 
 843       <flag name="class-loading-enabled" label="Class Loading">false</flag>
 844 
 845     </control>
 846 
 847 </configuration>