Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 1 | /* |
| 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 Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 17 | #include <string.h> |
| 18 | #include <unistd.h> |
| 19 | |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 20 | #include "class_linker.h" |
| 21 | #include "debugger.h" |
| 22 | #include "hprof/hprof.h" |
| 23 | #include "jni_internal.h" |
| 24 | #include "ScopedUtfChars.h" |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 25 | #include "scoped_thread_state_change.h" |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 26 | #include "toStringArray.h" |
| 27 | #include "trace.h" |
| 28 | |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 29 | namespace art { |
| 30 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 31 | static jobjectArray VMDebug_getVmFeatureList(JNIEnv* env, jclass) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 32 | std::vector<std::string> features; |
jeffhao | e343b76 | 2011-12-05 16:36:44 -0800 | [diff] [blame] | 33 | features.push_back("method-trace-profiling"); |
| 34 | features.push_back("method-trace-profiling-streaming"); |
Elliott Hughes | 767a147 | 2011-10-26 18:49:02 -0700 | [diff] [blame] | 35 | features.push_back("hprof-heap-dump"); |
| 36 | features.push_back("hprof-heap-dump-streaming"); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 37 | return toStringArray(env, features); |
| 38 | } |
| 39 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 40 | static void VMDebug_startAllocCounting(JNIEnv*, jclass) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 41 | Runtime::Current()->SetStatsEnabled(true); |
| 42 | } |
| 43 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 44 | static void VMDebug_stopAllocCounting(JNIEnv*, jclass) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 45 | Runtime::Current()->SetStatsEnabled(false); |
| 46 | } |
| 47 | |
Elliott Hughes | 1bac54f | 2012-03-16 12:48:31 -0700 | [diff] [blame] | 48 | static jint VMDebug_getAllocCount(JNIEnv*, jclass, jint kind) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 49 | return Runtime::Current()->GetStat(kind); |
| 50 | } |
| 51 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 52 | static void VMDebug_resetAllocCount(JNIEnv*, jclass, jint kinds) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 53 | Runtime::Current()->ResetStats(kinds); |
| 54 | } |
| 55 | |
Elliott Hughes | 1bac54f | 2012-03-16 12:48:31 -0700 | [diff] [blame] | 56 | static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags) { |
jeffhao | e343b76 | 2011-12-05 16:36:44 -0800 | [diff] [blame] | 57 | Trace::Start("[DDMS]", -1, bufferSize, flags, true); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 58 | } |
| 59 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 60 | static void VMDebug_startMethodTracingFd(JNIEnv* env, jclass, jstring javaTraceFilename, |
| 61 | jobject javaFd, jint bufferSize, jint flags) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 62 | int originalFd = jniGetFDFromFileDescriptor(env, javaFd); |
| 63 | if (originalFd < 0) { |
| 64 | return; |
| 65 | } |
| 66 | |
| 67 | int fd = dup(originalFd); |
| 68 | if (fd < 0) { |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 69 | ScopedObjectAccess soa(env); |
| 70 | Thread::Current()->ThrowNewExceptionF("Ljava/lang/RuntimeException;", |
| 71 | "dup(%d) failed: %s", originalFd, strerror(errno)); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 72 | return; |
| 73 | } |
| 74 | |
| 75 | ScopedUtfChars traceFilename(env, javaTraceFilename); |
| 76 | if (traceFilename.c_str() == NULL) { |
| 77 | return; |
| 78 | } |
jeffhao | e343b76 | 2011-12-05 16:36:44 -0800 | [diff] [blame] | 79 | Trace::Start(traceFilename.c_str(), fd, bufferSize, flags, false); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 80 | } |
| 81 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 82 | static void VMDebug_startMethodTracingFilename(JNIEnv* env, jclass, jstring javaTraceFilename, |
| 83 | jint bufferSize, jint flags) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 84 | ScopedUtfChars traceFilename(env, javaTraceFilename); |
| 85 | if (traceFilename.c_str() == NULL) { |
| 86 | return; |
| 87 | } |
jeffhao | e343b76 | 2011-12-05 16:36:44 -0800 | [diff] [blame] | 88 | Trace::Start(traceFilename.c_str(), -1, bufferSize, flags, false); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 89 | } |
| 90 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 91 | static jboolean VMDebug_isMethodTracingActive(JNIEnv*, jclass) { |
jeffhao | 2692b57 | 2011-12-16 15:42:28 -0800 | [diff] [blame] | 92 | return Runtime::Current()->IsMethodTracingActive(); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 93 | } |
| 94 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 95 | static void VMDebug_stopMethodTracing(JNIEnv*, jclass) { |
jeffhao | e343b76 | 2011-12-05 16:36:44 -0800 | [diff] [blame] | 96 | Trace::Stop(); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 97 | } |
| 98 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 99 | static void VMDebug_startEmulatorTracing(JNIEnv*, jclass) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 100 | UNIMPLEMENTED(WARNING); |
| 101 | //dvmEmulatorTraceStart(); |
| 102 | } |
| 103 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 104 | static void VMDebug_stopEmulatorTracing(JNIEnv*, jclass) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 105 | UNIMPLEMENTED(WARNING); |
| 106 | //dvmEmulatorTraceStop(); |
| 107 | } |
| 108 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 109 | static jboolean VMDebug_isDebuggerConnected(JNIEnv*, jclass) { |
Elliott Hughes | c0f0933 | 2012-03-26 13:27:06 -0700 | [diff] [blame] | 110 | return Dbg::IsDebuggerActive(); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 111 | } |
| 112 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 113 | static jboolean VMDebug_isDebuggingEnabled(JNIEnv*, jclass) { |
Elliott Hughes | c0f0933 | 2012-03-26 13:27:06 -0700 | [diff] [blame] | 114 | return Dbg::IsJdwpConfigured(); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 115 | } |
| 116 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 117 | static jlong VMDebug_lastDebuggerActivity(JNIEnv*, jclass) { |
Elliott Hughes | 872d4ec | 2011-10-21 17:07:15 -0700 | [diff] [blame] | 118 | return Dbg::LastDebuggerActivity(); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 119 | } |
| 120 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 121 | static void VMDebug_startInstructionCounting(JNIEnv* env, jclass) { |
| 122 | ScopedObjectAccess soa(env); |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 123 | Thread::Current()->ThrowNewException("Ljava/lang/UnsupportedOperationException;", ""); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 124 | } |
| 125 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 126 | static void VMDebug_stopInstructionCounting(JNIEnv* env, jclass) { |
| 127 | ScopedObjectAccess soa(env); |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 128 | Thread::Current()->ThrowNewException("Ljava/lang/UnsupportedOperationException;", ""); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 129 | } |
| 130 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 131 | static void VMDebug_getInstructionCount(JNIEnv* env, jclass, jintArray /*javaCounts*/) { |
| 132 | ScopedObjectAccess soa(env); |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 133 | Thread::Current()->ThrowNewException("Ljava/lang/UnsupportedOperationException;", ""); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 134 | } |
| 135 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 136 | static void VMDebug_resetInstructionCount(JNIEnv* env, jclass) { |
| 137 | ScopedObjectAccess soa(env); |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 138 | Thread::Current()->ThrowNewException("Ljava/lang/UnsupportedOperationException;", ""); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 139 | } |
| 140 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 141 | static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) { |
| 142 | ScopedObjectAccess soa(env); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 143 | return Runtime::Current()->GetClassLinker()->DumpAllClasses(flags); |
| 144 | } |
| 145 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 146 | static jint VMDebug_getLoadedClassCount(JNIEnv*, jclass) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 147 | return Runtime::Current()->GetClassLinker()->NumLoadedClasses(); |
| 148 | } |
| 149 | |
| 150 | /* |
| 151 | * Returns the thread-specific CPU-time clock value for the current thread, |
| 152 | * or -1 if the feature isn't supported. |
| 153 | */ |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 154 | static jlong VMDebug_threadCpuTimeNanos(JNIEnv*, jclass) { |
| 155 | return ThreadCpuNanoTime(); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 156 | } |
| 157 | |
| 158 | /* |
| 159 | * static void dumpHprofData(String fileName, FileDescriptor fd) |
| 160 | * |
| 161 | * Cause "hprof" data to be dumped. We can throw an IOException if an |
| 162 | * error occurs during file handling. |
| 163 | */ |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 164 | static void VMDebug_dumpHprofData(JNIEnv* env, jclass, jstring javaFilename, jobject javaFd) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 165 | // Only one of these may be NULL. |
| 166 | if (javaFilename == NULL && javaFd == NULL) { |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 167 | ScopedObjectAccess soa(env); |
| 168 | Thread::Current()->ThrowNewException("Ljava/lang/NullPointerException;", |
| 169 | "fileName == null && fd == null"); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 170 | return; |
| 171 | } |
| 172 | |
| 173 | std::string filename; |
| 174 | if (javaFilename != NULL) { |
| 175 | ScopedUtfChars chars(env, javaFilename); |
| 176 | if (env->ExceptionCheck()) { |
| 177 | return; |
| 178 | } |
| 179 | filename = chars.c_str(); |
| 180 | } else { |
| 181 | filename = "[fd]"; |
| 182 | } |
| 183 | |
| 184 | int fd = -1; |
| 185 | if (javaFd != NULL) { |
| 186 | fd = jniGetFDFromFileDescriptor(env, javaFd); |
| 187 | if (fd < 0) { |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 188 | ScopedObjectAccess soa(env); |
| 189 | Thread::Current()->ThrowNewException("Ljava/lang/RuntimeException;", |
| 190 | "Invalid file descriptor"); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 191 | return; |
| 192 | } |
| 193 | } |
| 194 | |
Elliott Hughes | 622a698 | 2012-06-08 17:58:54 -0700 | [diff] [blame] | 195 | hprof::DumpHeap(filename.c_str(), fd, false); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 196 | } |
| 197 | |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 198 | static void VMDebug_dumpHprofDataDdms(JNIEnv*, jclass) { |
Elliott Hughes | 622a698 | 2012-06-08 17:58:54 -0700 | [diff] [blame] | 199 | hprof::DumpHeap("[DDMS]", -1, true); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 200 | } |
| 201 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 202 | static void VMDebug_dumpReferenceTables(JNIEnv* env, jclass) { |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 203 | ScopedObjectAccess soa(env); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 204 | LOG(INFO) << "--- reference table dump ---"; |
| 205 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 206 | soa.Env()->DumpReferenceTables(LOG(INFO)); |
| 207 | soa.Vm()->DumpReferenceTables(LOG(INFO)); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 208 | |
| 209 | LOG(INFO) << "---"; |
| 210 | } |
| 211 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 212 | static void VMDebug_crash(JNIEnv*, jclass) { |
Elliott Hughes | 81ff318 | 2012-03-23 20:35:56 -0700 | [diff] [blame] | 213 | LOG(FATAL) << "Crashing runtime on request"; |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 214 | } |
| 215 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 216 | static void VMDebug_infopoint(JNIEnv*, jclass, jint id) { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 217 | LOG(INFO) << "VMDebug infopoint " << id << " hit"; |
| 218 | } |
| 219 | |
Ian Rogers | 00f7d0e | 2012-07-19 15:28:27 -0700 | [diff] [blame] | 220 | static jlong VMDebug_countInstancesOfClass(JNIEnv* env, jclass, jclass javaClass, |
| 221 | jboolean countAssignable) { |
| 222 | ScopedObjectAccess soa(env); |
| 223 | Class* c = soa.Decode<Class*>(javaClass); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 224 | if (c == NULL) { |
| 225 | return 0; |
| 226 | } |
Elliott Hughes | ec0f83d | 2013-01-15 16:54:08 -0800 | [diff] [blame] | 227 | std::vector<Class*> classes; |
| 228 | classes.push_back(c); |
| 229 | uint64_t count = 0; |
| 230 | Runtime::Current()->GetHeap()->CountInstances(classes, countAssignable, &count); |
| 231 | return count; |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 232 | } |
| 233 | |
Elliott Hughes | 0512f02 | 2012-03-15 22:10:52 -0700 | [diff] [blame] | 234 | static JNINativeMethod gMethods[] = { |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 235 | NATIVE_METHOD(VMDebug, countInstancesOfClass, "(Ljava/lang/Class;Z)J"), |
| 236 | NATIVE_METHOD(VMDebug, crash, "()V"), |
| 237 | NATIVE_METHOD(VMDebug, dumpHprofData, "(Ljava/lang/String;Ljava/io/FileDescriptor;)V"), |
| 238 | NATIVE_METHOD(VMDebug, dumpHprofDataDdms, "()V"), |
| 239 | NATIVE_METHOD(VMDebug, dumpReferenceTables, "()V"), |
| 240 | NATIVE_METHOD(VMDebug, getAllocCount, "(I)I"), |
| 241 | NATIVE_METHOD(VMDebug, getInstructionCount, "([I)V"), |
| 242 | NATIVE_METHOD(VMDebug, getLoadedClassCount, "()I"), |
| 243 | NATIVE_METHOD(VMDebug, getVmFeatureList, "()[Ljava/lang/String;"), |
| 244 | NATIVE_METHOD(VMDebug, infopoint, "(I)V"), |
| 245 | NATIVE_METHOD(VMDebug, isDebuggerConnected, "()Z"), |
| 246 | NATIVE_METHOD(VMDebug, isDebuggingEnabled, "()Z"), |
| 247 | NATIVE_METHOD(VMDebug, isMethodTracingActive, "()Z"), |
| 248 | NATIVE_METHOD(VMDebug, lastDebuggerActivity, "()J"), |
| 249 | NATIVE_METHOD(VMDebug, printLoadedClasses, "(I)V"), |
| 250 | NATIVE_METHOD(VMDebug, resetAllocCount, "(I)V"), |
| 251 | NATIVE_METHOD(VMDebug, resetInstructionCount, "()V"), |
| 252 | NATIVE_METHOD(VMDebug, startAllocCounting, "()V"), |
| 253 | NATIVE_METHOD(VMDebug, startEmulatorTracing, "()V"), |
| 254 | NATIVE_METHOD(VMDebug, startInstructionCounting, "()V"), |
| 255 | NATIVE_METHOD(VMDebug, startMethodTracingDdmsImpl, "(II)V"), |
| 256 | NATIVE_METHOD(VMDebug, startMethodTracingFd, "(Ljava/lang/String;Ljava/io/FileDescriptor;II)V"), |
| 257 | NATIVE_METHOD(VMDebug, startMethodTracingFilename, "(Ljava/lang/String;II)V"), |
| 258 | NATIVE_METHOD(VMDebug, stopAllocCounting, "()V"), |
| 259 | NATIVE_METHOD(VMDebug, stopEmulatorTracing, "()V"), |
| 260 | NATIVE_METHOD(VMDebug, stopInstructionCounting, "()V"), |
| 261 | NATIVE_METHOD(VMDebug, stopMethodTracing, "()V"), |
| 262 | NATIVE_METHOD(VMDebug, threadCpuTimeNanos, "()J"), |
| 263 | }; |
| 264 | |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 265 | void register_dalvik_system_VMDebug(JNIEnv* env) { |
Elliott Hughes | eac7667 | 2012-05-24 21:56:51 -0700 | [diff] [blame] | 266 | REGISTER_NATIVE_METHODS("dalvik/system/VMDebug"); |
Elliott Hughes | 9d5ccec | 2011-09-19 13:19:50 -0700 | [diff] [blame] | 267 | } |
| 268 | |
| 269 | } // namespace art |