default.jfc 30 KB

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