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:
50703
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 |
*/ |
|
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50703
diff
changeset
|
24 |
#ifndef SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPEMANAGER_HPP |
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50703
diff
changeset
|
25 |
#define SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPEMANAGER_HPP |
50113 | 26 |
|
27 |
#include "jfr/utilities/jfrAllocation.hpp" |
|
50703
0486d7749b8d
8205053: Decouple type registration from framework lifecycle
egahlin
parents:
50113
diff
changeset
|
28 |
|
0486d7749b8d
8205053: Decouple type registration from framework lifecycle
egahlin
parents:
50113
diff
changeset
|
29 |
class JavaThread; |
0486d7749b8d
8205053: Decouple type registration from framework lifecycle
egahlin
parents:
50113
diff
changeset
|
30 |
class JfrCheckpointWriter; |
50113 | 31 |
|
50703
0486d7749b8d
8205053: Decouple type registration from framework lifecycle
egahlin
parents:
50113
diff
changeset
|
32 |
class JfrTypeManager : public AllStatic { |
50113 | 33 |
public: |
50703
0486d7749b8d
8205053: Decouple type registration from framework lifecycle
egahlin
parents:
50113
diff
changeset
|
34 |
static bool initialize(); |
58786
7909763ad193
8231081: TestMetadataRetention fails due to missing symbol id
mgronlun
parents:
58132
diff
changeset
|
35 |
static void destroy(); |
58863 | 36 |
static void on_rotation(); |
37 |
static void write_threads(JfrCheckpointWriter& writer); |
|
38 |
static void create_thread_blob(Thread* t); |
|
39 |
static void write_thread_checkpoint(Thread* t); |
|
40 |
static bool has_new_static_type(); |
|
41 |
static void write_static_types(JfrCheckpointWriter& writer); |
|
50113 | 42 |
}; |
43 |
||
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
50703
diff
changeset
|
44 |
#endif // SHARE_JFR_RECORDER_CHECKPOINT_TYPES_JFRTYPEMANAGER_HPP |