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="com.oracle.jdk.ThreadAllocationStatistics">
  11       <setting name="enabled">true</setting>
  12       <setting name="period">everyChunk</setting>
  13     </event>
  14 
  15     <event name="com.oracle.jdk.ClassLoadingStatistics">
  16       <setting name="enabled">true</setting>
  17       <setting name="period">1000 ms</setting>
  18     </event>
  19 
  20     <event name="com.oracle.jdk.ClassLoaderStatistics">
  21       <setting name="enabled">true</setting>
  22       <setting name="period">everyChunk</setting>
  23     </event>
  24 
  25     <event name="com.oracle.jdk.JavaThreadStatistics">
  26       <setting name="enabled">true</setting>
  27       <setting name="period">1000 ms</setting>
  28     </event>
  29 
  30     <event name="com.oracle.jdk.ThreadStart">
  31       <setting name="enabled">true</setting>
  32     </event>
  33 
  34     <event name="com.oracle.jdk.ThreadEnd">
  35       <setting name="enabled">true</setting>
  36     </event>
  37 
  38     <event name="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.jdk.ReservedStackActivation">
  87       <setting name="enabled">true</setting>
  88       <setting name="stackTrace">true</setting>
  89     </event>
  90 
  91     <event name="com.oracle.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="com.oracle.jdk.ClassDefine">
  98       <setting name="enabled" control="class-loading-enabled">false</setting>
  99       <setting name="stackTrace">true</setting>
 100     </event>
 101 
 102     <event name="com.oracle.jdk.ClassUnload">
 103       <setting name="enabled" control="class-loading-enabled">false</setting>
 104     </event>
 105 
 106     <event name="com.oracle.jdk.JVMInformation">
 107       <setting name="enabled">true</setting>
 108       <setting name="period">beginChunk</setting>
 109     </event>
 110 
 111     <event name="com.oracle.jdk.InitialSystemProperty">
 112       <setting name="enabled">true</setting>
 113       <setting name="period">beginChunk</setting>
 114     </event>
 115 
 116     <event name="com.oracle.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="com.oracle.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="com.oracle.jdk.SafepointBegin">
 127       <setting name="enabled">true</setting>
 128       <setting name="threshold">0 ms</setting>
 129     </event>
 130 
 131     <event name="com.oracle.jdk.SafepointStateSynchronization">
 132       <setting name="enabled">false</setting>
 133       <setting name="threshold">0 ms</setting>
 134     </event>
 135 
 136     <event name="com.oracle.jdk.SafepointWaitBlocked">
 137       <setting name="enabled">false</setting>
 138       <setting name="threshold">0 ms</setting>
 139     </event>
 140 
 141     <event name="com.oracle.jdk.SafepointCleanup">
 142       <setting name="enabled">false</setting>
 143       <setting name="threshold">0 ms</setting>
 144     </event>
 145 
 146     <event name="com.oracle.jdk.SafepointCleanupTask">
 147       <setting name="enabled">false</setting>
 148       <setting name="threshold">0 ms</setting>
 149     </event>
 150 
 151     <event name="com.oracle.jdk.SafepointEnd">
 152       <setting name="enabled">false</setting>
 153       <setting name="threshold">0 ms</setting>
 154     </event>
 155 
 156     <event name="com.oracle.jdk.ExecuteVMOperation">
 157       <setting name="enabled">true</setting>
 158       <setting name="threshold">0 ms</setting>
 159     </event>
 160 
 161     <event name="com.oracle.jdk.Shutdown">
 162       <setting name="enabled">true</setting>
 163       <setting name="stackTrace">true</setting>
 164     </event>
 165 
 166     <event name="com.oracle.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="com.oracle.jdk.IntFlag">
 172       <setting name="enabled">true</setting>
 173       <setting name="period">beginChunk</setting>
 174     </event>
 175 
 176     <event name="com.oracle.jdk.UnsignedIntFlag">
 177       <setting name="enabled">true</setting>
 178       <setting name="period">beginChunk</setting>
 179     </event>
 180 
 181     <event name="com.oracle.jdk.LongFlag">
 182       <setting name="enabled">true</setting>
 183       <setting name="period">beginChunk</setting>
 184     </event>
 185 
 186     <event name="com.oracle.jdk.UnsignedLongFlag">
 187       <setting name="enabled">true</setting>
 188       <setting name="period">beginChunk</setting>
 189     </event>
 190 
 191     <event name="com.oracle.jdk.DoubleFlag">
 192       <setting name="enabled">true</setting>
 193       <setting name="period">beginChunk</setting>
 194     </event>
 195 
 196     <event name="com.oracle.jdk.BooleanFlag">
 197       <setting name="enabled">true</setting>
 198       <setting name="period">beginChunk</setting>
 199     </event>
 200 
 201     <event name="com.oracle.jdk.StringFlag">
 202       <setting name="enabled">true</setting>
 203       <setting name="period">beginChunk</setting>
 204     </event>
 205 
 206     <event name="com.oracle.jdk.IntFlagChanged">
 207       <setting name="enabled">true</setting>
 208     </event>
 209 
 210     <event name="com.oracle.jdk.UnsignedIntFlagChanged">
 211       <setting name="enabled">true</setting>
 212     </event>
 213 
 214     <event name="com.oracle.jdk.LongFlagChanged">
 215       <setting name="enabled">true</setting>
 216     </event>
 217 
 218     <event name="com.oracle.jdk.UnsignedLongFlagChanged">
 219       <setting name="enabled">true</setting>
 220     </event>
 221 
 222     <event name="com.oracle.jdk.DoubleFlagChanged">
 223       <setting name="enabled">true</setting>
 224     </event>
 225 
 226     <event name="com.oracle.jdk.BooleanFlagChanged">
 227       <setting name="enabled">true</setting>
 228     </event>
 229 
 230     <event name="com.oracle.jdk.StringFlagChanged">
 231       <setting name="enabled">true</setting>
 232     </event>
 233 
 234     <event name="com.oracle.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="com.oracle.jdk.GCConfiguration">
 240       <setting name="enabled" control="gc-enabled-normal">true</setting>
 241       <setting name="period">everyChunk</setting>
 242     </event>
 243 
 244     <event name="com.oracle.jdk.GCHeapConfiguration">
 245       <setting name="enabled" control="gc-enabled-normal">true</setting>
 246       <setting name="period">beginChunk</setting>
 247     </event>
 248 
 249     <event name="com.oracle.jdk.YoungGenerationConfiguration">
 250       <setting name="enabled" control="gc-enabled-normal">true</setting>
 251       <setting name="period">beginChunk</setting>
 252     </event>
 253 
 254     <event name="com.oracle.jdk.GCTLABConfiguration">
 255       <setting name="enabled" control="gc-enabled-normal">true</setting>
 256       <setting name="period">beginChunk</setting>
 257     </event>
 258 
 259     <event name="com.oracle.jdk.GCSurvivorConfiguration">
 260       <setting name="enabled" control="gc-enabled-normal">true</setting>
 261       <setting name="period">beginChunk</setting>
 262     </event>
 263 
 264     <event name="com.oracle.jdk.ObjectCountAfterGC">
 265       <setting name="enabled">false</setting>
 266     </event>
 267 
 268     <event name="com.oracle.jdk.GCHeapSummary">
 269       <setting name="enabled" control="gc-enabled-normal">true</setting>
 270     </event>
 271 
 272     <event name="com.oracle.jdk.PSHeapSummary">
 273       <setting name="enabled" control="gc-enabled-normal">true</setting>
 274     </event>
 275 
 276     <event name="com.oracle.jdk.G1HeapSummary">
 277       <setting name="enabled" control="gc-enabled-normal">true</setting>
 278     </event>
 279 
 280     <event name="com.oracle.jdk.MetaspaceSummary">
 281       <setting name="enabled" control="gc-enabled-normal">true</setting>
 282     </event>
 283 
 284     <event name="com.oracle.jdk.MetaspaceGCThreshold">
 285       <setting name="enabled" control="gc-enabled-normal">true</setting>
 286     </event>
 287 
 288     <event name="com.oracle.jdk.MetaspaceAllocationFailure">
 289       <setting name="enabled" control="gc-enabled-normal">true</setting>
 290       <setting name="stackTrace">true</setting>
 291     </event>
 292 
 293     <event name="com.oracle.jdk.MetaspaceOOM">
 294       <setting name="enabled" control="gc-enabled-normal">true</setting>
 295       <setting name="stackTrace">true</setting>
 296     </event>
 297 
 298     <event name="com.oracle.jdk.MetaspaceChunkFreeListSummary">
 299       <setting name="enabled" control="gc-enabled-normal">true</setting>
 300     </event>
 301 
 302     <event name="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.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="com.oracle.jdk.GCReferenceStatistics">
 358       <setting name="enabled" control="gc-enabled-normal">true</setting>
 359     </event>
 360 
 361     <event name="com.oracle.jdk.PromotionFailed">
 362       <setting name="enabled" control="gc-enabled-normal">true</setting>
 363     </event>
 364 
 365     <event name="com.oracle.jdk.EvacuationFailed">
 366       <setting name="enabled" control="gc-enabled-normal">true</setting>
 367     </event>
 368 
 369     <event name="com.oracle.jdk.EvacuationInformation">
 370       <setting name="enabled" control="gc-enabled-normal">true</setting>
 371     </event>
 372 
 373     <event name="com.oracle.jdk.G1MMU">
 374       <setting name="enabled" control="gc-enabled-normal">true</setting>
 375     </event>
 376 
 377     <event name="com.oracle.jdk.G1EvacuationYoungStatistics">
 378       <setting name="enabled" control="gc-enabled-normal">true</setting>
 379     </event>
 380 
 381     <event name="com.oracle.jdk.G1EvacuationOldStatistics">
 382       <setting name="enabled" control="gc-enabled-normal">true</setting>
 383     </event>
 384 
 385     <event name="com.oracle.jdk.G1BasicIHOP">
 386       <setting name="enabled" control="gc-enabled-normal">true</setting>
 387     </event>
 388 
 389     <event name="com.oracle.jdk.G1AdaptiveIHOP">
 390       <setting name="enabled" control="gc-enabled-normal">true</setting>
 391     </event>
 392 
 393     <event name="com.oracle.jdk.PromoteObjectInNewPLAB">
 394       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 395     </event>
 396 
 397     <event name="com.oracle.jdk.PromoteObjectOutsidePLAB">
 398       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 399     </event>
 400 
 401     <event name="com.oracle.jdk.ConcurrentModeFailure">
 402       <setting name="enabled" control="gc-enabled-normal">true</setting>
 403     </event>
 404 
 405     <event name="com.oracle.jdk.AllocationRequiringGC">
 406       <setting name="enabled" control="gc-enabled-all">false</setting>
 407       <setting name="stackTrace">true</setting>
 408     </event>
 409 
 410     <event name="com.oracle.jdk.TenuringDistribution">
 411       <setting name="enabled" control="gc-enabled-normal">true</setting>
 412     </event>
 413 
 414     <event name="com.oracle.jdk.G1HeapRegionInformation">
 415       <setting name="enabled" control="gc-enabled-all">false</setting>
 416       <setting name="period">everyChunk</setting>
 417     </event>
 418 
 419     <event name="com.oracle.jdk.G1HeapRegionTypeChange">
 420       <setting name="enabled" control="gc-enabled-all">false</setting>
 421     </event>
 422 
 423     <event name="com.oracle.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="com.oracle.jdk.CompilerConfiguration">
 430       <setting name="enabled" control="compiler-enabled">true</setting>
 431       <setting name="period">beginChunk</setting>
 432     </event>
 433 
 434     <event name="com.oracle.jdk.CompilerStatistics">
 435       <setting name="enabled" control="compiler-enabled">true</setting>
 436       <setting name="period">1000 ms</setting>
 437     </event>
 438 
 439     <event name="com.oracle.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="com.oracle.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="com.oracle.jdk.CompilationFailure">
 450       <setting name="enabled" control="compiler-enabled-failure">true</setting>
 451     </event>
 452 
 453     <event name="com.oracle.jdk.CompilerInlining">
 454       <setting name="enabled" control="compiler-enabled-failure">false</setting>
 455     </event>
 456 
 457     <event name="com.oracle.jdk.CodeSweeperConfiguration">
 458       <setting name="enabled" control="compiler-enabled">true</setting>
 459       <setting name="period">beginChunk</setting>
 460     </event>
 461 
 462     <event name="com.oracle.jdk.CodeSweeperStatistics">
 463       <setting name="enabled" control="compiler-enabled">true</setting>
 464       <setting name="period">everyChunk</setting>
 465     </event>
 466 
 467     <event name="com.oracle.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="com.oracle.jdk.CodeCacheConfiguration">
 473       <setting name="enabled" control="compiler-enabled">true</setting>
 474       <setting name="period">beginChunk</setting>
 475     </event>
 476 
 477     <event name="com.oracle.jdk.CodeCacheStatistics">
 478       <setting name="enabled" control="compiler-enabled">true</setting>
 479       <setting name="period">everyChunk</setting>
 480     </event>
 481 
 482     <event name="com.oracle.jdk.CodeCacheFull">
 483       <setting name="enabled" control="compiler-enabled">true</setting>
 484     </event>
 485 
 486     <event name="com.oracle.jdk.OSInformation">
 487       <setting name="enabled">true</setting>
 488       <setting name="period">beginChunk</setting>
 489     </event>
 490 
 491     <event name="com.oracle.jdk.CPUInformation">
 492       <setting name="enabled">true</setting>
 493       <setting name="period">beginChunk</setting>
 494     </event>
 495 
 496     <event name="com.oracle.jdk.ThreadContextSwitchRate">
 497       <setting name="enabled" control="compiler-enabled">true</setting>
 498       <setting name="period">10 s</setting>
 499     </event>
 500 
 501     <event name="com.oracle.jdk.CPULoad">
 502       <setting name="enabled">true</setting>
 503       <setting name="period">1000 ms</setting>
 504     </event>
 505 
 506     <event name="com.oracle.jdk.ThreadCPULoad">
 507       <setting name="enabled">true</setting>
 508       <setting name="period">10 s</setting>
 509     </event>
 510 
 511     <event name="com.oracle.jdk.CPUTimeStampCounter">
 512       <setting name="enabled">true</setting>
 513       <setting name="period">beginChunk</setting>
 514     </event>
 515 
 516     <event name="com.oracle.jdk.SystemProcess">
 517       <setting name="enabled">true</setting>
 518       <setting name="period">endChunk</setting>
 519     </event>
 520 
 521     <event name="com.oracle.jdk.InitialEnvironmentVariable">
 522       <setting name="enabled">true</setting>
 523       <setting name="period">beginChunk</setting>
 524     </event>
 525 
 526     <event name="com.oracle.jdk.PhysicalMemory">
 527       <setting name="enabled">true</setting>
 528       <setting name="period">everyChunk</setting>
 529     </event>
 530 
 531     <event name="com.oracle.jdk.ObjectAllocationInNewTLAB">
 532       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 533       <setting name="stackTrace">true</setting>
 534     </event>
 535 
 536     <event name="com.oracle.jdk.ObjectAllocationOutsideTLAB">
 537       <setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
 538       <setting name="stackTrace">true</setting>
 539     </event>
 540 
 541     <event name="com.oracle.jdk.NativeLibrary">
 542       <setting name="enabled">true</setting>
 543       <setting name="period">everyChunk</setting>
 544     </event>
 545 
 546     <event name="com.oracle.jdk.ModuleRequire">
 547       <setting name="enabled">true</setting>
 548       <setting name="period">endChunk</setting>
 549     </event>
 550 
 551     <event name="com.oracle.jdk.ModuleExport">
 552       <setting name="enabled">true</setting>
 553       <setting name="period">endChunk</setting>
 554     </event>
 555 
 556     <event name="com.oracle.jdk.FileForce">
 557       <setting name="enabled">true</setting>
 558       <setting name="stackTrace">true</setting>
 559       <setting name="threshold" control="file-io-threshold">10 ms</setting>
 560     </event>
 561 
 562     <event name="com.oracle.jdk.FileRead">
 563       <setting name="enabled">true</setting>
 564       <setting name="stackTrace">true</setting>
 565       <setting name="threshold" control="file-io-threshold">10 ms</setting>
 566     </event>
 567 
 568     <event name="com.oracle.jdk.FileWrite">
 569       <setting name="enabled">true</setting>
 570       <setting name="stackTrace">true</setting>
 571       <setting name="threshold" control="file-io-threshold">10 ms</setting>
 572     </event>
 573 
 574     <event name="com.oracle.jdk.SocketRead">
 575       <setting name="enabled">true</setting>
 576       <setting name="stackTrace">true</setting>
 577       <setting name="threshold" control="socket-io-threshold">10 ms</setting>
 578     </event>
 579 
 580     <event name="com.oracle.jdk.SocketWrite">
 581       <setting name="enabled">true</setting>
 582       <setting name="stackTrace">true</setting>
 583       <setting name="threshold" control="socket-io-threshold">10 ms</setting>
 584     </event>
 585 
 586     <event name="com.oracle.jdk.JavaExceptionThrow">
 587       <setting name="enabled" control="enable-exceptions">false</setting>
 588       <setting name="stackTrace">true</setting>
 589     </event>
 590 
 591     <event name="com.oracle.jdk.JavaErrorThrow">
 592       <setting name="enabled" control="enable-errors">true</setting>
 593       <setting name="stackTrace">true</setting>
 594     </event>
 595 
 596     <event name="com.oracle.jdk.ExceptionStatistics">
 597       <setting name="enabled">true</setting>
 598       <setting name="period">1000 ms</setting>
 599     </event>
 600 
 601     <event name="com.oracle.jdk.ActiveRecording">
 602       <setting name="enabled">true</setting>
 603     </event>
 604 
 605     <event name="com.oracle.jdk.ActiveSetting">
 606       <setting name="enabled">true</setting>
 607     </event>
 608 
 609     <event name="com.oracle.jdk.DataLoss">
 610       <setting name="enabled">true</setting>
 611     </event>
 612 
 613     <event name="com.oracle.jdk.DumpReason">
 614       <setting name="enabled">true</setting>
 615     </event>
 616 
 617 
 618 
 619 
 620 
 621 
 622 
 623 
 624 
 625 
 626 
 627 
 628 
 629 
 630 
 631 
 632 
 633 
 634 
 635 
 636 
 637 
 638 
 639 
 640 
 641 
 642 
 643 
 644 
 645 
 646     <!--
 647          Contents of the control element is not read by the JVM, it's used
 648          by Java Mission Control to change settings that carry the control attribute.
 649     -->
 650     <control>
 651 
 652       <selection name="gc-level" default="detailed" label="Garbage Collector">
 653         <option label="Off" name="off">off</option>
 654         <option label="Normal" name="detailed">normal</option>
 655         <option label="All" name="all">all</option>
 656       </selection>
 657 
 658       <condition name="gc-enabled-normal" true="true" false="false">
 659         <or>
 660           <test name="gc-level" operator="equal" value="normal"/>
 661           <test name="gc-level" operator="equal" value="all"/>
 662         </or>
 663       </condition>
 664 
 665       <condition name="gc-enabled-all" true="true" false="false">
 666         <test name="gc-level" operator="equal" value="all"/>
 667       </condition>
 668 
 669       <selection name="memory-profiling" default="medium" label="Memory Profiling">
 670         <option label="Off" name="off">off</option>
 671         <option label="Object Allocation and Promotion" name="medium">medium</option>
 672         <option label="All, including Heap Statistics (May cause long full GCs)" name="all">all</option>
 673       </selection>
 674 
 675       <condition name="memory-profiling-enabled-medium" true="true" false="false">
 676         <or>
 677           <test name="memory-profiling" operator="equal" value="medium"/>
 678           <test name="memory-profiling" operator="equal" value="all"/>
 679         </or>
 680       </condition>
 681 
 682       <condition name="memory-profiling-enabled-all" true="true" false="false">
 683         <test name="memory-profiling" operator="equal" value="all"/>
 684       </condition>
 685 
 686       <selection name="compiler-level" default="detailed" label="Compiler">
 687         <option label="Off" name="off">off</option>
 688         <option label="Normal" name="normal">normal</option>
 689         <option label="Detailed" name="detailed">detailed</option>
 690         <option label="All" name="all">all</option>
 691       </selection>
 692 
 693       <condition name="compiler-enabled" true="false" false="true">
 694         <test name="compiler-level" operator="equal" value="off"/>
 695       </condition>
 696 
 697       <condition name="compiler-enabled-failure" true="true" false="false">
 698         <or>
 699           <test name="compiler-level" operator="equal" value="detailed"/>
 700           <test name="compiler-level" operator="equal" value="all"/>
 701         </or>
 702       </condition>
 703 
 704       <condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms">
 705         <test name="compiler-level" operator="equal" value="all"/>
 706       </condition>
 707 
 708       <condition name="compiler-compilation-threshold" true="1000 ms">
 709         <test name="compiler-level" operator="equal" value="normal"/>
 710       </condition>
 711 
 712       <condition name="compiler-compilation-threshold" true="100 ms">
 713         <test name="compiler-level" operator="equal" value="detailed"/>
 714       </condition>
 715 
 716       <condition name="compiler-compilation-threshold" true="0 ms">
 717         <test name="compiler-level" operator="equal" value="all"/>
 718       </condition>
 719 
 720       <condition name="compiler-phase-threshold" true="60 s">
 721         <test name="compiler-level" operator="equal" value="normal"/>
 722       </condition>
 723 
 724       <condition name="compiler-phase-threshold" true="10 s">
 725         <test name="compiler-level" operator="equal" value="detailed"/>
 726       </condition>
 727 
 728       <condition name="compiler-phase-threshold" true="0 s">
 729         <test name="compiler-level" operator="equal" value="all"/>
 730       </condition>
 731 
 732       <selection name="method-sampling-interval" default="maximum" label="Method Sampling">
 733         <option label="Off" name="off">999 d</option>
 734         <option label="Normal" name="normal">20 ms</option>
 735         <option label="Maximum" name="maximum">10 ms</option>
 736       </selection>
 737 
 738       <condition name="method-sampling-enabled" true="false" false="true">
 739         <test name="method-sampling-interval" operator="equal" value="999 d"/>
 740       </condition>
 741 
 742       <selection name="thread-dump-interval" default="everyMinute" label="Thread Dump">
 743         <option label="Off" name="off">999 d</option>
 744         <option label="At least Once" name="normal">everyChunk</option>
 745         <option label="Every 60 s" name="everyMinute">60 s</option>
 746         <option label="Every 10 s" name="everyTenSecond">10 s</option>
 747         <option label="Every 1 s" name="everySecond">1 s</option>
 748       </selection>
 749 
 750       <condition name="thread-dump-enabled" true="false" false="true">
 751         <test name="thread-dump-interval" operator="equal" value="999 d"/>
 752       </condition>
 753 
 754       <selection name="exception-level" default="errors" label="Exceptions">
 755         <option label="Off" name="off">off</option>
 756         <option label="Errors Only" name="errors">errors</option>
 757         <option label="All Exceptions, including Errors" name="all">all</option>
 758       </selection>
 759 
 760       <condition name="enable-errors" true="true" false="false">
 761         <or>
 762           <test name="exception-level" operator="equal" value="errors"/>
 763           <test name="exception-level" operator="equal" value="all"/>
 764         </or>
 765       </condition>
 766 
 767       <condition name="enable-exceptions" true="true" false="false">
 768         <test name="exception-level" operator="equal" value="all"/>
 769       </condition>
 770 
 771       <selection name="memory-leak-detection" default="medium" label="Memory Leak Detection">
 772         <option label="Off" name="off">off</option>
 773         <option label="Object Types" name="minimal">minimal</option>
 774         <option label="Object Types + Allocation Stack Traces" name="medium">medium</option>
 775         <option label="Object Types + Allocation Stack Traces + Path to GC Root" name="full">full</option>
 776       </selection>
 777 
 778       <condition name="memory-leak-detection-enabled" true="false" false="true">
 779         <test name="memory-leak-detection" operator="equal" value="off"/>
 780       </condition>
 781 
 782       <condition name="memory-leak-detection-stack-trace" true="true" false="false">
 783         <or>
 784           <test name="memory-leak-detection" operator="equal" value="medium"/>
 785           <test name="memory-leak-detection" operator="equal" value="full"/>
 786         </or>
 787       </condition>
 788 
 789       <condition name="memory-leak-detection-cutoff" true="1 h" false="0 ns">
 790         <test name="memory-leak-detection" operator="equal" value="full"/>
 791       </condition>
 792   
 793       <text name="synchronization-threshold" label="Synchronization Threshold" contentType="timespan" minimum="0 s">10 ms</text>
 794 
 795       <text name="file-io-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
 796 
 797       <text name="socket-io-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
 798 
 799       <flag name="class-loading-enabled" label="Class Loading">false</flag>
 800 
 801     </control>
 802 
 803 </configuration>