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. |
7 * published by the Free Software Foundation. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 #ifndef SHARE_VM_JFR_JNI_JFRGETALLEVENTCLASSES_HPP |
24 #ifndef SHARE_JFR_JNI_JFRGETALLEVENTCLASSES_HPP |
25 #define SHARE_VM_JFR_JNI_JFRGETALLEVENTCLASSES_HPP |
25 #define SHARE_JFR_JNI_JFRGETALLEVENTCLASSES_HPP |
26 |
26 |
27 #include "jni.h" |
27 #include "jni.h" |
28 #include "memory/allocation.hpp" |
28 #include "memory/allocation.hpp" |
29 #include "utilities/exceptions.hpp" |
29 #include "utilities/exceptions.hpp" |
30 |
30 |
36 static void increment_unloaded_event_class(); |
36 static void increment_unloaded_event_class(); |
37 static jlong unloaded_event_classes_count(); |
37 static jlong unloaded_event_classes_count(); |
38 static jobject get_all_event_classes(TRAPS); |
38 static jobject get_all_event_classes(TRAPS); |
39 }; |
39 }; |
40 |
40 |
41 #endif // SHARE_VM_JFR_JNI_JFRGETALLEVENTCLASSES_HPP |
41 #endif // SHARE_JFR_JNI_JFRGETALLEVENTCLASSES_HPP |