equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
61 /** |
61 /** |
62 * Covers metadata for JVM/JDK (for Hotspot developers) |
62 * Covers metadata for JVM/JDK (for Hotspot developers) |
63 */ |
63 */ |
64 JFR_SYSTEM_METADATA(6), |
64 JFR_SYSTEM_METADATA(6), |
65 /** |
65 /** |
|
66 * Covers streaming (for Hotspot developers) |
|
67 */ |
|
68 JFR_SYSTEM_STREAMING(7), |
|
69 /** |
66 * Covers metadata for Java user (for Hotspot developers) |
70 * Covers metadata for Java user (for Hotspot developers) |
67 */ |
71 */ |
68 JFR_METADATA(7), |
72 JFR_METADATA(8), |
69 /** |
73 /** |
70 * Covers events (for users of the JDK) |
74 * Covers events (for users of the JDK) |
71 */ |
75 */ |
72 JFR_EVENT(8), |
76 JFR_EVENT(9), |
73 /** |
77 /** |
74 * Covers setting (for users of the JDK) |
78 * Covers setting (for users of the JDK) |
75 */ |
79 */ |
76 JFR_SETTING(9), |
80 JFR_SETTING(10), |
77 /** |
81 /** |
78 * Covers usage of jcmd with JFR |
82 * Covers usage of jcmd with JFR |
79 */ |
83 */ |
80 JFR_DCMD(10); |
84 JFR_DCMD(11); |
81 |
85 |
82 /* set from native side */ |
86 /* set from native side */ |
83 volatile int tagSetLevel = 100; // prevent logging if JVM log system has not been initialized |
87 volatile int tagSetLevel = 100; // prevent logging if JVM log system has not been initialized |
84 |
88 |
85 final int id; |
89 final int id; |