Statistics
| Revision:

root / tmp / org.txm.setups / shared / win / jre / lib / jfr / default.jfc @ 2748

History | View | Annotate | Download (19.6 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<!--
4
     Recommended way to edit .jfc files is to use Java Mission Control,
5
     see Window -> Flight Recorder Template Manager.
6
-->
7

    
8
<configuration version="1.0" name="Continuous" description="Low overhead configuration safe for continuous use in production environments, typically less than 1 % overhead." provider="Oracle">
9

    
10
  <producer uri="http://www.oracle.com/hotspot/jvm/" label="Oracle JDK">
11

    
12
    <control>
13

    
14
      <!--
15
           Contents of the control element is not read by the JVM, it's used
16
           by Java Mission Control to change settings that carry the control attribute.
17
      -->
18

    
19
      <selection name="gc-level" default="detailed" label="Garbage Collector">
20
        <option label="Off" name="off">off</option>
21
        <option label="Normal" name="detailed">normal</option>
22
        <option label="All" name="all">all</option>
23
      </selection>
24

    
25
      <condition name="gc-enabled-normal" true="true" false="false">
26
        <or>
27
          <test name="gc-level" operator="equal" value="normal"/>
28
          <test name="gc-level" operator="equal" value="all"/>
29
        </or>
30
      </condition>
31

    
32
      <condition name="gc-enabled-all" true="true" false="false">
33
        <test name="gc-level" operator="equal" value="all"/>
34
      </condition>
35

    
36
      <selection name="compiler-level" default="normal" label="Compiler">
37
        <option label="Off" name="off">off</option>
38
        <option label="Normal" name="normal">normal</option>
39
        <option label="Detailed" name="detailed">detailed</option>
40
        <option label="All" name="all">all</option>
41
      </selection>
42

    
43
      <condition name="compiler-enabled" true="false" false="true">
44
        <test name="compiler-level" operator="equal" value="off"/>
45
      </condition>
46

    
47
      <condition name="compiler-enabled-failure" true="true" false="false">
48
        <or>
49
          <test name="compiler-level" operator="equal" value="detailed"/>
50
          <test name="compiler-level" operator="equal" value="all"/>
51
        </or>
52
      </condition>
53

    
54
      <condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms">
55
        <test name="compiler-level" operator="equal" value="all"/>
56
      </condition>
57

    
58
      <condition name="compiler-compilation-threshold" true="1000 ms">
59
        <test name="compiler-level" operator="equal" value="normal"/>
60
      </condition>
61

    
62
      <condition name="compiler-compilation-threshold" true="100 ms">
63
        <test name="compiler-level" operator="equal" value="detailed"/>
64
      </condition>
65

    
66
      <condition name="compiler-compilation-threshold" true="0 ms">
67
        <test name="compiler-level" operator="equal" value="all"/>
68
      </condition>
69

    
70
      <condition name="compiler-phase-threshold" true="60 s">
71
        <test name="compiler-level" operator="equal" value="normal"/>
72
      </condition>
73

    
74
      <condition name="compiler-phase-threshold" true="10 s">
75
        <test name="compiler-level" operator="equal" value="detailed"/>
76
      </condition>
77

    
78
      <condition name="compiler-phase-threshold" true="0 s">
79
        <test name="compiler-level" operator="equal" value="all"/>
80
      </condition>
81

    
82
      <selection name="method-sampling-interval" default="normal" label="Method Sampling">
83
        <option label="Off" name="off">999 d</option>
84
        <option label="Normal" name="normal">20 ms</option>
85
        <option label="Maximum" name="maximum">10 ms</option>
86
      </selection>
87

    
88
      <condition name="method-sampling-enabled" true="false" false="true">
89
        <test name="method-sampling-interval" operator="equal" value="999 d"/>
90
      </condition>
91

    
92
      <selection name="thread-dump-interval" default="normal" label="Thread Dump">
93
        <option label="Off" name="off">999 d</option>
94
        <option label="At least Once" name="normal">everyChunk</option>
95
        <option label="Every 60 s" name="everyMinute">60 s</option>
96
        <option label="Every 10 s" name="everyTenSecond">10 s</option>
97
        <option label="Every 1 s" name="everySecond">1 s</option>
98
      </selection>
99

    
100
      <condition name="thread-dump-enabled" true="false" false="true">
101
        <test name="thread-dump-interval" operator="equal" value="999 d"/>
102
      </condition>
103

    
104
      <selection name="exception-level" default="errors" label="Exceptions">
105
        <option label="Off" name="off">off</option>
106
        <option label="Errors Only" name="errors">errors</option>
107
        <option label="All Exceptions, including Errors" name="all">all</option>
108
      </selection>
109

    
110
      <condition name="enable-errors" true="true" false="false">
111
        <or>
112
          <test name="exception-level" operator="equal" value="errors"/>
113
          <test name="exception-level" operator="equal" value="all"/>
114
        </or>
115
      </condition>
116

    
117
      <condition name="enable-exceptions" true="true" false="false">
118
        <test name="exception-level" operator="equal" value="all"/>
119
      </condition>
120

    
121
      <text name="synchronization-threshold" label="Synchronization Threshold" contentType="timespan" minimum="0 s">20 ms</text>
122

    
123
      <text name="file-io-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">20 ms</text>
124

    
125
      <text name="socket-io-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">20 ms</text>
126

    
127
      <flag name="heap-statistics-enabled" label="Heap Statistics">false</flag>
128

    
129
      <flag name="class-loading-enabled" label="Class Loading">false</flag>
130

    
131
      <flag name="allocation-profiling-enabled" label="Allocation Profiling">false</flag>
132

    
133
    </control>
134

    
135
    <event path="java/statistics/thread_allocation">
136
      <setting name="enabled">true</setting>
137
      <setting name="period">everyChunk</setting>
138
    </event>
139

    
140
    <event path="java/statistics/class_loading">
141
      <setting name="enabled">true</setting>
142
      <setting name="period">1000 ms</setting>
143
    </event>
144

    
145
    <event path="java/statistics/threads">
146
      <setting name="enabled">true</setting>
147
      <setting name="period">1000 ms</setting>
148
    </event>
149

    
150
    <event path="java/thread_start">
151
      <setting name="enabled">true</setting>
152
    </event>
153

    
154
    <event path="java/thread_end">
155
      <setting name="enabled">true</setting>
156
    </event>
157

    
158
    <event path="java/thread_sleep">
159
      <setting name="enabled">true</setting>
160
      <setting name="stackTrace">true</setting>
161
      <setting name="threshold" control="synchronization-threshold">20 ms</setting>
162
    </event>
163

    
164
    <event path="java/thread_park">
165
      <setting name="enabled">true</setting>
166
      <setting name="stackTrace">true</setting>
167
      <setting name="threshold" control="synchronization-threshold">20 ms</setting>
168
    </event>
169

    
170
    <event path="java/monitor_enter">
171
      <setting name="enabled">true</setting>
172
      <setting name="stackTrace">true</setting>
173
      <setting name="threshold" control="synchronization-threshold">20 ms</setting>
174
    </event>
175

    
176
    <event path="java/monitor_wait">
177
      <setting name="enabled">true</setting>
178
      <setting name="stackTrace">true</setting>
179
      <setting name="threshold" control="synchronization-threshold">20 ms</setting>
180
    </event>
181

    
182
    <event path="vm/class/load">
183
      <setting name="enabled" control="class-loading-enabled">false</setting>
184
      <setting name="stackTrace">true</setting>
185
      <setting name="threshold">0 ms</setting>
186
    </event>
187

    
188
    <event path="vm/class/unload">
189
      <setting name="enabled" control="class-loading-enabled">false</setting>
190
    </event>
191

    
192
    <event path="vm/info">
193
      <setting name="enabled">true</setting>
194
      <setting name="period">everyChunk</setting>
195
    </event>
196

    
197
    <event path="vm/initial_system_property">
198
      <setting name="enabled">true</setting>
199
      <setting name="period">everyChunk</setting>
200
    </event>
201

    
202
    <event path="vm/prof/execution_sample">
203
      <setting name="enabled" control="method-sampling-enabled">true</setting>
204
      <setting name="period" control="method-sampling-interval">20 ms</setting>
205
    </event>
206

    
207
    <event path="vm/prof/execution_sampling_info">
208
      <setting name="enabled">false</setting>
209
      <setting name="threshold">1 ms</setting>
210
    </event>
211

    
212
    <event path="vm/runtime/execute_vm_operation">
213
      <setting name="enabled">true</setting>
214
      <setting name="threshold">10 ms</setting>
215
    </event>
216

    
217
    <event path="vm/runtime/thread_dump">
218
      <setting name="enabled" control="thread-dump-enabled">true</setting>
219
      <setting name="period" control="thread-dump-interval">everyChunk</setting>
220
    </event>
221

    
222
    <event path="vm/flag/long">
223
      <setting name="enabled">true</setting>
224
      <setting name="period">everyChunk</setting>
225
    </event>
226

    
227
    <event path="vm/flag/ulong">
228
      <setting name="enabled">true</setting>
229
      <setting name="period">everyChunk</setting>
230
    </event>
231

    
232
    <event path="vm/flag/double">
233
      <setting name="enabled">true</setting>
234
      <setting name="period">everyChunk</setting>
235
    </event>
236

    
237
    <event path="vm/flag/boolean">
238
      <setting name="enabled">true</setting>
239
      <setting name="period">everyChunk</setting>
240
    </event>
241

    
242
    <event path="vm/flag/string">
243
      <setting name="enabled">true</setting>
244
      <setting name="period">everyChunk</setting>
245
    </event>
246

    
247
    <event path="vm/flag/long_changed">
248
      <setting name="enabled">true</setting>
249
    </event>
250

    
251
    <event path="vm/flag/ulong_changed">
252
      <setting name="enabled">true</setting>
253
    </event>
254

    
255
    <event path="vm/flag/double_changed">
256
      <setting name="enabled">true</setting>
257
    </event>
258

    
259
    <event path="vm/flag/boolean_changed">
260
      <setting name="enabled">true</setting>
261
    </event>
262

    
263
    <event path="vm/flag/string_changed">
264
      <setting name="enabled">true</setting>
265
    </event>
266

    
267
    <event path="vm/gc/detailed/object_count">
268
      <setting name="enabled" control="heap-statistics-enabled">false</setting>
269
      <setting name="period">everyChunk</setting>
270
    </event>
271

    
272
    <event path="vm/gc/configuration/gc">
273
      <setting name="enabled" control="gc-enabled-normal">true</setting>
274
      <setting name="period">everyChunk</setting>
275
    </event>
276

    
277
    <event path="vm/gc/configuration/heap">
278
      <setting name="enabled" control="gc-enabled-normal">true</setting>
279
      <setting name="period">everyChunk</setting>
280
    </event>
281

    
282
    <event path="vm/gc/configuration/young_generation">
283
      <setting name="enabled" control="gc-enabled-normal">true</setting>
284
      <setting name="period">everyChunk</setting>
285
    </event>
286

    
287
    <event path="vm/gc/configuration/tlab">
288
      <setting name="enabled" control="gc-enabled-normal">true</setting>
289
      <setting name="period">everyChunk</setting>
290
    </event>
291

    
292
    <event path="vm/gc/configuration/survivor">
293
      <setting name="enabled" control="gc-enabled-normal">true</setting>
294
      <setting name="period">everyChunk</setting>
295
    </event>
296

    
297
    <event path="vm/gc/detailed/object_count_after_gc">
298
      <setting name="enabled">false</setting>
299
    </event>
300

    
301
    <event path="vm/gc/heap/summary">
302
      <setting name="enabled" control="gc-enabled-normal">true</setting>
303
    </event>
304

    
305
    <event path="vm/gc/heap/ps_summary">
306
      <setting name="enabled" control="gc-enabled-normal">true</setting>
307
    </event>
308

    
309
    <event path="vm/gc/heap/metaspace_summary">
310
      <setting name="enabled" control="gc-enabled-normal">true</setting>
311
    </event>
312

    
313
    <event path="vm/gc/metaspace/gc_threshold">
314
      <setting name="enabled" control="gc-enabled-normal">true</setting>
315
    </event>
316

    
317
    <event path="vm/gc/metaspace/allocation_failure">
318
      <setting name="enabled" control="gc-enabled-normal">true</setting>
319
      <setting name="stackTrace">true</setting>
320
    </event>
321

    
322
    <event path="vm/gc/metaspace/out_of_memory">
323
      <setting name="enabled" control="gc-enabled-normal">true</setting>
324
      <setting name="stackTrace">true</setting>
325
    </event>
326

    
327
    <event path="vm/gc/metaspace/chunk_free_list_summary">
328
      <setting name="enabled" control="gc-enabled-normal">true</setting>
329
    </event>
330

    
331
    <event path="vm/gc/collector/garbage_collection">
332
      <setting name="enabled" control="gc-enabled-normal">true</setting>
333
      <setting name="threshold">0 ms</setting>
334
    </event>
335

    
336
    <event path="vm/gc/collector/parold_garbage_collection">
337
      <setting name="enabled" control="gc-enabled-normal">true</setting>
338
      <setting name="threshold">0 ms</setting>
339
    </event>
340

    
341
    <event path="vm/gc/collector/young_garbage_collection">
342
      <setting name="enabled" control="gc-enabled-normal">true</setting>
343
      <setting name="threshold">0 ms</setting>
344
    </event>
345

    
346
    <event path="vm/gc/collector/old_garbage_collection">
347
      <setting name="enabled" control="gc-enabled-normal">true</setting>
348
      <setting name="threshold">0 ms</setting>
349
    </event>
350

    
351
    <event path="vm/gc/collector/g1_garbage_collection">
352
      <setting name="enabled" control="gc-enabled-normal">true</setting>
353
      <setting name="threshold">0 ms</setting>
354
    </event>
355

    
356
    <event path="vm/gc/phases/pause">
357
      <setting name="enabled" control="gc-enabled-normal">true</setting>
358
      <setting name="threshold">0 ms</setting>
359
    </event>
360

    
361
    <event path="vm/gc/phases/pause_level_1">
362
      <setting name="enabled" control="gc-enabled-normal">true</setting>
363
      <setting name="threshold">0 ms</setting>
364
    </event>
365

    
366
    <event path="vm/gc/phases/pause_level_2">
367
      <setting name="enabled" control="gc-enabled-normal">true</setting>
368
      <setting name="threshold">0 ms</setting>
369
    </event>
370

    
371
    <event path="vm/gc/phases/pause_level_3">
372
      <setting name="enabled" control="gc-enabled-all">false</setting>
373
      <setting name="threshold">0 ms</setting>
374
    </event>
375

    
376
    <event path="vm/gc/reference/statistics">
377
      <setting name="enabled" control="gc-enabled-normal">true</setting>
378
    </event>
379

    
380
    <event path="vm/gc/detailed/promotion_failed">
381
      <setting name="enabled" control="gc-enabled-normal">true</setting>
382
    </event>
383

    
384
    <event path="vm/gc/detailed/evacuation_failed">
385
      <setting name="enabled" control="gc-enabled-normal">true</setting>
386
    </event>
387

    
388
    <event path="vm/gc/detailed/evacuation_info">
389
      <setting name="enabled" control="gc-enabled-normal">true</setting>
390
    </event>
391

    
392
    <event path="vm/gc/detailed/concurrent_mode_failure">
393
      <setting name="enabled" control="gc-enabled-normal">true</setting>
394
    </event>
395

    
396
    <event path="vm/gc/detailed/allocation_requiring_gc">
397
      <setting name="enabled" control="gc-enabled-all">false</setting>
398
      <setting name="stackTrace">true</setting>
399
    </event>
400

    
401
    <event path="vm/compiler/config">
402
      <setting name="enabled" control="compiler-enabled">true</setting>
403
      <setting name="period">everyChunk</setting>
404
    </event>
405

    
406
    <event path="vm/compiler/stats">
407
      <setting name="enabled" control="compiler-enabled">true</setting>
408
      <setting name="period">1000 ms</setting>
409
    </event>
410

    
411
    <event path="vm/compiler/compilation">
412
      <setting name="enabled" control="compiler-enabled">true</setting>
413
      <setting name="threshold" control="compiler-compilation-threshold">1000 ms</setting>
414
    </event>
415

    
416
    <event path="vm/compiler/phase">
417
      <setting name="enabled" control="compiler-enabled">true</setting>
418
      <setting name="threshold" control="compiler-phase-threshold">60 s</setting>
419
    </event>
420

    
421
    <event path="vm/compiler/failure">
422
      <setting name="enabled" control="compiler-enabled-failure">false</setting>
423
    </event>
424

    
425
    <event path="vm/code_sweeper/config">
426
      <setting name="enabled" control="compiler-enabled">true</setting>
427
      <setting name="period">everyChunk</setting>
428
    </event>
429

    
430
    <event path="vm/code_sweeper/stats">
431
      <setting name="enabled" control="compiler-enabled">true</setting>
432
      <setting name="period">everyChunk</setting>
433
    </event>
434

    
435
    <event path="vm/code_sweeper/sweep">
436
      <setting name="enabled" control="compiler-enabled">true</setting>
437
      <setting name="threshold" control="compiler-sweeper-threshold">100 ms</setting>
438
    </event>
439

    
440
    <event path="vm/code_cache/config">
441
      <setting name="enabled" control="compiler-enabled">true</setting>
442
      <setting name="period">everyChunk</setting>
443
    </event>
444

    
445
    <event path="vm/code_cache/stats">
446
      <setting name="enabled" control="compiler-enabled">true</setting>
447
      <setting name="period">everyChunk</setting>
448
    </event>
449

    
450
    <event path="vm/code_cache/full">
451
      <setting name="enabled" control="compiler-enabled">true</setting>
452
    </event>
453

    
454
    <event path="os/information">
455
      <setting name="enabled">true</setting>
456
      <setting name="period">everyChunk</setting>
457
    </event>
458

    
459
    <event path="os/processor/cpu_information">
460
      <setting name="enabled">true</setting>
461
      <setting name="period">everyChunk</setting>
462
    </event>
463

    
464
    <event path="os/processor/context_switch_rate">
465
      <setting name="enabled" control="compiler-enabled">true</setting>
466
      <setting name="period">10 s</setting>
467
    </event>
468

    
469
    <event path="os/processor/cpu_load">
470
      <setting name="enabled">true</setting>
471
      <setting name="period">1000 ms</setting>
472
    </event>
473

    
474
    <event path="os/processor/cpu_tsc">
475
      <setting name="enabled">true</setting>
476
      <setting name="period">everyChunk</setting>
477
    </event>
478

    
479
    <event path="os/system_process">
480
      <setting name="enabled">true</setting>
481
      <setting name="period">everyChunk</setting>
482
    </event>
483

    
484
    <event path="os/initial_environment_variable">
485
      <setting name="enabled">true</setting>
486
      <setting name="period">everyChunk</setting>
487
    </event>
488

    
489
    <event path="os/memory/physical_memory">
490
      <setting name="enabled">true</setting>
491
      <setting name="period">everyChunk</setting>
492
    </event>
493

    
494
    <event path="java/object_alloc_in_new_TLAB">
495
      <setting name="enabled" control="allocation-profiling-enabled">false</setting>
496
      <setting name="stackTrace">true</setting>
497
    </event>
498

    
499
    <event path="java/object_alloc_outside_TLAB">
500
      <setting name="enabled" control="allocation-profiling-enabled">false</setting>
501
      <setting name="stackTrace">true</setting>
502
    </event>
503

    
504
  </producer>
505

    
506
  <producer uri="http://www.oracle.com/hotspot/jdk/" label="Oracle JDK">
507

    
508
    <event path="java/file_read">
509
      <setting name="enabled">true</setting>
510
      <setting name="stackTrace">true</setting>
511
      <setting name="threshold" control="http://www.oracle.com/hotspot/jvm/file-io-threshold">20 ms</setting>
512
    </event>
513

    
514
    <event path="java/file_write">
515
      <setting name="enabled">true</setting>
516
      <setting name="stackTrace">true</setting>
517
      <setting name="threshold" control="http://www.oracle.com/hotspot/jvm/file-io-threshold">20 ms</setting>
518
    </event>
519

    
520
    <event path="java/socket_read">
521
      <setting name="enabled">true</setting>
522
      <setting name="stackTrace">true</setting>
523
      <setting name="threshold" control="http://www.oracle.com/hotspot/jvm/socket-io-threshold">20 ms</setting>
524
    </event>
525

    
526
    <event path="java/socket_write">
527
      <setting name="enabled">true</setting>
528
      <setting name="stackTrace">true</setting>
529
      <setting name="threshold" control="http://www.oracle.com/hotspot/jvm/socket-io-threshold">20 ms</setting>
530
    </event>
531

    
532
    <event path="java/exception_throw">
533
      <setting name="enabled" control="http://www.oracle.com/hotspot/jvm/enable-exceptions">false</setting>
534
      <setting name="stackTrace">true</setting>
535
    </event>
536

    
537
    <event path="java/error_throw">
538
      <setting name="enabled" control="http://www.oracle.com/hotspot/jvm/enable-errors">true</setting>
539
      <setting name="stackTrace">true</setting>
540
    </event>
541

    
542
    <event path="java/statistics/throwables">
543
      <setting name="enabled">true</setting>
544
      <setting name="period">1000 ms</setting>
545
    </event>
546

    
547
  </producer>
548

    
549
  <producer uri="http://www.oracle.com/hotspot/jfr-info/" label="Oracle JDK">
550

    
551
    <event path="recordings/recording">
552
      <setting name="enabled">true</setting>
553
    </event>
554

    
555
    <event path="recordings/recording_setting">
556
      <setting name="enabled">true</setting>
557
    </event>
558

    
559
  </producer>
560

    
561
</configuration>