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