blob: d54c87aceb2b5592a127d798b761e3b63a7f297a [file] [log] [blame]
Andreas Gampe77708d92016-10-07 11:48:21 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Andreas Gampe06c42a52017-07-26 14:17:14 -070017#ifndef ART_OPENJDKJVMTI_EVENTS_H_
18#define ART_OPENJDKJVMTI_EVENTS_H_
Andreas Gampe77708d92016-10-07 11:48:21 -070019
20#include <bitset>
21#include <vector>
22
Andreas Gampe57943812017-12-06 21:39:13 -080023#include <android-base/logging.h>
Alex Light817eb042019-04-08 16:28:29 +000024#include <android-base/thread_annotations.h>
Andreas Gampe57943812017-12-06 21:39:13 -080025
26#include "base/macros.h"
27#include "base/mutex.h"
Andreas Gampe77708d92016-10-07 11:48:21 -070028#include "jvmti.h"
29#include "thread.h"
30
31namespace openjdkjvmti {
32
33struct ArtJvmTiEnv;
Andreas Gampe27fa96c2016-10-07 15:05:24 -070034class JvmtiAllocationListener;
Alex Light8c2b9292017-11-09 13:21:01 -080035class JvmtiDdmChunkListener;
Andreas Gampe9b8c5882016-10-21 15:27:46 -070036class JvmtiGcPauseListener;
Alex Lightb7edcda2017-04-27 13:20:31 -070037class JvmtiMethodTraceListener;
Alex Light77fee872017-09-05 14:51:49 -070038class JvmtiMonitorListener;
Charles Munger5cc0e752018-11-09 12:30:46 -080039class JvmtiParkListener;
Andreas Gampe77708d92016-10-07 11:48:21 -070040
Alex Light73afd322017-01-18 11:17:47 -080041// an enum for ArtEvents. This differs from the JVMTI events only in that we distinguish between
42// retransformation capable and incapable loading
Alex Light8c2b9292017-11-09 13:21:01 -080043enum class ArtJvmtiEvent : jint {
Alex Light40d87f42017-01-18 10:27:06 -080044 kMinEventTypeVal = JVMTI_MIN_EVENT_TYPE_VAL,
45 kVmInit = JVMTI_EVENT_VM_INIT,
46 kVmDeath = JVMTI_EVENT_VM_DEATH,
47 kThreadStart = JVMTI_EVENT_THREAD_START,
48 kThreadEnd = JVMTI_EVENT_THREAD_END,
Alex Light73afd322017-01-18 11:17:47 -080049 kClassFileLoadHookNonRetransformable = JVMTI_EVENT_CLASS_FILE_LOAD_HOOK,
Alex Light40d87f42017-01-18 10:27:06 -080050 kClassLoad = JVMTI_EVENT_CLASS_LOAD,
51 kClassPrepare = JVMTI_EVENT_CLASS_PREPARE,
52 kVmStart = JVMTI_EVENT_VM_START,
53 kException = JVMTI_EVENT_EXCEPTION,
54 kExceptionCatch = JVMTI_EVENT_EXCEPTION_CATCH,
55 kSingleStep = JVMTI_EVENT_SINGLE_STEP,
56 kFramePop = JVMTI_EVENT_FRAME_POP,
57 kBreakpoint = JVMTI_EVENT_BREAKPOINT,
58 kFieldAccess = JVMTI_EVENT_FIELD_ACCESS,
59 kFieldModification = JVMTI_EVENT_FIELD_MODIFICATION,
60 kMethodEntry = JVMTI_EVENT_METHOD_ENTRY,
61 kMethodExit = JVMTI_EVENT_METHOD_EXIT,
62 kNativeMethodBind = JVMTI_EVENT_NATIVE_METHOD_BIND,
63 kCompiledMethodLoad = JVMTI_EVENT_COMPILED_METHOD_LOAD,
64 kCompiledMethodUnload = JVMTI_EVENT_COMPILED_METHOD_UNLOAD,
65 kDynamicCodeGenerated = JVMTI_EVENT_DYNAMIC_CODE_GENERATED,
66 kDataDumpRequest = JVMTI_EVENT_DATA_DUMP_REQUEST,
67 kMonitorWait = JVMTI_EVENT_MONITOR_WAIT,
68 kMonitorWaited = JVMTI_EVENT_MONITOR_WAITED,
69 kMonitorContendedEnter = JVMTI_EVENT_MONITOR_CONTENDED_ENTER,
70 kMonitorContendedEntered = JVMTI_EVENT_MONITOR_CONTENDED_ENTERED,
71 kResourceExhausted = JVMTI_EVENT_RESOURCE_EXHAUSTED,
72 kGarbageCollectionStart = JVMTI_EVENT_GARBAGE_COLLECTION_START,
73 kGarbageCollectionFinish = JVMTI_EVENT_GARBAGE_COLLECTION_FINISH,
74 kObjectFree = JVMTI_EVENT_OBJECT_FREE,
75 kVmObjectAlloc = JVMTI_EVENT_VM_OBJECT_ALLOC,
Alex Light73afd322017-01-18 11:17:47 -080076 kClassFileLoadHookRetransformable = JVMTI_MAX_EVENT_TYPE_VAL + 1,
Alex Light8c2b9292017-11-09 13:21:01 -080077 kDdmPublishChunk = JVMTI_MAX_EVENT_TYPE_VAL + 2,
78 kMaxEventTypeVal = kDdmPublishChunk,
Alex Light40d87f42017-01-18 10:27:06 -080079};
80
Alex Light8c2b9292017-11-09 13:21:01 -080081using ArtJvmtiEventDdmPublishChunk = void (*)(jvmtiEnv *jvmti_env,
82 JNIEnv* jni_env,
83 jint data_type,
84 jint data_len,
85 const jbyte* data);
86
87struct ArtJvmtiEventCallbacks : jvmtiEventCallbacks {
88 ArtJvmtiEventCallbacks() : DdmPublishChunk(nullptr) {
89 memset(this, 0, sizeof(jvmtiEventCallbacks));
90 }
91
92 // Copies extension functions from other callback struct if it exists. There must not have been
93 // any modifications to this struct when it is called.
94 void CopyExtensionsFrom(const ArtJvmtiEventCallbacks* cb);
95
96 jvmtiError Set(jint index, jvmtiExtensionEvent cb);
97
98 ArtJvmtiEventDdmPublishChunk DdmPublishChunk;
99};
100
101bool IsExtensionEvent(jint e);
102bool IsExtensionEvent(ArtJvmtiEvent e);
103
Alex Light40d87f42017-01-18 10:27:06 -0800104// Convert a jvmtiEvent into a ArtJvmtiEvent
105ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
106
Alex Light73afd322017-01-18 11:17:47 -0800107static inline jvmtiEvent GetJvmtiEvent(ArtJvmtiEvent e) {
108 if (UNLIKELY(e == ArtJvmtiEvent::kClassFileLoadHookRetransformable)) {
109 return JVMTI_EVENT_CLASS_FILE_LOAD_HOOK;
110 } else {
111 return static_cast<jvmtiEvent>(e);
112 }
Alex Light40d87f42017-01-18 10:27:06 -0800113}
114
Andreas Gampe77708d92016-10-07 11:48:21 -0700115struct EventMask {
Alex Light40d87f42017-01-18 10:27:06 -0800116 static constexpr size_t kEventsSize =
117 static_cast<size_t>(ArtJvmtiEvent::kMaxEventTypeVal) -
118 static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal) + 1;
Andreas Gampe77708d92016-10-07 11:48:21 -0700119 std::bitset<kEventsSize> bit_set;
120
Alex Light40d87f42017-01-18 10:27:06 -0800121 static bool EventIsInRange(ArtJvmtiEvent event) {
122 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal;
Andreas Gampe77708d92016-10-07 11:48:21 -0700123 }
124
Alex Light40d87f42017-01-18 10:27:06 -0800125 void Set(ArtJvmtiEvent event, bool value = true) {
Andreas Gampe77708d92016-10-07 11:48:21 -0700126 DCHECK(EventIsInRange(event));
Alex Light40d87f42017-01-18 10:27:06 -0800127 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
128 value);
Andreas Gampe77708d92016-10-07 11:48:21 -0700129 }
130
Alex Light40d87f42017-01-18 10:27:06 -0800131 bool Test(ArtJvmtiEvent event) const {
Andreas Gampe77708d92016-10-07 11:48:21 -0700132 DCHECK(EventIsInRange(event));
Alex Light40d87f42017-01-18 10:27:06 -0800133 return bit_set.test(
134 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal));
Andreas Gampe77708d92016-10-07 11:48:21 -0700135 }
136};
137
138struct EventMasks {
139 // The globally enabled events.
140 EventMask global_event_mask;
141
142 // The per-thread enabled events.
143
144 // It is not enough to store a Thread pointer, as these may be reused. Use the pointer and the
145 // thread id.
146 // Note: We could just use the tid like tracing does.
147 using UniqueThread = std::pair<art::Thread*, uint32_t>;
148 // TODO: Native thread objects are immovable, so we can use them as keys in an (unordered) map,
149 // if necessary.
150 std::vector<std::pair<UniqueThread, EventMask>> thread_event_masks;
151
152 // A union of the per-thread events, for fast-pathing.
153 EventMask unioned_thread_event_mask;
154
155 EventMask& GetEventMask(art::Thread* thread);
156 EventMask* GetEventMaskOrNull(art::Thread* thread);
Alex Light74c84402017-11-29 15:26:38 -0800157 // Circular dependencies mean we cannot see the definition of ArtJvmTiEnv so the mutex is simply
158 // asserted in the function.
159 // Note that the 'env' passed in must be the same env this EventMasks is associated with.
160 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
161 // REQUIRES(env->event_info_mutex_);
162 // Circular dependencies mean we cannot see the definition of ArtJvmTiEnv so the mutex is simply
163 // asserted in the function.
164 // Note that the 'env' passed in must be the same env this EventMasks is associated with.
165 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
166 // REQUIRES(env->event_info_mutex_);
Alex Light73afd322017-01-18 11:17:47 -0800167 bool IsEnabledAnywhere(ArtJvmtiEvent event);
168 // Make any changes to event masks needed for the given capability changes. If caps_added is true
169 // then caps is all the newly set capabilities of the jvmtiEnv. If it is false then caps is the
170 // set of all capabilities that were removed from the jvmtiEnv.
171 void HandleChangedCapabilities(const jvmtiCapabilities& caps, bool caps_added);
Andreas Gampe77708d92016-10-07 11:48:21 -0700172};
173
Alex Lightb284f8d2017-11-21 00:00:48 +0000174namespace impl {
175template <ArtJvmtiEvent kEvent> struct EventHandlerFunc { };
176} // namespace impl
177
Andreas Gampe77708d92016-10-07 11:48:21 -0700178// Helper class for event handling.
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700179class EventHandler {
180 public:
181 EventHandler();
182 ~EventHandler();
Andreas Gampe77708d92016-10-07 11:48:21 -0700183
Alex Lightb7edcda2017-04-27 13:20:31 -0700184 // do cleanup for the event handler.
185 void Shutdown();
186
Andreas Gampe77708d92016-10-07 11:48:21 -0700187 // Register an env. It is assumed that this happens on env creation, that is, no events are
188 // enabled, yet.
Alex Lightb284f8d2017-11-21 00:00:48 +0000189 void RegisterArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_);
Andreas Gampe77708d92016-10-07 11:48:21 -0700190
Andreas Gampe3a7eb142017-01-19 21:59:22 -0800191 // Remove an env.
Alex Lightb284f8d2017-11-21 00:00:48 +0000192 void RemoveArtJvmTiEnv(ArtJvmTiEnv* env) REQUIRES(!envs_lock_);
Andreas Gampe3a7eb142017-01-19 21:59:22 -0800193
Alex Light40d87f42017-01-18 10:27:06 -0800194 bool IsEventEnabledAnywhere(ArtJvmtiEvent event) const {
Andreas Gampe77708d92016-10-07 11:48:21 -0700195 if (!EventMask::EventIsInRange(event)) {
196 return false;
197 }
198 return global_mask.Test(event);
199 }
200
Alex Light40d87f42017-01-18 10:27:06 -0800201 jvmtiError SetEvent(ArtJvmTiEnv* env,
Alex Light3dacdd62019-03-12 15:45:47 +0000202 jthread thread,
Alex Light40d87f42017-01-18 10:27:06 -0800203 ArtJvmtiEvent event,
Alex Lightb284f8d2017-11-21 00:00:48 +0000204 jvmtiEventMode mode)
205 REQUIRES(!envs_lock_);
Andreas Gampe77708d92016-10-07 11:48:21 -0700206
Alex Light9df79b72017-09-12 08:57:31 -0700207 // Dispatch event to all registered environments. Since this one doesn't have a JNIEnv* it doesn't
208 // matter if it has the mutator_lock.
Andreas Gampe983c1752017-01-23 19:46:56 -0800209 template <ArtJvmtiEvent kEvent, typename ...Args>
Alex Light40d87f42017-01-18 10:27:06 -0800210 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000211 inline void DispatchEvent(art::Thread* thread, Args... args) const
212 REQUIRES(!envs_lock_);
Alex Light9df79b72017-09-12 08:57:31 -0700213
Alex Lightb7edcda2017-04-27 13:20:31 -0700214 // Dispatch event to all registered environments stashing exceptions as needed. This works since
215 // JNIEnv* is always the second argument if it is passed to an event. Needed since C++ does not
216 // allow partial template function specialization.
Alex Light9df79b72017-09-12 08:57:31 -0700217 //
218 // We need both of these since we want to make sure to push a stack frame when it is possible for
219 // the event to allocate local references.
Alex Lightb7edcda2017-04-27 13:20:31 -0700220 template <ArtJvmtiEvent kEvent, typename ...Args>
221 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000222 inline void DispatchEvent(art::Thread* thread, JNIEnv* jnienv, Args... args) const
223 REQUIRES(!envs_lock_);
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700224
Alex Light73afd322017-01-18 11:17:47 -0800225 // Tell the event handler capabilities were added/lost so it can adjust the sent events.If
226 // caps_added is true then caps is all the newly set capabilities of the jvmtiEnv. If it is false
227 // then caps is the set of all capabilities that were removed from the jvmtiEnv.
228 ALWAYS_INLINE
229 inline void HandleChangedCapabilities(ArtJvmTiEnv* env,
230 const jvmtiCapabilities& caps,
Alex Lightb284f8d2017-11-21 00:00:48 +0000231 bool added)
232 REQUIRES(!envs_lock_);
Alex Light73afd322017-01-18 11:17:47 -0800233
Alex Light9df79b72017-09-12 08:57:31 -0700234 // Dispatch event to the given environment, only.
235 template <ArtJvmtiEvent kEvent, typename ...Args>
236 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000237 inline void DispatchEventOnEnv(ArtJvmTiEnv* env,
238 art::Thread* thread,
239 JNIEnv* jnienv,
240 Args... args) const
241 REQUIRES(!envs_lock_);
Alex Light9df79b72017-09-12 08:57:31 -0700242
243 // Dispatch event to the given environment, only.
244 template <ArtJvmtiEvent kEvent, typename ...Args>
245 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000246 inline void DispatchEventOnEnv(ArtJvmTiEnv* env, art::Thread* thread, Args... args) const
247 REQUIRES(!envs_lock_);
Alex Light9df79b72017-09-12 08:57:31 -0700248
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700249 private:
Alex Light76da18e2019-05-06 18:16:24 +0000250 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);
Alex Lightf6df1b52017-11-29 14:46:53 -0800251
Alex Lightf5d5eb12018-03-06 15:13:59 -0800252 // Specifically handle the FramePop event which it might not always be possible to turn off.
Alex Light76da18e2019-05-06 18:16:24 +0000253 void SetupFramePopTraceListener(bool enable);
Alex Lightf5d5eb12018-03-06 15:13:59 -0800254
Alex Lightb284f8d2017-11-21 00:00:48 +0000255 template <ArtJvmtiEvent kEvent, typename ...Args>
256 ALWAYS_INLINE
257 inline std::vector<impl::EventHandlerFunc<kEvent>> CollectEvents(art::Thread* thread,
258 Args... args) const
259 REQUIRES(!envs_lock_);
260
Andreas Gampe983c1752017-01-23 19:46:56 -0800261 template <ArtJvmtiEvent kEvent>
Alex Light40d87f42017-01-18 10:27:06 -0800262 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000263 inline bool ShouldDispatchOnThread(ArtJvmTiEnv* env, art::Thread* thread) const;
Alex Light9df79b72017-09-12 08:57:31 -0700264
265 template <ArtJvmtiEvent kEvent, typename ...Args>
266 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000267 static inline void ExecuteCallback(impl::EventHandlerFunc<kEvent> handler,
268 JNIEnv* env,
269 Args... args)
270 REQUIRES(!envs_lock_);
Alex Light9df79b72017-09-12 08:57:31 -0700271
272 template <ArtJvmtiEvent kEvent, typename ...Args>
273 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000274 static inline void ExecuteCallback(impl::EventHandlerFunc<kEvent> handler, Args... args)
275 REQUIRES(!envs_lock_);
276
277 // Public for use to collect dispatches
278 template <ArtJvmtiEvent kEvent, typename ...Args>
279 ALWAYS_INLINE
Alex Light9df79b72017-09-12 08:57:31 -0700280 inline bool ShouldDispatch(ArtJvmTiEnv* env, art::Thread* thread, Args... args) const;
Alex Light40d87f42017-01-18 10:27:06 -0800281
Alex Light73afd322017-01-18 11:17:47 -0800282 ALWAYS_INLINE
283 inline bool NeedsEventUpdate(ArtJvmTiEnv* env,
284 const jvmtiCapabilities& caps,
285 bool added);
286
287 // Recalculates the event mask for the given event.
288 ALWAYS_INLINE
Alex Lightb284f8d2017-11-21 00:00:48 +0000289 inline void RecalculateGlobalEventMask(ArtJvmtiEvent event) REQUIRES(!envs_lock_);
290 ALWAYS_INLINE
Alex Light2a96fe82018-01-22 17:45:02 -0800291 inline void RecalculateGlobalEventMaskLocked(ArtJvmtiEvent event) REQUIRES_SHARED(envs_lock_);
Alex Light73afd322017-01-18 11:17:47 -0800292
Alex Light76da18e2019-05-06 18:16:24 +0000293 // Returns whether there are any active requests for the given event on the given thread. This
294 // should only be used while modifying the events for a thread.
295 bool GetThreadEventState(ArtJvmtiEvent event, art::Thread* thread)
296 REQUIRES(envs_lock_, art::Locks::thread_list_lock_);
297
Andreas Gampe983c1752017-01-23 19:46:56 -0800298 template <ArtJvmtiEvent kEvent>
Alex Light6ac57502017-01-19 15:05:06 -0800299 ALWAYS_INLINE inline void DispatchClassFileLoadHookEvent(art::Thread* thread,
Andreas Gampe983c1752017-01-23 19:46:56 -0800300 JNIEnv* jnienv,
301 jclass class_being_redefined,
302 jobject loader,
303 const char* name,
304 jobject protection_domain,
305 jint class_data_len,
306 const unsigned char* class_data,
307 jint* new_class_data_len,
Alex Lightb284f8d2017-11-21 00:00:48 +0000308 unsigned char** new_class_data) const
309 REQUIRES(!envs_lock_);
Alex Light6ac57502017-01-19 15:05:06 -0800310
Alex Light0aa7a5a2018-10-10 15:58:14 +0000311 template <ArtJvmtiEvent kEvent>
312 ALWAYS_INLINE inline void DispatchClassLoadOrPrepareEvent(art::Thread* thread,
313 JNIEnv* jnienv,
314 jthread jni_thread,
315 jclass klass) const
316 REQUIRES(!envs_lock_);
317
Alex Light76da18e2019-05-06 18:16:24 +0000318 // Sets up the global state needed for the first/last enable of an event across all threads
319 void HandleEventType(ArtJvmtiEvent event, bool enable);
320 // Perform deopts required for enabling the event on the given thread. Null thread indicates
321 // global event enabled.
322 jvmtiError HandleEventDeopt(ArtJvmtiEvent event, jthread thread, bool enable);
Alex Lightbebd7bd2017-07-25 14:05:52 -0700323 void HandleLocalAccessCapabilityAdded();
Alex Light0fa17862017-10-24 13:43:05 -0700324 void HandleBreakpointEventsChanged(bool enable);
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700325
Alex Light77fee872017-09-05 14:51:49 -0700326 bool OtherMonitorEventsEnabledAnywhere(ArtJvmtiEvent event);
327
Alex Lightb284f8d2017-11-21 00:00:48 +0000328 // List of all JvmTiEnv objects that have been created, in their creation order. It is a std::list
329 // since we mostly access it by iterating over the entire thing, only ever append to the end, and
330 // need to be able to remove arbitrary elements from it.
331 std::list<ArtJvmTiEnv*> envs GUARDED_BY(envs_lock_);
332
Alex Light817eb042019-04-08 16:28:29 +0000333 // Close to top level lock. Nothing should be held when we lock this (except for mutator_lock_
334 // which is needed when setting new events).
335 mutable art::ReaderWriterMutex envs_lock_ ACQUIRED_AFTER(art::Locks::mutator_lock_);
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700336
337 // A union of all enabled events, anywhere.
338 EventMask global_mask;
339
340 std::unique_ptr<JvmtiAllocationListener> alloc_listener_;
Alex Light8c2b9292017-11-09 13:21:01 -0800341 std::unique_ptr<JvmtiDdmChunkListener> ddm_listener_;
Andreas Gampe9b8c5882016-10-21 15:27:46 -0700342 std::unique_ptr<JvmtiGcPauseListener> gc_pause_listener_;
Alex Lightb7edcda2017-04-27 13:20:31 -0700343 std::unique_ptr<JvmtiMethodTraceListener> method_trace_listener_;
Alex Light77fee872017-09-05 14:51:49 -0700344 std::unique_ptr<JvmtiMonitorListener> monitor_listener_;
Charles Munger5cc0e752018-11-09 12:30:46 -0800345 std::unique_ptr<JvmtiParkListener> park_listener_;
Alex Lighte814f9d2017-07-31 16:14:39 -0700346
347 // True if frame pop has ever been enabled. Since we store pointers to stack frames we need to
348 // continue to listen to this event even if it has been disabled.
349 // TODO We could remove the listeners once all jvmtiEnvs have drained their shadow-frame vectors.
350 bool frame_pop_enabled;
Andreas Gampe77708d92016-10-07 11:48:21 -0700351};
352
353} // namespace openjdkjvmti
354
Andreas Gampe06c42a52017-07-26 14:17:14 -0700355#endif // ART_OPENJDKJVMTI_EVENTS_H_