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