annotate src/share/vm/prims/jvmtiEventController.hpp @ 7588:f9eb431c3efe

8006005: Fix constant pool index validation and alignment trap for method parameter reflection Summary: This patch addresses an alignment trap due to the storage format of method parameters data in constMethod. It also adds code to validate constant pool indexes for method parameters data. Reviewed-by: jrose, dholmes Contributed-by: eric.mccorkle@oracle.com
author coleenp
date Mon, 14 Jan 2013 11:01:39 -0500
parents f95d63e2154a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 *
a61af66fc99e Initial load
duke
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 * published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 *
a61af66fc99e Initial load
duke
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 * accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 *
a61af66fc99e Initial load
duke
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 *
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
21 * questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
22 *
a61af66fc99e Initial load
duke
parents:
diff changeset
23 */
a61af66fc99e Initial load
duke
parents:
diff changeset
24
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
25 #ifndef SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
26 #define SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
27
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
28 #include "jvmtifiles/jvmti.h"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
29 #include "memory/allocation.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
30 #include "memory/allocation.inline.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
31 #include "utilities/globalDefinitions.hpp"
0
a61af66fc99e Initial load
duke
parents:
diff changeset
32
a61af66fc99e Initial load
duke
parents:
diff changeset
33 // forward declaration
a61af66fc99e Initial load
duke
parents:
diff changeset
34 class JvmtiEventControllerPrivate;
a61af66fc99e Initial load
duke
parents:
diff changeset
35 class JvmtiEventController;
a61af66fc99e Initial load
duke
parents:
diff changeset
36 class JvmtiEnvThreadState;
a61af66fc99e Initial load
duke
parents:
diff changeset
37 class JvmtiFramePop;
a61af66fc99e Initial load
duke
parents:
diff changeset
38 class JvmtiEnvBase;
a61af66fc99e Initial load
duke
parents:
diff changeset
39
a61af66fc99e Initial load
duke
parents:
diff changeset
40
a61af66fc99e Initial load
duke
parents:
diff changeset
41 // Extension event support
a61af66fc99e Initial load
duke
parents:
diff changeset
42 //
a61af66fc99e Initial load
duke
parents:
diff changeset
43 // jvmtiExtEvent is the extensions equivalent of jvmtiEvent
a61af66fc99e Initial load
duke
parents:
diff changeset
44 // jvmtiExtCallbacks is the extensions equivalent of jvmtiEventCallbacks
a61af66fc99e Initial load
duke
parents:
diff changeset
45
a61af66fc99e Initial load
duke
parents:
diff changeset
46 // Extension events start JVMTI_MIN_EVENT_TYPE_VAL-1 and work towards 0.
a61af66fc99e Initial load
duke
parents:
diff changeset
47 typedef enum {
a61af66fc99e Initial load
duke
parents:
diff changeset
48 EXT_EVENT_CLASS_UNLOAD = JVMTI_MIN_EVENT_TYPE_VAL-1,
a61af66fc99e Initial load
duke
parents:
diff changeset
49 EXT_MIN_EVENT_TYPE_VAL = EXT_EVENT_CLASS_UNLOAD,
a61af66fc99e Initial load
duke
parents:
diff changeset
50 EXT_MAX_EVENT_TYPE_VAL = EXT_EVENT_CLASS_UNLOAD
a61af66fc99e Initial load
duke
parents:
diff changeset
51 } jvmtiExtEvent;
a61af66fc99e Initial load
duke
parents:
diff changeset
52
a61af66fc99e Initial load
duke
parents:
diff changeset
53 typedef struct {
a61af66fc99e Initial load
duke
parents:
diff changeset
54 jvmtiExtensionEvent ClassUnload;
a61af66fc99e Initial load
duke
parents:
diff changeset
55 } jvmtiExtEventCallbacks;
a61af66fc99e Initial load
duke
parents:
diff changeset
56
a61af66fc99e Initial load
duke
parents:
diff changeset
57
a61af66fc99e Initial load
duke
parents:
diff changeset
58 // The complete range of events is EXT_MIN_EVENT_TYPE_VAL to
a61af66fc99e Initial load
duke
parents:
diff changeset
59 // JVMTI_MAX_EVENT_TYPE_VAL (inclusive and contiguous).
a61af66fc99e Initial load
duke
parents:
diff changeset
60 const int TOTAL_MIN_EVENT_TYPE_VAL = EXT_MIN_EVENT_TYPE_VAL;
a61af66fc99e Initial load
duke
parents:
diff changeset
61 const int TOTAL_MAX_EVENT_TYPE_VAL = JVMTI_MAX_EVENT_TYPE_VAL;
a61af66fc99e Initial load
duke
parents:
diff changeset
62
a61af66fc99e Initial load
duke
parents:
diff changeset
63
a61af66fc99e Initial load
duke
parents:
diff changeset
64 ///////////////////////////////////////////////////////////////
a61af66fc99e Initial load
duke
parents:
diff changeset
65 //
a61af66fc99e Initial load
duke
parents:
diff changeset
66 // JvmtiEventEnabled
a61af66fc99e Initial load
duke
parents:
diff changeset
67 //
a61af66fc99e Initial load
duke
parents:
diff changeset
68 // Utility class
a61af66fc99e Initial load
duke
parents:
diff changeset
69 //
a61af66fc99e Initial load
duke
parents:
diff changeset
70 // A boolean array indexed by event_type, used as an internal
a61af66fc99e Initial load
duke
parents:
diff changeset
71 // data structure to track what JVMTI event types are enabled.
a61af66fc99e Initial load
duke
parents:
diff changeset
72 // Used for user set enabling and disabling (globally and on a
a61af66fc99e Initial load
duke
parents:
diff changeset
73 // per thread basis), and for computed merges across environments,
a61af66fc99e Initial load
duke
parents:
diff changeset
74 // threads and the VM as a whole.
a61af66fc99e Initial load
duke
parents:
diff changeset
75 //
a61af66fc99e Initial load
duke
parents:
diff changeset
76 // for inlines see jvmtiEventController_inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
77 //
a61af66fc99e Initial load
duke
parents:
diff changeset
78
a61af66fc99e Initial load
duke
parents:
diff changeset
79 class JvmtiEventEnabled VALUE_OBJ_CLASS_SPEC {
a61af66fc99e Initial load
duke
parents:
diff changeset
80 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
81 friend class JvmtiEventControllerPrivate;
a61af66fc99e Initial load
duke
parents:
diff changeset
82 jlong _enabled_bits;
a61af66fc99e Initial load
duke
parents:
diff changeset
83 #ifndef PRODUCT
a61af66fc99e Initial load
duke
parents:
diff changeset
84 enum {
a61af66fc99e Initial load
duke
parents:
diff changeset
85 JEE_INIT_GUARD = 0xEAD0
a61af66fc99e Initial load
duke
parents:
diff changeset
86 } _init_guard;
a61af66fc99e Initial load
duke
parents:
diff changeset
87 #endif
a61af66fc99e Initial load
duke
parents:
diff changeset
88 static jlong bit_for(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
89 jlong get_bits();
a61af66fc99e Initial load
duke
parents:
diff changeset
90 void set_bits(jlong bits);
a61af66fc99e Initial load
duke
parents:
diff changeset
91 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
92 JvmtiEventEnabled();
a61af66fc99e Initial load
duke
parents:
diff changeset
93 void clear();
a61af66fc99e Initial load
duke
parents:
diff changeset
94 bool is_enabled(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
95 void set_enabled(jvmtiEvent event_type, bool enabled);
a61af66fc99e Initial load
duke
parents:
diff changeset
96 };
a61af66fc99e Initial load
duke
parents:
diff changeset
97
a61af66fc99e Initial load
duke
parents:
diff changeset
98
a61af66fc99e Initial load
duke
parents:
diff changeset
99 ///////////////////////////////////////////////////////////////
a61af66fc99e Initial load
duke
parents:
diff changeset
100 //
a61af66fc99e Initial load
duke
parents:
diff changeset
101 // JvmtiEnvThreadEventEnable
a61af66fc99e Initial load
duke
parents:
diff changeset
102 //
a61af66fc99e Initial load
duke
parents:
diff changeset
103 // JvmtiEventController data specific to a particular environment and thread.
a61af66fc99e Initial load
duke
parents:
diff changeset
104 //
a61af66fc99e Initial load
duke
parents:
diff changeset
105 // for inlines see jvmtiEventController_inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
106 //
a61af66fc99e Initial load
duke
parents:
diff changeset
107
a61af66fc99e Initial load
duke
parents:
diff changeset
108 class JvmtiEnvThreadEventEnable VALUE_OBJ_CLASS_SPEC {
a61af66fc99e Initial load
duke
parents:
diff changeset
109 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
110 friend class JvmtiEventControllerPrivate;
a61af66fc99e Initial load
duke
parents:
diff changeset
111 JvmtiEventEnabled _event_user_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
112 JvmtiEventEnabled _event_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
113
a61af66fc99e Initial load
duke
parents:
diff changeset
114 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
115 JvmtiEnvThreadEventEnable();
a61af66fc99e Initial load
duke
parents:
diff changeset
116 ~JvmtiEnvThreadEventEnable();
a61af66fc99e Initial load
duke
parents:
diff changeset
117 bool is_enabled(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
118 void set_user_enabled(jvmtiEvent event_type, bool enabled);
a61af66fc99e Initial load
duke
parents:
diff changeset
119 };
a61af66fc99e Initial load
duke
parents:
diff changeset
120
a61af66fc99e Initial load
duke
parents:
diff changeset
121
a61af66fc99e Initial load
duke
parents:
diff changeset
122 ///////////////////////////////////////////////////////////////
a61af66fc99e Initial load
duke
parents:
diff changeset
123 //
a61af66fc99e Initial load
duke
parents:
diff changeset
124 // JvmtiThreadEventEnable
a61af66fc99e Initial load
duke
parents:
diff changeset
125 //
a61af66fc99e Initial load
duke
parents:
diff changeset
126 // JvmtiEventController data specific to a particular thread.
a61af66fc99e Initial load
duke
parents:
diff changeset
127 //
a61af66fc99e Initial load
duke
parents:
diff changeset
128 // for inlines see jvmtiEventController_inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
129 //
a61af66fc99e Initial load
duke
parents:
diff changeset
130
a61af66fc99e Initial load
duke
parents:
diff changeset
131 class JvmtiThreadEventEnable VALUE_OBJ_CLASS_SPEC {
a61af66fc99e Initial load
duke
parents:
diff changeset
132 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
133 friend class JvmtiEventControllerPrivate;
a61af66fc99e Initial load
duke
parents:
diff changeset
134 JvmtiEventEnabled _event_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
135
a61af66fc99e Initial load
duke
parents:
diff changeset
136 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
137 JvmtiThreadEventEnable();
a61af66fc99e Initial load
duke
parents:
diff changeset
138 ~JvmtiThreadEventEnable();
a61af66fc99e Initial load
duke
parents:
diff changeset
139 bool is_enabled(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
140 };
a61af66fc99e Initial load
duke
parents:
diff changeset
141
a61af66fc99e Initial load
duke
parents:
diff changeset
142
a61af66fc99e Initial load
duke
parents:
diff changeset
143 ///////////////////////////////////////////////////////////////
a61af66fc99e Initial load
duke
parents:
diff changeset
144 //
a61af66fc99e Initial load
duke
parents:
diff changeset
145 // JvmtiEnvEventEnable
a61af66fc99e Initial load
duke
parents:
diff changeset
146 //
a61af66fc99e Initial load
duke
parents:
diff changeset
147 // JvmtiEventController data specific to a particular environment.
a61af66fc99e Initial load
duke
parents:
diff changeset
148 //
a61af66fc99e Initial load
duke
parents:
diff changeset
149 // for inlines see jvmtiEventController_inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
150 //
a61af66fc99e Initial load
duke
parents:
diff changeset
151
a61af66fc99e Initial load
duke
parents:
diff changeset
152 class JvmtiEnvEventEnable VALUE_OBJ_CLASS_SPEC {
a61af66fc99e Initial load
duke
parents:
diff changeset
153 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
154 friend class JvmtiEventControllerPrivate;
a61af66fc99e Initial load
duke
parents:
diff changeset
155
a61af66fc99e Initial load
duke
parents:
diff changeset
156 // user set global event enablement indexed by jvmtiEvent
a61af66fc99e Initial load
duke
parents:
diff changeset
157 JvmtiEventEnabled _event_user_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
158
a61af66fc99e Initial load
duke
parents:
diff changeset
159 // this flag indicates the presence (true) or absence (false) of event callbacks
a61af66fc99e Initial load
duke
parents:
diff changeset
160 // it is indexed by jvmtiEvent
a61af66fc99e Initial load
duke
parents:
diff changeset
161 JvmtiEventEnabled _event_callback_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
162
a61af66fc99e Initial load
duke
parents:
diff changeset
163 // indexed by jvmtiEvent true if enabled globally or on any thread.
a61af66fc99e Initial load
duke
parents:
diff changeset
164 // True only if there is a callback for it.
a61af66fc99e Initial load
duke
parents:
diff changeset
165 JvmtiEventEnabled _event_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
166
a61af66fc99e Initial load
duke
parents:
diff changeset
167 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
168 JvmtiEnvEventEnable();
a61af66fc99e Initial load
duke
parents:
diff changeset
169 ~JvmtiEnvEventEnable();
a61af66fc99e Initial load
duke
parents:
diff changeset
170 bool is_enabled(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
171 void set_user_enabled(jvmtiEvent event_type, bool enabled);
a61af66fc99e Initial load
duke
parents:
diff changeset
172 };
a61af66fc99e Initial load
duke
parents:
diff changeset
173
a61af66fc99e Initial load
duke
parents:
diff changeset
174
a61af66fc99e Initial load
duke
parents:
diff changeset
175 ///////////////////////////////////////////////////////////////
a61af66fc99e Initial load
duke
parents:
diff changeset
176 //
a61af66fc99e Initial load
duke
parents:
diff changeset
177 // JvmtiEventController
a61af66fc99e Initial load
duke
parents:
diff changeset
178 //
a61af66fc99e Initial load
duke
parents:
diff changeset
179 // The class is the access point for all actions that change
a61af66fc99e Initial load
duke
parents:
diff changeset
180 // which events are active, this include:
a61af66fc99e Initial load
duke
parents:
diff changeset
181 // enabling and disabling events
a61af66fc99e Initial load
duke
parents:
diff changeset
182 // changing the callbacks/eventhook (they may be null)
a61af66fc99e Initial load
duke
parents:
diff changeset
183 // setting and clearing field watchpoints
a61af66fc99e Initial load
duke
parents:
diff changeset
184 // setting frame pops
a61af66fc99e Initial load
duke
parents:
diff changeset
185 // encountering frame pops
a61af66fc99e Initial load
duke
parents:
diff changeset
186 //
a61af66fc99e Initial load
duke
parents:
diff changeset
187 // for inlines see jvmtiEventController_inline.hpp
a61af66fc99e Initial load
duke
parents:
diff changeset
188 //
a61af66fc99e Initial load
duke
parents:
diff changeset
189
a61af66fc99e Initial load
duke
parents:
diff changeset
190 class JvmtiEventController : AllStatic {
a61af66fc99e Initial load
duke
parents:
diff changeset
191 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
192 friend class JvmtiEventControllerPrivate;
a61af66fc99e Initial load
duke
parents:
diff changeset
193
a61af66fc99e Initial load
duke
parents:
diff changeset
194 // for all environments, global array indexed by jvmtiEvent
a61af66fc99e Initial load
duke
parents:
diff changeset
195 static JvmtiEventEnabled _universal_global_event_enabled;
a61af66fc99e Initial load
duke
parents:
diff changeset
196
a61af66fc99e Initial load
duke
parents:
diff changeset
197 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
198 static bool is_enabled(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
199
a61af66fc99e Initial load
duke
parents:
diff changeset
200 // events that can ONLY be enabled/disabled globally (can't toggle on individual threads).
a61af66fc99e Initial load
duke
parents:
diff changeset
201 static bool is_global_event(jvmtiEvent event_type);
a61af66fc99e Initial load
duke
parents:
diff changeset
202
a61af66fc99e Initial load
duke
parents:
diff changeset
203 // is the event_type valid?
a61af66fc99e Initial load
duke
parents:
diff changeset
204 // to do: check against valid event array
a61af66fc99e Initial load
duke
parents:
diff changeset
205 static bool is_valid_event_type(jvmtiEvent event_type) {
a61af66fc99e Initial load
duke
parents:
diff changeset
206 return ((int)event_type >= TOTAL_MIN_EVENT_TYPE_VAL)
a61af66fc99e Initial load
duke
parents:
diff changeset
207 && ((int)event_type <= TOTAL_MAX_EVENT_TYPE_VAL);
a61af66fc99e Initial load
duke
parents:
diff changeset
208 }
a61af66fc99e Initial load
duke
parents:
diff changeset
209
a61af66fc99e Initial load
duke
parents:
diff changeset
210 // Use (thread == NULL) to enable/disable an event globally.
a61af66fc99e Initial load
duke
parents:
diff changeset
211 // Use (thread != NULL) to enable/disable an event for a particular thread.
a61af66fc99e Initial load
duke
parents:
diff changeset
212 // thread is ignored for events that can only be specified globally
a61af66fc99e Initial load
duke
parents:
diff changeset
213 static void set_user_enabled(JvmtiEnvBase *env, JavaThread *thread,
a61af66fc99e Initial load
duke
parents:
diff changeset
214 jvmtiEvent event_type, bool enabled);
a61af66fc99e Initial load
duke
parents:
diff changeset
215
a61af66fc99e Initial load
duke
parents:
diff changeset
216 // Setting callbacks changes computed enablement and must be done
a61af66fc99e Initial load
duke
parents:
diff changeset
217 // at a safepoint otherwise a NULL callback could be attempted
a61af66fc99e Initial load
duke
parents:
diff changeset
218 static void set_event_callbacks(JvmtiEnvBase *env,
a61af66fc99e Initial load
duke
parents:
diff changeset
219 const jvmtiEventCallbacks* callbacks,
a61af66fc99e Initial load
duke
parents:
diff changeset
220 jint size_of_callbacks);
a61af66fc99e Initial load
duke
parents:
diff changeset
221
a61af66fc99e Initial load
duke
parents:
diff changeset
222 // Sets the callback function for a single extension event and enables
a61af66fc99e Initial load
duke
parents:
diff changeset
223 // (or disables it).
a61af66fc99e Initial load
duke
parents:
diff changeset
224 static void set_extension_event_callback(JvmtiEnvBase* env,
a61af66fc99e Initial load
duke
parents:
diff changeset
225 jint extension_event_index,
a61af66fc99e Initial load
duke
parents:
diff changeset
226 jvmtiExtensionEvent callback);
a61af66fc99e Initial load
duke
parents:
diff changeset
227
a61af66fc99e Initial load
duke
parents:
diff changeset
228 static void set_frame_pop(JvmtiEnvThreadState *env_thread, JvmtiFramePop fpop);
a61af66fc99e Initial load
duke
parents:
diff changeset
229 static void clear_frame_pop(JvmtiEnvThreadState *env_thread, JvmtiFramePop fpop);
a61af66fc99e Initial load
duke
parents:
diff changeset
230 static void clear_to_frame_pop(JvmtiEnvThreadState *env_thread, JvmtiFramePop fpop);
a61af66fc99e Initial load
duke
parents:
diff changeset
231
a61af66fc99e Initial load
duke
parents:
diff changeset
232 static void change_field_watch(jvmtiEvent event_type, bool added);
a61af66fc99e Initial load
duke
parents:
diff changeset
233
a61af66fc99e Initial load
duke
parents:
diff changeset
234 static void thread_started(JavaThread *thread);
a61af66fc99e Initial load
duke
parents:
diff changeset
235 static void thread_ended(JavaThread *thread);
a61af66fc99e Initial load
duke
parents:
diff changeset
236
a61af66fc99e Initial load
duke
parents:
diff changeset
237 static void env_initialize(JvmtiEnvBase *env);
a61af66fc99e Initial load
duke
parents:
diff changeset
238 static void env_dispose(JvmtiEnvBase *env);
a61af66fc99e Initial load
duke
parents:
diff changeset
239
a61af66fc99e Initial load
duke
parents:
diff changeset
240 static void vm_start();
a61af66fc99e Initial load
duke
parents:
diff changeset
241 static void vm_init();
a61af66fc99e Initial load
duke
parents:
diff changeset
242 static void vm_death();
a61af66fc99e Initial load
duke
parents:
diff changeset
243 };
a61af66fc99e Initial load
duke
parents:
diff changeset
244
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
245 #endif // SHARE_VM_PRIMS_JVMTIEVENTCONTROLLER_HPP