author | mgronlun |
Wed, 30 Oct 2019 19:43:52 +0100 | |
changeset 58863 | c16ac7a2eba4 |
parent 58786 | 7909763ad193 |
permissions | -rw-r--r-- |
50113 | 1 |
/* |
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50749
diff
changeset
|
2 |
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
50113 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
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 |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
* or visit www.oracle.com if you need additional information or have any |
|
21 |
* questions. |
|
22 |
* |
|
23 |
*/ |
|
24 |
||
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50749
diff
changeset
|
25 |
#ifndef SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPE_HPP |
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50749
diff
changeset
|
26 |
#define SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPE_HPP |
50113 | 27 |
|
28 |
#include "jfr/metadata/jfrSerializer.hpp" |
|
29 |
||
30 |
class FlagValueOriginConstant : public JfrSerializer { |
|
31 |
public: |
|
32 |
void serialize(JfrCheckpointWriter& writer); |
|
33 |
}; |
|
34 |
||
35 |
class MonitorInflateCauseConstant : public JfrSerializer { |
|
36 |
public: |
|
37 |
void serialize(JfrCheckpointWriter& writer); |
|
38 |
}; |
|
39 |
||
40 |
class GCCauseConstant : public JfrSerializer { |
|
41 |
public: |
|
42 |
void serialize(JfrCheckpointWriter& writer); |
|
43 |
}; |
|
44 |
||
45 |
class GCNameConstant : public JfrSerializer { |
|
46 |
public: |
|
47 |
void serialize(JfrCheckpointWriter& writer); |
|
48 |
}; |
|
49 |
||
50 |
class GCWhenConstant : public JfrSerializer { |
|
51 |
public: |
|
52 |
void serialize(JfrCheckpointWriter& writer); |
|
53 |
}; |
|
54 |
||
55 |
class GCThresholdUpdaterConstant : public JfrSerializer { |
|
56 |
public: |
|
57 |
void serialize(JfrCheckpointWriter& writer); |
|
58 |
}; |
|
59 |
||
60 |
class MetadataTypeConstant : public JfrSerializer { |
|
61 |
public: |
|
62 |
void serialize(JfrCheckpointWriter& writer); |
|
63 |
}; |
|
64 |
||
65 |
class MetaspaceObjectTypeConstant : public JfrSerializer { |
|
66 |
public: |
|
67 |
void serialize(JfrCheckpointWriter& writer); |
|
68 |
}; |
|
69 |
||
70 |
class ReferenceTypeConstant : public JfrSerializer { |
|
71 |
public: |
|
72 |
void serialize(JfrCheckpointWriter& writer); |
|
73 |
}; |
|
74 |
||
75 |
class NarrowOopModeConstant : public JfrSerializer { |
|
76 |
public: |
|
77 |
void serialize(JfrCheckpointWriter& writer); |
|
78 |
}; |
|
79 |
||
80 |
class CompilerPhaseTypeConstant : public JfrSerializer { |
|
81 |
public: |
|
82 |
void serialize(JfrCheckpointWriter& writer); |
|
83 |
}; |
|
84 |
||
85 |
class CodeBlobTypeConstant : public JfrSerializer { |
|
86 |
public: |
|
87 |
void serialize(JfrCheckpointWriter& writer); |
|
88 |
}; |
|
89 |
||
90 |
class VMOperationTypeConstant : public JfrSerializer { |
|
91 |
public: |
|
92 |
void serialize(JfrCheckpointWriter& writer); |
|
93 |
}; |
|
94 |
||
58863 | 95 |
class JfrThreadConstantSet : public JfrSerializer { |
96 |
public: |
|
97 |
void serialize(JfrCheckpointWriter& writer); |
|
98 |
}; |
|
99 |
||
100 |
class JfrThreadGroupConstant : public JfrSerializer { |
|
101 |
public: |
|
102 |
void serialize(JfrCheckpointWriter& writer); |
|
103 |
}; |
|
104 |
||
50113 | 105 |
class ThreadStateConstant : public JfrSerializer { |
106 |
public: |
|
107 |
void serialize(JfrCheckpointWriter& writer); |
|
108 |
}; |
|
109 |
||
110 |
class JfrThreadConstant : public JfrSerializer { |
|
111 |
private: |
|
58863 | 112 |
Thread* _thread; |
50113 | 113 |
public: |
58863 | 114 |
JfrThreadConstant(Thread* t) : _thread(t) {} |
50113 | 115 |
void serialize(JfrCheckpointWriter& writer); |
116 |
}; |
|
117 |
||
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50749
diff
changeset
|
118 |
#endif // SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPE_HPP |