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.ShenandoahEvacuationInformation"> 530 <setting name="enabled" control="gc-enabled-high">false</setting> 531 </event> 532 533 <event name="jdk.OldObjectSample"> 534 <setting name="enabled" control="old-objects-enabled">true</setting> 535 <setting name="stackTrace" control="old-objects-stack-trace">true</setting> 536 <setting name="cutoff" control="old-objects-cutoff">0 ns</setting> 537 </event> 538 539 <event name="jdk.NativeMemoryUsage"> 540 <setting name="enabled" control="gc-enabled-normal">true</setting> 541 <setting name="period">1000 ms</setting> 542 </event> 543 544 <event name="jdk.NativeMemoryUsageTotal"> 545 <setting name="enabled" control="gc-enabled-normal">true</setting> 546 <setting name="period">1000 ms</setting> 547 </event> 548 549 <event name="jdk.CompilerConfiguration"> 550 <setting name="enabled" control="compiler-enabled">true</setting> 551 <setting name="period">beginChunk</setting> 552 </event> 553 554 <event name="jdk.CompilerStatistics"> 555 <setting name="enabled" control="compiler-enabled">true</setting> 556 <setting name="period">1000 ms</setting> 557 </event> 558 559 <event name="jdk.Compilation"> 560 <setting name="enabled" control="compiler-enabled">true</setting> 561 <setting name="threshold" control="compiler-compilation-threshold">100 ms</setting> 562 </event> 563 564 <event name="jdk.CompilerPhase"> 565 <setting name="enabled" control="compiler-enabled">true</setting> 566 <setting name="threshold" control="compiler-phase-threshold">10 s</setting> 567 </event> 568 569 <event name="jdk.CompilationFailure"> 570 <setting name="enabled" control="compiler-enabled-failure">true</setting> 571 </event> 572 573 <event name="jdk.CompilerInlining"> 574 <setting name="enabled" control="compiler-enabled-failure">false</setting> 575 </event> 576 577 <event name="jdk.JITRestart"> 578 <setting name="enabled" control="compiler-enabled">true</setting> 579 </event> 580 581 <event name="jdk.CodeCacheConfiguration"> 582 <setting name="enabled" control="compiler-enabled">true</setting> 583 <setting name="period">beginChunk</setting> 584 </event> 585 586 <event name="jdk.CodeCacheStatistics"> 587 <setting name="enabled" control="compiler-enabled">true</setting> 588 <setting name="period">everyChunk</setting> 589 </event> 590 591 <event name="jdk.CodeCacheFull"> 592 <setting name="enabled" control="compiler-enabled">true</setting> 593 </event> 594 595 <event name="jdk.OSInformation"> 596 <setting name="enabled">true</setting> 597 <setting name="period">beginChunk</setting> 598 </event> 599 600 <event name="jdk.VirtualizationInformation"> 601 <setting name="enabled">true</setting> 602 <setting name="period">beginChunk</setting> 603 </event> 604 605 <event name="jdk.ContainerConfiguration"> 606 <setting name="enabled">true</setting> 607 <setting name="period">beginChunk</setting> 608 </event> 609 610 <event name="jdk.ContainerCPUUsage"> 611 <setting name="enabled">true</setting> 612 <setting name="period">30 s</setting> 613 </event> 614 615 <event name="jdk.ContainerCPUThrottling"> 616 <setting name="enabled">true</setting> 617 <setting name="period">30 s</setting> 618 </event> 619 620 <event name="jdk.ContainerMemoryUsage"> 621 <setting name="enabled">true</setting> 622 <setting name="period">30 s</setting> 623 </event> 624 625 <event name="jdk.ContainerIOUsage"> 626 <setting name="enabled">true</setting> 627 <setting name="period">30 s</setting> 628 </event> 629 630 <event name="jdk.CPUInformation"> 631 <setting name="enabled">true</setting> 632 <setting name="period">beginChunk</setting> 633 </event> 634 635 <event name="jdk.ThreadContextSwitchRate"> 636 <setting name="enabled" control="compiler-enabled">true</setting> 637 <setting name="period">10 s</setting> 638 </event> 639 640 <event name="jdk.CPULoad"> 641 <setting name="enabled">true</setting> 642 <setting name="period">1000 ms</setting> 643 </event> 644 645 <event name="jdk.ThreadCPULoad"> 646 <setting name="enabled">true</setting> 647 <setting name="period">10 s</setting> 648 </event> 649 650 <event name="jdk.CPUTimeStampCounter"> 651 <setting name="enabled">true</setting> 652 <setting name="period">beginChunk</setting> 653 </event> 654 655 <event name="jdk.SystemProcess"> 656 <setting name="enabled">true</setting> 657 <setting name="period">endChunk</setting> 658 </event> 659 660 <event name="jdk.ProcessStart"> 661 <setting name="enabled">true</setting> 662 <setting name="stackTrace">true</setting> 663 </event> 664 665 <event name="jdk.NetworkUtilization"> 666 <setting name="enabled">true</setting> 667 <setting name="period">5 s</setting> 668 </event> 669 670 <event name="jdk.InitialEnvironmentVariable"> 671 <setting name="enabled">true</setting> 672 <setting name="period">beginChunk</setting> 673 </event> 674 675 <event name="jdk.PhysicalMemory"> 676 <setting name="enabled">true</setting> 677 <setting name="period">everyChunk</setting> 678 </event> 679 680 <event name="jdk.ObjectAllocationInNewTLAB"> 681 <setting name="enabled" control="gc-enabled-high">false</setting> 682 <setting name="stackTrace">true</setting> 683 </event> 684 685 <event name="jdk.ObjectAllocationOutsideTLAB"> 686 <setting name="enabled" control="gc-enabled-high">false</setting> 687 <setting name="stackTrace">true</setting> 688 </event> 689 690 <event name="jdk.ObjectAllocationSample"> 691 <setting name="enabled" control="object-allocation-enabled">true</setting> 692 <setting name="throttle" control="allocation-profiling">300/s</setting> 693 <setting name="stackTrace">true</setting> 694 </event> 695 696 <event name="jdk.NativeLibrary"> 697 <setting name="enabled">true</setting> 698 <setting name="period">everyChunk</setting> 699 </event> 700 701 <event name="jdk.ModuleRequire"> 702 <setting name="enabled">true</setting> 703 <setting name="period">endChunk</setting> 704 </event> 705 706 <event name="jdk.ModuleExport"> 707 <setting name="enabled">true</setting> 708 <setting name="period">endChunk</setting> 709 </event> 710 711 <event name="jdk.FileForce"> 712 <setting name="enabled">true</setting> 713 <setting name="stackTrace">true</setting> 714 <setting name="threshold" control="file-threshold">10 ms</setting> 715 </event> 716 717 <event name="jdk.FileRead"> 718 <setting name="enabled">true</setting> 719 <setting name="stackTrace">true</setting> 720 <setting name="threshold" control="file-threshold">10 ms</setting> 721 </event> 722 723 <event name="jdk.FileWrite"> 724 <setting name="enabled">true</setting> 725 <setting name="stackTrace">true</setting> 726 <setting name="threshold" control="file-threshold">10 ms</setting> 727 </event> 728 729 <event name="jdk.SocketRead"> 730 <setting name="enabled">true</setting> 731 <setting name="stackTrace">true</setting> 732 <setting name="threshold" control="socket-threshold">10 ms</setting> 733 </event> 734 735 <event name="jdk.SocketWrite"> 736 <setting name="enabled">true</setting> 737 <setting name="stackTrace">true</setting> 738 <setting name="threshold" control="socket-threshold">10 ms</setting> 739 </event> 740 741 <event name="jdk.Deserialization"> 742 <setting name="enabled">false</setting> 743 <setting name="stackTrace">true</setting> 744 </event> 745 746 <event name="jdk.InitialSecurityProperty"> 747 <setting name="enabled">true</setting> 748 <setting name="period">beginChunk</setting> 749 </event> 750 751 <event name="jdk.SecurityPropertyModification"> 752 <setting name="enabled">false</setting> 753 <setting name="stackTrace">true</setting> 754 </event> 755 756 <event name="jdk.SecurityProviderService"> 757 <setting name="enabled">false</setting> 758 <setting name="stackTrace">true</setting> 759 </event> 760 761 <event name="jdk.TLSHandshake"> 762 <setting name="enabled">false</setting> 763 <setting name="stackTrace">true</setting> 764 </event> 765 766 <event name="jdk.X509Validation"> 767 <setting name="enabled">false</setting> 768 <setting name="stackTrace">true</setting> 769 </event> 770 771 <event name="jdk.X509Certificate"> 772 <setting name="enabled">false</setting> 773 <setting name="stackTrace">true</setting> 774 </event> 775 776 <event name="jdk.JavaExceptionThrow"> 777 <setting name="enabled" control="enable-exceptions">false</setting> 778 <setting name="stackTrace">true</setting> 779 </event> 780 781 <event name="jdk.JavaErrorThrow"> 782 <setting name="enabled" control="enable-errors">true</setting> 783 <setting name="stackTrace">true</setting> 784 </event> 785 786 <event name="jdk.ExceptionStatistics"> 787 <setting name="enabled">true</setting> 788 <setting name="period">1000 ms</setting> 789 </event> 790 791 <event name="jdk.ActiveRecording"> 792 <setting name="enabled">true</setting> 793 </event> 794 795 <event name="jdk.ActiveSetting"> 796 <setting name="enabled">true</setting> 797 </event> 798 799 <event name="jdk.Flush"> 800 <setting name="enabled">false</setting> 801 <setting name="threshold">0 ns</setting> 802 </event> 803 804 <event name="jdk.DataLoss"> 805 <setting name="enabled">true</setting> 806 </event> 807 808 <event name="jdk.DumpReason"> 809 <setting name="enabled">true</setting> 810 </event> 811 812 <event name="jdk.ZAllocationStall"> 813 <setting name="enabled">true</setting> 814 <setting name="stackTrace">true</setting> 815 <setting name="threshold">0 ms</setting> 816 </event> 817 818 <event name="jdk.ZPageAllocation"> 819 <setting name="enabled">true</setting> 820 <setting name="stackTrace">true</setting> 821 <setting name="threshold">1 ms</setting> 822 </event> 823 824 <event name="jdk.ZRelocationSet"> 825 <setting name="enabled">true</setting> 826 <setting name="threshold">0 ms</setting> 827 </event> 828 829 <event name="jdk.ZRelocationSetGroup"> 830 <setting name="enabled">true</setting> 831 <setting name="threshold">0 ms</setting> 832 </event> 833 834 <event name="jdk.ZStatisticsCounter"> 835 <setting name="enabled">false</setting> 836 <setting name="threshold">0 ms</setting> 837 </event> 838 839 <event name="jdk.ZStatisticsSampler"> 840 <setting name="enabled">false</setting> 841 <setting name="threshold">0 ms</setting> 842 </event> 843 844 <event name="jdk.ZThreadPhase"> 845 <setting name="enabled">false</setting> 846 <setting name="threshold">0 ms</setting> 847 </event> 848 849 <event name="jdk.ZUncommit"> 850 <setting name="enabled">true</setting> 851 <setting name="threshold">0 ms</setting> 852 </event> 853 854 <event name="jdk.ZUnmap"> 855 <setting name="enabled">true</setting> 856 <setting name="threshold">0 ms</setting> 857 </event> 858 859 <event name="jdk.ZYoungGarbageCollection"> 860 <setting name="enabled">true</setting> 861 <setting name="threshold">0 ms</setting> 862 </event> 863 864 <event name="jdk.ZOldGarbageCollection"> 865 <setting name="enabled">true</setting> 866 <setting name="threshold">0 ms</setting> 867 </event> 868 869 <event name="jdk.Deoptimization"> 870 <setting name="enabled">true</setting> 871 <setting name="stackTrace">true</setting> 872 </event> 873 874 <event name="jdk.HeapDump"> 875 <setting name="enabled">true</setting> 876 <setting name="threshold">0 ns</setting> 877 <setting name="stackTrace">true</setting> 878 </event> 879 880 <event name="jdk.DirectBufferStatistics"> 881 <setting name="enabled">true</setting> 882 <setting name="period">5 s</setting> 883 </event> 884 885 <event name="jdk.GCLocker"> 886 <setting name="enabled">true</setting> 887 <setting name="threshold">100 ms</setting> 888 <setting name="stackTrace">true</setting> 889 </event> 890 891 <event name="jdk.FinalizerStatistics"> 892 <setting name="enabled">true</setting> 893 <setting name="period">endChunk</setting> 894 </event> 895 896 <event name="jdk.JavaAgent"> 897 <setting name="enabled">true</setting> 898 <setting name="period">endChunk</setting> 899 </event> 900 901 <event name="jdk.NativeAgent"> 902 <setting name="enabled">true</setting> 903 <setting name="period">endChunk</setting> 904 </event> 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 <!-- 930 Contents of the control element is not read by the JVM, it's used 931 by JDK Mission Control and the 'jfr' tool to change settings that 932 carry the control attribute. 933 --> 934 <control> 935 <selection name="gc" default="detailed" label="Garbage Collector"> 936 <option label="Off" name="off">off</option> 937 <option label="Normal" name="normal">normal</option> 938 <option label="Detailed" name="detailed">detailed</option> 939 <option label="High, incl. TLABs/PLABs (may cause many events)" name="high">high</option> 940 <option label="All, incl. Heap Statistics (may cause long GCs)" name="all">all</option> 941 </selection> 942 943 <condition name="gc-enabled-normal" true="true" false="false"> 944 <or> 945 <test name="gc" operator="equal" value="normal"/> 946 <test name="gc" operator="equal" value="detailed"/> 947 <test name="gc" operator="equal" value="high"/> 948 <test name="gc" operator="equal" value="all"/> 949 </or> 950 </condition> 951 952 <condition name="gc-enabled-detailed" true="true" false="false"> 953 <or> 954 <test name="gc" operator="equal" value="detailed"/> 955 <test name="gc" operator="equal" value="high"/> 956 <test name="gc" operator="equal" value="all"/> 957 </or> 958 </condition> 959 960 <condition name="gc-enabled-high" true="true" false="false"> 961 <or> 962 <test name="gc" operator="equal" value="high"/> 963 <test name="gc" operator="equal" value="all"/> 964 </or> 965 </condition> 966 967 <condition name="gc-enabled-all" true="true" false="false"> 968 <test name="gc" operator="equal" value="all"/> 969 </condition> 970 971 <selection name="allocation-profiling" default="medium" label="Allocation Profiling"> 972 <option label="Off" name="off">0/s</option> 973 <option label="Low" name="low">150/s</option> 974 <option label="Medium" name="medium">300/s</option> 975 <option label="High" name="high">1000/s</option> 976 <option label="Maximum" name="maximum">1000000000/s</option> 977 </selection> 978 979 <condition name="object-allocation-enabled" true="true" false="false"> 980 <not> 981 <test name="allocation-profiling" operator="equal" value="off"/> 982 </not> 983 </condition> 984 985 <selection name="compiler" default="detailed" label="Compiler"> 986 <option label="Off" name="off">off</option> 987 <option label="Normal" name="normal">normal</option> 988 <option label="Detailed" name="detailed">detailed</option> 989 <option label="All" name="all">all</option> 990 </selection> 991 992 <condition name="compiler-enabled" true="false" false="true"> 993 <test name="compiler" operator="equal" value="off"/> 994 </condition> 995 996 <condition name="compiler-enabled-failure" true="true" false="false"> 997 <or> 998 <test name="compiler" operator="equal" value="detailed"/> 999 <test name="compiler" operator="equal" value="all"/> 1000 </or> 1001 </condition> 1002 1003 <condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms"> 1004 <test name="compiler" operator="equal" value="all"/> 1005 </condition> 1006 1007 <condition name="compiler-compilation-threshold" true="1000 ms"> 1008 <test name="compiler" operator="equal" value="normal"/> 1009 </condition> 1010 1011 <condition name="compiler-compilation-threshold" true="100 ms"> 1012 <test name="compiler" operator="equal" value="detailed"/> 1013 </condition> 1014 1015 <condition name="compiler-compilation-threshold" true="0 ms"> 1016 <test name="compiler" operator="equal" value="all"/> 1017 </condition> 1018 1019 <condition name="compiler-phase-threshold" true="60 s"> 1020 <test name="compiler" operator="equal" value="normal"/> 1021 </condition> 1022 1023 <condition name="compiler-phase-threshold" true="10 s"> 1024 <test name="compiler" operator="equal" value="detailed"/> 1025 </condition> 1026 1027 <condition name="compiler-phase-threshold" true="0 s"> 1028 <test name="compiler" operator="equal" value="all"/> 1029 </condition> 1030 1031 <selection name="method-profiling" default="high" label="Method Profiling"> 1032 <option label="Off" name="off">off</option> 1033 <option label="Normal" name="normal">normal</option> 1034 <option label="High" name="high">high</option> 1035 <option label="Maximum (High Overhead)" name="max">max</option> 1036 </selection> 1037 1038 <condition name="method-sampling-java-interval" true="999 d"> 1039 <test name="method-profiling" operator="equal" value="off"/> 1040 </condition> 1041 1042 <condition name="method-sampling-java-interval" true="20 ms"> 1043 <test name="method-profiling" operator="equal" value="normal"/> 1044 </condition> 1045 1046 <condition name="method-sampling-java-interval" true="10 ms"> 1047 <test name="method-profiling" operator="equal" value="high"/> 1048 </condition> 1049 1050 <condition name="method-sampling-java-interval" true="1 ms"> 1051 <test name="method-profiling" operator="equal" value="max"/> 1052 </condition> 1053 1054 <condition name="method-sampling-native-interval" true="999 d"> 1055 <test name="method-profiling" operator="equal" value="off"/> 1056 </condition> 1057 1058 <condition name="method-sampling-native-interval" true="20 ms"> 1059 <or> 1060 <test name="method-profiling" operator="equal" value="normal"/> 1061 <test name="method-profiling" operator="equal" value="high"/> 1062 <test name="method-profiling" operator="equal" value="max"/> 1063 </or> 1064 </condition> 1065 1066 <condition name="method-sampling-enabled" true="false" false="true"> 1067 <test name="method-profiling" operator="equal" value="off"/> 1068 </condition> 1069 1070 <selection name="thread-dump" default="once" label="Thread Dump"> 1071 <option label="Off" name="off">999 d</option> 1072 <option label="At least Once" name="once">everyChunk</option> 1073 <option label="Every 60 s" name="60s">60 s</option> 1074 <option label="Every 10 s" name="10s">10 s</option> 1075 <option label="Every 1 s" name="1s">1 s</option> 1076 </selection> 1077 1078 <condition name="thread-dump-enabled" true="false" false="true"> 1079 <test name="thread-dump" operator="equal" value="999 d"/> 1080 </condition> 1081 1082 <selection name="exceptions" default="errors" label="Exceptions"> 1083 <option label="Off" name="off">off</option> 1084 <option label="Errors Only" name="errors">errors</option> 1085 <option label="All Exceptions, including Errors" name="all">all</option> 1086 </selection> 1087 1088 <condition name="enable-errors" true="true" false="false"> 1089 <or> 1090 <test name="exceptions" operator="equal" value="errors"/> 1091 <test name="exceptions" operator="equal" value="all"/> 1092 </or> 1093 </condition> 1094 1095 <condition name="enable-exceptions" true="true" false="false"> 1096 <test name="exceptions" operator="equal" value="all"/> 1097 </condition> 1098 1099 <selection name="memory-leaks" default="stack-traces" label="Memory Leak Detection"> 1100 <option label="Off" name="off">off</option> 1101 <option label="Object Types" name="types">types</option> 1102 <option label="Object Types + Allocation Stack Traces" name="stack-traces">stack-traces</option> 1103 <option label="Object Types + Allocation Stack Traces + Path to GC Root" name="gc-roots">gc-roots</option> 1104 </selection> 1105 1106 <condition name="old-objects-enabled" true="false" false="true"> 1107 <test name="memory-leaks" operator="equal" value="off"/> 1108 </condition> 1109 1110 <condition name="old-objects-stack-trace" true="true" false="false"> 1111 <or> 1112 <test name="memory-leaks" operator="equal" value="stack-traces"/> 1113 <test name="memory-leaks" operator="equal" value="gc-roots"/> 1114 </or> 1115 </condition> 1116 1117 <condition name="old-objects-cutoff" true="1 h" false="0 ns"> 1118 <test name="memory-leaks" operator="equal" value="gc-roots"/> 1119 </condition> 1120 1121 <text name="locking-threshold" label="Locking Threshold" contentType="timespan" minimum="0 s">10 ms</text> 1122 1123 <text name="file-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text> 1124 1125 <text name="socket-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text> 1126 1127 <flag name="class-loading" label="Class Loading">false</flag> 1128 </control> 1129 1130 </configuration>