author | mgronlun |
Sun, 15 Sep 2019 15:31:04 +0200 | |
branch | JEP-349-branch |
changeset 58158 | 369ebc2a11c2 |
parent 58157 | 9dca61a7df19 |
child 58251 | c4067538a0f2 |
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 |
||
58158 | 30 |
class TypeSet : public JfrSerializer { |
31 |
private: |
|
32 |
JfrCheckpointWriter* _leakp_writer; |
|
50113 | 33 |
public: |
58158 | 34 |
explicit TypeSet(JfrCheckpointWriter* leakp_writer = NULL); |
50113 | 35 |
void serialize(JfrCheckpointWriter& writer); |
36 |
}; |
|
37 |
||
38 |
class ClassUnloadTypeSet : public JfrSerializer { |
|
39 |
public: |
|
40 |
void serialize(JfrCheckpointWriter& writer); |
|
41 |
}; |
|
42 |
||
57360 | 43 |
class FlushTypeSet : public JfrSerializer { |
44 |
size_t _elements; |
|
45 |
public: |
|
46 |
void serialize(JfrCheckpointWriter& writer); |
|
47 |
size_t elements() const; |
|
48 |
}; |
|
58158 | 49 |
|
50113 | 50 |
class FlagValueOriginConstant : public JfrSerializer { |
51 |
public: |
|
52 |
void serialize(JfrCheckpointWriter& writer); |
|
53 |
}; |
|
54 |
||
55 |
class MonitorInflateCauseConstant : public JfrSerializer { |
|
56 |
public: |
|
57 |
void serialize(JfrCheckpointWriter& writer); |
|
58 |
}; |
|
59 |
||
60 |
class GCCauseConstant : public JfrSerializer { |
|
61 |
public: |
|
62 |
void serialize(JfrCheckpointWriter& writer); |
|
63 |
}; |
|
64 |
||
65 |
class GCNameConstant : public JfrSerializer { |
|
66 |
public: |
|
67 |
void serialize(JfrCheckpointWriter& writer); |
|
68 |
}; |
|
69 |
||
70 |
class GCWhenConstant : public JfrSerializer { |
|
71 |
public: |
|
72 |
void serialize(JfrCheckpointWriter& writer); |
|
73 |
}; |
|
74 |
||
75 |
class GCThresholdUpdaterConstant : public JfrSerializer { |
|
76 |
public: |
|
77 |
void serialize(JfrCheckpointWriter& writer); |
|
78 |
}; |
|
79 |
||
80 |
class MetadataTypeConstant : public JfrSerializer { |
|
81 |
public: |
|
82 |
void serialize(JfrCheckpointWriter& writer); |
|
83 |
}; |
|
84 |
||
85 |
class MetaspaceObjectTypeConstant : public JfrSerializer { |
|
86 |
public: |
|
87 |
void serialize(JfrCheckpointWriter& writer); |
|
88 |
}; |
|
89 |
||
90 |
class ReferenceTypeConstant : public JfrSerializer { |
|
91 |
public: |
|
92 |
void serialize(JfrCheckpointWriter& writer); |
|
93 |
}; |
|
94 |
||
95 |
class NarrowOopModeConstant : public JfrSerializer { |
|
96 |
public: |
|
97 |
void serialize(JfrCheckpointWriter& writer); |
|
98 |
}; |
|
99 |
||
100 |
class CompilerPhaseTypeConstant : public JfrSerializer { |
|
101 |
public: |
|
102 |
void serialize(JfrCheckpointWriter& writer); |
|
103 |
}; |
|
104 |
||
105 |
class CodeBlobTypeConstant : public JfrSerializer { |
|
106 |
public: |
|
107 |
void serialize(JfrCheckpointWriter& writer); |
|
108 |
}; |
|
109 |
||
110 |
class VMOperationTypeConstant : public JfrSerializer { |
|
111 |
public: |
|
112 |
void serialize(JfrCheckpointWriter& writer); |
|
113 |
}; |
|
114 |
||
58158 | 115 |
class JfrThreadConstantSet : public JfrSerializer { |
50113 | 116 |
public: |
58158 | 117 |
void serialize(JfrCheckpointWriter& writer); |
118 |
}; |
|
119 |
||
120 |
class JfrThreadGroupConstant : public JfrSerializer { |
|
121 |
public: |
|
50113 | 122 |
void serialize(JfrCheckpointWriter& writer); |
123 |
}; |
|
124 |
||
125 |
class ThreadStateConstant : public JfrSerializer { |
|
126 |
public: |
|
127 |
void serialize(JfrCheckpointWriter& writer); |
|
128 |
}; |
|
129 |
||
130 |
class JfrThreadConstant : public JfrSerializer { |
|
131 |
private: |
|
57360 | 132 |
Thread* _thread; |
50113 | 133 |
public: |
57360 | 134 |
JfrThreadConstant(Thread* t) : _thread(t) {} |
50113 | 135 |
void serialize(JfrCheckpointWriter& writer); |
136 |
}; |
|
137 |
||
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50749
diff
changeset
|
138 |
#endif // SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPE_HPP |