equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, 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. |
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 |
24 |
25 #ifndef _JVMTI_EXTENSIONS_H_ |
25 #ifndef SHARE_VM_PRIMS_JVMTIEXTENSIONS_HPP |
26 #define _JVMTI_EXTENSIONS_H_ |
26 #define SHARE_VM_PRIMS_JVMTIEXTENSIONS_HPP |
27 |
27 |
|
28 #ifndef JVMTI_KERNEL |
|
29 #include "jvmtifiles/jvmti.h" |
|
30 #include "jvmtifiles/jvmtiEnv.hpp" |
|
31 #include "memory/allocation.hpp" |
|
32 #endif |
28 |
33 |
29 // JvmtiExtensions |
34 // JvmtiExtensions |
30 // |
35 // |
31 // Maintains the list of extension functions and events in this JVMTI |
36 // Maintains the list of extension functions and events in this JVMTI |
32 // implementation. The list of functions and events can be obtained by |
37 // implementation. The list of functions and events can be obtained by |
53 // sets the callback function for an extension event and enables the event |
58 // sets the callback function for an extension event and enables the event |
54 static jvmtiError set_event_callback(JvmtiEnv* env, jint extension_event_index, |
59 static jvmtiError set_event_callback(JvmtiEnv* env, jint extension_event_index, |
55 jvmtiExtensionEvent callback); |
60 jvmtiExtensionEvent callback); |
56 }; |
61 }; |
57 |
62 |
58 #endif /* _JVMTI_EXTENSIONS_H_ */ |
63 #endif // SHARE_VM_PRIMS_JVMTIEXTENSIONS_HPP |