blob: 4a84cfecffe8135fd85e5dae6787622c2e9707e3 [file] [log] [blame]
Elliott Hughes9d5ccec2011-09-19 13:19:50 -07001/*
2 * Copyright (C) 2008 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
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070017#include <string.h>
18#include <unistd.h>
19
Elliott Hugheseac76672012-05-24 21:56:51 -070020#include "class_linker.h"
Ian Rogers62d6c772013-02-27 08:32:07 -080021#include "common_throws.h"
Elliott Hugheseac76672012-05-24 21:56:51 -070022#include "debugger.h"
Mathieu Chartier7410f292013-11-24 13:17:35 -080023#include "gc/space/bump_pointer_space.h"
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -070024#include "gc/space/dlmalloc_space.h"
25#include "gc/space/large_object_space.h"
26#include "gc/space/space-inl.h"
Elliott Hugheseac76672012-05-24 21:56:51 -070027#include "hprof/hprof.h"
28#include "jni_internal.h"
Ian Rogers2dd0e2c2013-01-24 12:42:14 -080029#include "mirror/class.h"
Elliott Hugheseac76672012-05-24 21:56:51 -070030#include "ScopedUtfChars.h"
Ian Rogers00f7d0e2012-07-19 15:28:27 -070031#include "scoped_thread_state_change.h"
Elliott Hugheseac76672012-05-24 21:56:51 -070032#include "toStringArray.h"
33#include "trace.h"
34
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070035namespace art {
36
Elliott Hughes0512f022012-03-15 22:10:52 -070037static jobjectArray VMDebug_getVmFeatureList(JNIEnv* env, jclass) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070038 std::vector<std::string> features;
jeffhaoe343b762011-12-05 16:36:44 -080039 features.push_back("method-trace-profiling");
40 features.push_back("method-trace-profiling-streaming");
Jeff Hao23009dc2013-08-22 15:36:42 -070041 features.push_back("method-sample-profiling");
Elliott Hughes767a1472011-10-26 18:49:02 -070042 features.push_back("hprof-heap-dump");
43 features.push_back("hprof-heap-dump-streaming");
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070044 return toStringArray(env, features);
45}
46
Elliott Hughes0512f022012-03-15 22:10:52 -070047static void VMDebug_startAllocCounting(JNIEnv*, jclass) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070048 Runtime::Current()->SetStatsEnabled(true);
49}
50
Elliott Hughes0512f022012-03-15 22:10:52 -070051static void VMDebug_stopAllocCounting(JNIEnv*, jclass) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070052 Runtime::Current()->SetStatsEnabled(false);
53}
54
Elliott Hughes1bac54f2012-03-16 12:48:31 -070055static jint VMDebug_getAllocCount(JNIEnv*, jclass, jint kind) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070056 return Runtime::Current()->GetStat(kind);
57}
58
Elliott Hughes0512f022012-03-15 22:10:52 -070059static void VMDebug_resetAllocCount(JNIEnv*, jclass, jint kinds) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070060 Runtime::Current()->ResetStats(kinds);
61}
62
Jeff Hao23009dc2013-08-22 15:36:42 -070063static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags,
64 jboolean samplingEnabled, jint intervalUs) {
65 Trace::Start("[DDMS]", -1, bufferSize, flags, true, samplingEnabled, intervalUs);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070066}
67
Ian Rogers00f7d0e2012-07-19 15:28:27 -070068static void VMDebug_startMethodTracingFd(JNIEnv* env, jclass, jstring javaTraceFilename,
Jeff Hao4044bda2014-01-06 15:50:45 -080069 jobject javaFd, jint bufferSize, jint flags,
70 jboolean samplingEnabled, jint intervalUs) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070071 int originalFd = jniGetFDFromFileDescriptor(env, javaFd);
72 if (originalFd < 0) {
73 return;
74 }
75
76 int fd = dup(originalFd);
77 if (fd < 0) {
Ian Rogers00f7d0e2012-07-19 15:28:27 -070078 ScopedObjectAccess soa(env);
Ian Rogers62d6c772013-02-27 08:32:07 -080079 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow();
80 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/RuntimeException;",
81 "dup(%d) failed: %s", originalFd, strerror(errno));
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070082 return;
83 }
84
85 ScopedUtfChars traceFilename(env, javaTraceFilename);
86 if (traceFilename.c_str() == NULL) {
87 return;
88 }
Jeff Hao4044bda2014-01-06 15:50:45 -080089 Trace::Start(traceFilename.c_str(), fd, bufferSize, flags, false, samplingEnabled, intervalUs);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070090}
91
Ian Rogers00f7d0e2012-07-19 15:28:27 -070092static void VMDebug_startMethodTracingFilename(JNIEnv* env, jclass, jstring javaTraceFilename,
Jeff Hao4044bda2014-01-06 15:50:45 -080093 jint bufferSize, jint flags,
94 jboolean samplingEnabled, jint intervalUs) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -070095 ScopedUtfChars traceFilename(env, javaTraceFilename);
96 if (traceFilename.c_str() == NULL) {
97 return;
98 }
Jeff Hao4044bda2014-01-06 15:50:45 -080099 Trace::Start(traceFilename.c_str(), -1, bufferSize, flags, false, samplingEnabled, intervalUs);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700100}
101
Jeff Hao64caa7d2013-08-29 11:18:01 -0700102static jint VMDebug_getMethodTracingMode(JNIEnv*, jclass) {
103 return Trace::GetMethodTracingMode();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700104}
105
Elliott Hughes0512f022012-03-15 22:10:52 -0700106static void VMDebug_stopMethodTracing(JNIEnv*, jclass) {
jeffhaoe343b762011-12-05 16:36:44 -0800107 Trace::Stop();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700108}
109
Elliott Hughes0512f022012-03-15 22:10:52 -0700110static void VMDebug_startEmulatorTracing(JNIEnv*, jclass) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700111 UNIMPLEMENTED(WARNING);
Brian Carlstrom7934ac22013-07-26 10:54:15 -0700112 // dvmEmulatorTraceStart();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700113}
114
Elliott Hughes0512f022012-03-15 22:10:52 -0700115static void VMDebug_stopEmulatorTracing(JNIEnv*, jclass) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700116 UNIMPLEMENTED(WARNING);
Brian Carlstrom7934ac22013-07-26 10:54:15 -0700117 // dvmEmulatorTraceStop();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700118}
119
Elliott Hughes0512f022012-03-15 22:10:52 -0700120static jboolean VMDebug_isDebuggerConnected(JNIEnv*, jclass) {
Elliott Hughesc0f09332012-03-26 13:27:06 -0700121 return Dbg::IsDebuggerActive();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700122}
123
Elliott Hughes0512f022012-03-15 22:10:52 -0700124static jboolean VMDebug_isDebuggingEnabled(JNIEnv*, jclass) {
Elliott Hughesc0f09332012-03-26 13:27:06 -0700125 return Dbg::IsJdwpConfigured();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700126}
127
Elliott Hughes0512f022012-03-15 22:10:52 -0700128static jlong VMDebug_lastDebuggerActivity(JNIEnv*, jclass) {
Elliott Hughes872d4ec2011-10-21 17:07:15 -0700129 return Dbg::LastDebuggerActivity();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700130}
131
Ian Rogers62d6c772013-02-27 08:32:07 -0800132static void ThrowUnsupportedOperationException(JNIEnv* env) {
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700133 ScopedObjectAccess soa(env);
Ian Rogers62d6c772013-02-27 08:32:07 -0800134 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow();
135 soa.Self()->ThrowNewException(throw_location, "Ljava/lang/UnsupportedOperationException;", NULL);
136}
137
138static void VMDebug_startInstructionCounting(JNIEnv* env, jclass) {
139 ThrowUnsupportedOperationException(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700140}
141
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700142static void VMDebug_stopInstructionCounting(JNIEnv* env, jclass) {
Ian Rogers62d6c772013-02-27 08:32:07 -0800143 ThrowUnsupportedOperationException(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700144}
145
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700146static void VMDebug_getInstructionCount(JNIEnv* env, jclass, jintArray /*javaCounts*/) {
Ian Rogers62d6c772013-02-27 08:32:07 -0800147 ThrowUnsupportedOperationException(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700148}
149
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700150static void VMDebug_resetInstructionCount(JNIEnv* env, jclass) {
Ian Rogers62d6c772013-02-27 08:32:07 -0800151 ThrowUnsupportedOperationException(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700152}
153
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700154static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) {
155 ScopedObjectAccess soa(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700156 return Runtime::Current()->GetClassLinker()->DumpAllClasses(flags);
157}
158
Ian Rogers7dfb28c2013-08-22 08:18:36 -0700159static jint VMDebug_getLoadedClassCount(JNIEnv* env, jclass) {
160 ScopedObjectAccess soa(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700161 return Runtime::Current()->GetClassLinker()->NumLoadedClasses();
162}
163
164/*
165 * Returns the thread-specific CPU-time clock value for the current thread,
166 * or -1 if the feature isn't supported.
167 */
Elliott Hughes0512f022012-03-15 22:10:52 -0700168static jlong VMDebug_threadCpuTimeNanos(JNIEnv*, jclass) {
169 return ThreadCpuNanoTime();
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700170}
171
172/*
173 * static void dumpHprofData(String fileName, FileDescriptor fd)
174 *
175 * Cause "hprof" data to be dumped. We can throw an IOException if an
176 * error occurs during file handling.
177 */
Elliott Hughes0512f022012-03-15 22:10:52 -0700178static void VMDebug_dumpHprofData(JNIEnv* env, jclass, jstring javaFilename, jobject javaFd) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700179 // Only one of these may be NULL.
180 if (javaFilename == NULL && javaFd == NULL) {
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700181 ScopedObjectAccess soa(env);
Ian Rogers62d6c772013-02-27 08:32:07 -0800182 ThrowNullPointerException(NULL, "fileName == null && fd == null");
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700183 return;
184 }
185
186 std::string filename;
187 if (javaFilename != NULL) {
188 ScopedUtfChars chars(env, javaFilename);
189 if (env->ExceptionCheck()) {
190 return;
191 }
192 filename = chars.c_str();
193 } else {
194 filename = "[fd]";
195 }
196
197 int fd = -1;
198 if (javaFd != NULL) {
199 fd = jniGetFDFromFileDescriptor(env, javaFd);
200 if (fd < 0) {
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700201 ScopedObjectAccess soa(env);
Ian Rogers62d6c772013-02-27 08:32:07 -0800202 ThrowRuntimeException("Invalid file descriptor");
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700203 return;
204 }
205 }
206
Elliott Hughes622a6982012-06-08 17:58:54 -0700207 hprof::DumpHeap(filename.c_str(), fd, false);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700208}
209
Elliott Hugheseac76672012-05-24 21:56:51 -0700210static void VMDebug_dumpHprofDataDdms(JNIEnv*, jclass) {
Elliott Hughes622a6982012-06-08 17:58:54 -0700211 hprof::DumpHeap("[DDMS]", -1, true);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700212}
213
Elliott Hughes0512f022012-03-15 22:10:52 -0700214static void VMDebug_dumpReferenceTables(JNIEnv* env, jclass) {
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700215 ScopedObjectAccess soa(env);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700216 LOG(INFO) << "--- reference table dump ---";
217
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700218 soa.Env()->DumpReferenceTables(LOG(INFO));
219 soa.Vm()->DumpReferenceTables(LOG(INFO));
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700220
221 LOG(INFO) << "---";
222}
223
Elliott Hughes0512f022012-03-15 22:10:52 -0700224static void VMDebug_crash(JNIEnv*, jclass) {
Elliott Hughes81ff3182012-03-23 20:35:56 -0700225 LOG(FATAL) << "Crashing runtime on request";
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700226}
227
Elliott Hughes0512f022012-03-15 22:10:52 -0700228static void VMDebug_infopoint(JNIEnv*, jclass, jint id) {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700229 LOG(INFO) << "VMDebug infopoint " << id << " hit";
230}
231
Ian Rogers00f7d0e2012-07-19 15:28:27 -0700232static jlong VMDebug_countInstancesOfClass(JNIEnv* env, jclass, jclass javaClass,
233 jboolean countAssignable) {
234 ScopedObjectAccess soa(env);
Ian Rogers2dd0e2c2013-01-24 12:42:14 -0800235 mirror::Class* c = soa.Decode<mirror::Class*>(javaClass);
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700236 if (c == NULL) {
237 return 0;
238 }
Ian Rogers2dd0e2c2013-01-24 12:42:14 -0800239 std::vector<mirror::Class*> classes;
Elliott Hughesec0f83d2013-01-15 16:54:08 -0800240 classes.push_back(c);
241 uint64_t count = 0;
242 Runtime::Current()->GetHeap()->CountInstances(classes, countAssignable, &count);
243 return count;
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700244}
245
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700246// We export the VM internal per-heap-space size/alloc/free metrics
247// for the zygote space, alloc space (application heap), and the large
248// object space for dumpsys meminfo. The other memory region data such
249// as PSS, private/shared dirty/shared data are available via
250// /proc/<pid>/smaps.
251static void VMDebug_getHeapSpaceStats(JNIEnv* env, jclass, jlongArray data) {
Ian Rogers6b99dd12013-07-25 12:11:32 -0700252 jlong* arr = reinterpret_cast<jlong*>(env->GetPrimitiveArrayCritical(data, 0));
Mathieu Chartier7410f292013-11-24 13:17:35 -0800253 if (arr == nullptr || env->GetArrayLength(data) < 9) {
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700254 return;
255 }
256
257 size_t allocSize = 0;
258 size_t allocUsed = 0;
259 size_t zygoteSize = 0;
260 size_t zygoteUsed = 0;
261 size_t largeObjectsSize = 0;
262 size_t largeObjectsUsed = 0;
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700263 gc::Heap* heap = Runtime::Current()->GetHeap();
Mathieu Chartier7410f292013-11-24 13:17:35 -0800264 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) {
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700265 if (space->IsImageSpace()) {
266 // Currently don't include the image space.
267 } else if (space->IsZygoteSpace()) {
Hiroshi Yamauchicf58d4a2013-09-26 14:21:22 -0700268 gc::space::MallocSpace* malloc_space = space->AsMallocSpace();
269 zygoteSize += malloc_space->GetFootprint();
270 zygoteUsed += malloc_space->GetBytesAllocated();
Mathieu Chartier7410f292013-11-24 13:17:35 -0800271 } else if (space->IsMallocSpace()) {
272 // This is a malloc space.
Hiroshi Yamauchicf58d4a2013-09-26 14:21:22 -0700273 gc::space::MallocSpace* malloc_space = space->AsMallocSpace();
274 allocSize += malloc_space->GetFootprint();
275 allocUsed += malloc_space->GetBytesAllocated();
Mathieu Chartier7410f292013-11-24 13:17:35 -0800276 } else if (space->IsBumpPointerSpace()) {
Mathieu Chartier692fafd2013-11-29 17:24:40 -0800277 ScopedObjectAccess soa(env);
Mathieu Chartier7410f292013-11-24 13:17:35 -0800278 gc::space::BumpPointerSpace* bump_pointer_space = space->AsBumpPointerSpace();
279 allocSize += bump_pointer_space->Size();
280 allocUsed += bump_pointer_space->GetBytesAllocated();
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700281 }
282 }
Mathieu Chartier7410f292013-11-24 13:17:35 -0800283 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) {
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700284 if (space->IsLargeObjectSpace()) {
285 largeObjectsSize += space->AsLargeObjectSpace()->GetBytesAllocated();
286 largeObjectsUsed += largeObjectsSize;
287 }
288 }
289
290 size_t allocFree = allocSize - allocUsed;
291 size_t zygoteFree = zygoteSize - zygoteUsed;
292 size_t largeObjectsFree = largeObjectsSize - largeObjectsUsed;
293
294 int j = 0;
295 arr[j++] = allocSize;
296 arr[j++] = allocUsed;
297 arr[j++] = allocFree;
298 arr[j++] = zygoteSize;
299 arr[j++] = zygoteUsed;
300 arr[j++] = zygoteFree;
301 arr[j++] = largeObjectsSize;
302 arr[j++] = largeObjectsUsed;
303 arr[j++] = largeObjectsFree;
304 env->ReleasePrimitiveArrayCritical(data, arr, 0);
305}
306
Elliott Hughes0512f022012-03-15 22:10:52 -0700307static JNINativeMethod gMethods[] = {
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700308 NATIVE_METHOD(VMDebug, countInstancesOfClass, "(Ljava/lang/Class;Z)J"),
309 NATIVE_METHOD(VMDebug, crash, "()V"),
310 NATIVE_METHOD(VMDebug, dumpHprofData, "(Ljava/lang/String;Ljava/io/FileDescriptor;)V"),
311 NATIVE_METHOD(VMDebug, dumpHprofDataDdms, "()V"),
312 NATIVE_METHOD(VMDebug, dumpReferenceTables, "()V"),
313 NATIVE_METHOD(VMDebug, getAllocCount, "(I)I"),
Hiroshi Yamauchi09b07a92013-07-15 13:17:06 -0700314 NATIVE_METHOD(VMDebug, getHeapSpaceStats, "([J)V"),
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700315 NATIVE_METHOD(VMDebug, getInstructionCount, "([I)V"),
316 NATIVE_METHOD(VMDebug, getLoadedClassCount, "()I"),
317 NATIVE_METHOD(VMDebug, getVmFeatureList, "()[Ljava/lang/String;"),
318 NATIVE_METHOD(VMDebug, infopoint, "(I)V"),
319 NATIVE_METHOD(VMDebug, isDebuggerConnected, "()Z"),
320 NATIVE_METHOD(VMDebug, isDebuggingEnabled, "()Z"),
Jeff Hao64caa7d2013-08-29 11:18:01 -0700321 NATIVE_METHOD(VMDebug, getMethodTracingMode, "()I"),
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700322 NATIVE_METHOD(VMDebug, lastDebuggerActivity, "()J"),
323 NATIVE_METHOD(VMDebug, printLoadedClasses, "(I)V"),
324 NATIVE_METHOD(VMDebug, resetAllocCount, "(I)V"),
325 NATIVE_METHOD(VMDebug, resetInstructionCount, "()V"),
326 NATIVE_METHOD(VMDebug, startAllocCounting, "()V"),
327 NATIVE_METHOD(VMDebug, startEmulatorTracing, "()V"),
328 NATIVE_METHOD(VMDebug, startInstructionCounting, "()V"),
Jeff Hao23009dc2013-08-22 15:36:42 -0700329 NATIVE_METHOD(VMDebug, startMethodTracingDdmsImpl, "(IIZI)V"),
Jeff Hao4044bda2014-01-06 15:50:45 -0800330 NATIVE_METHOD(VMDebug, startMethodTracingFd, "(Ljava/lang/String;Ljava/io/FileDescriptor;IIZI)V"),
331 NATIVE_METHOD(VMDebug, startMethodTracingFilename, "(Ljava/lang/String;IIZI)V"),
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700332 NATIVE_METHOD(VMDebug, stopAllocCounting, "()V"),
333 NATIVE_METHOD(VMDebug, stopEmulatorTracing, "()V"),
334 NATIVE_METHOD(VMDebug, stopInstructionCounting, "()V"),
335 NATIVE_METHOD(VMDebug, stopMethodTracing, "()V"),
336 NATIVE_METHOD(VMDebug, threadCpuTimeNanos, "()J"),
337};
338
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700339void register_dalvik_system_VMDebug(JNIEnv* env) {
Elliott Hugheseac76672012-05-24 21:56:51 -0700340 REGISTER_NATIVE_METHODS("dalvik/system/VMDebug");
Elliott Hughes9d5ccec2011-09-19 13:19:50 -0700341}
342
343} // namespace art