Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 1 | /* Copyright (C) 2016 The Android Open Source Project |
| 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 3 | * |
| 4 | * This file implements interfaces from the file jvmti.h. This implementation |
| 5 | * is licensed under the same terms as the file jvmti.h. The |
| 6 | * copyright and license information for the file jvmti.h follows. |
| 7 | * |
| 8 | * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
| 9 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 10 | * |
| 11 | * This code is free software; you can redistribute it and/or modify it |
| 12 | * under the terms of the GNU General Public License version 2 only, as |
| 13 | * published by the Free Software Foundation. Oracle designates this |
| 14 | * particular file as subject to the "Classpath" exception as provided |
| 15 | * by Oracle in the LICENSE file that accompanied this code. |
| 16 | * |
| 17 | * This code is distributed in the hope that it will be useful, but WITHOUT |
| 18 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 19 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 20 | * version 2 for more details (a copy is included in the LICENSE file that |
| 21 | * accompanied this code). |
| 22 | * |
| 23 | * You should have received a copy of the GNU General Public License version |
| 24 | * 2 along with this work; if not, write to the Free Software Foundation, |
| 25 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 26 | * |
| 27 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
| 28 | * or visit www.oracle.com if you need additional information or have any |
| 29 | * questions. |
| 30 | */ |
| 31 | |
Andreas Gampe | 06c42a5 | 2017-07-26 14:17:14 -0700 | [diff] [blame] | 32 | #ifndef ART_OPENJDKJVMTI_TI_REDEFINE_H_ |
| 33 | #define ART_OPENJDKJVMTI_TI_REDEFINE_H_ |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 34 | |
| 35 | #include <string> |
| 36 | |
| 37 | #include <jni.h> |
| 38 | |
| 39 | #include "art_jvmti.h" |
Vladimir Marko | e1993c7 | 2017-06-14 17:01:38 +0100 | [diff] [blame] | 40 | #include "base/array_ref.h" |
David Sehr | 1979c64 | 2018-04-26 14:41:18 -0700 | [diff] [blame] | 41 | #include "base/globals.h" |
David Sehr | 9e734c7 | 2018-01-04 17:56:19 -0800 | [diff] [blame] | 42 | #include "dex/dex_file.h" |
Vladimir Marko | a3ad0cd | 2018-05-04 10:06:38 +0100 | [diff] [blame] | 43 | #include "jni/jni_env_ext-inl.h" |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 44 | #include "jvmti.h" |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 45 | #include "mirror/array.h" |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 46 | #include "mirror/class.h" |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 47 | #include "obj_ptr.h" |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 48 | |
| 49 | namespace openjdkjvmti { |
| 50 | |
Vladimir Marko | 5924a4a | 2018-05-29 17:40:41 +0100 | [diff] [blame] | 51 | class ArtClassDefinition; |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 52 | class RedefinitionDataHolder; |
Alex Light | c5f5a6e | 2017-03-01 16:57:08 -0800 | [diff] [blame] | 53 | class RedefinitionDataIter; |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 54 | |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 55 | // Class that can redefine a single class's methods. |
| 56 | class Redefiner { |
| 57 | public: |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 58 | // Redefine the given classes with the given dex data. Note this function does not take ownership |
| 59 | // of the dex_data pointers. It is not used after this call however and may be freed if desired. |
Alex Light | 6ac5750 | 2017-01-19 15:05:06 -0800 | [diff] [blame] | 60 | // The caller is responsible for freeing it. The runtime makes its own copy of the data. This |
| 61 | // function does not call the transformation events. |
Alex Light | 6ac5750 | 2017-01-19 15:05:06 -0800 | [diff] [blame] | 62 | static jvmtiError RedefineClassesDirect(ArtJvmTiEnv* env, |
| 63 | art::Runtime* runtime, |
| 64 | art::Thread* self, |
| 65 | const std::vector<ArtClassDefinition>& definitions, |
| 66 | /*out*/std::string* error_msg); |
| 67 | |
| 68 | // Redefine the given classes with the given dex data. Note this function does not take ownership |
| 69 | // of the dex_data pointers. It is not used after this call however and may be freed if desired. |
Alex Light | 0b77257 | 2016-12-02 17:27:31 -0800 | [diff] [blame] | 70 | // The caller is responsible for freeing it. The runtime makes its own copy of the data. |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 71 | static jvmtiError RedefineClasses(ArtJvmTiEnv* env, |
Andreas Gampe | de19eb9 | 2017-02-24 16:21:18 -0800 | [diff] [blame] | 72 | EventHandler* event_handler, |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 73 | art::Runtime* runtime, |
| 74 | art::Thread* self, |
| 75 | jint class_count, |
| 76 | const jvmtiClassDefinition* definitions, |
Alex Light | 6ac5750 | 2017-01-19 15:05:06 -0800 | [diff] [blame] | 77 | /*out*/std::string* error_msg); |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 78 | |
Alex Light | e4a8863 | 2017-01-10 07:41:24 -0800 | [diff] [blame] | 79 | static jvmtiError IsModifiableClass(jvmtiEnv* env, jclass klass, jboolean* is_redefinable); |
| 80 | |
Vladimir Marko | c34bebf | 2018-08-16 16:12:49 +0100 | [diff] [blame] | 81 | static art::MemMap MoveDataToMemMap(const std::string& original_location, |
| 82 | art::ArrayRef<const unsigned char> data, |
| 83 | std::string* error_msg); |
Alex Light | 440b5d9 | 2017-01-24 15:32:25 -0800 | [diff] [blame] | 84 | |
Alex Light | 9e7859c | 2018-04-05 13:49:43 -0700 | [diff] [blame] | 85 | // Helper for checking if redefinition/retransformation is allowed. |
| 86 | static jvmtiError GetClassRedefinitionError(jclass klass, /*out*/std::string* error_msg) |
| 87 | REQUIRES(!art::Locks::mutator_lock_); |
| 88 | |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 89 | private: |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 90 | class ClassRedefinition { |
| 91 | public: |
| 92 | ClassRedefinition(Redefiner* driver, |
| 93 | jclass klass, |
| 94 | const art::DexFile* redefined_dex_file, |
Alex Light | a7e38d8 | 2017-01-19 14:57:28 -0800 | [diff] [blame] | 95 | const char* class_sig, |
Vladimir Marko | e1993c7 | 2017-06-14 17:01:38 +0100 | [diff] [blame] | 96 | art::ArrayRef<const unsigned char> orig_dex_file) |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 97 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 98 | |
| 99 | // NO_THREAD_SAFETY_ANALYSIS so we can unlock the class in the destructor. |
| 100 | ~ClassRedefinition() NO_THREAD_SAFETY_ANALYSIS; |
| 101 | |
| 102 | // Move constructor so we can put these into a vector. |
| 103 | ClassRedefinition(ClassRedefinition&& other) |
| 104 | : driver_(other.driver_), |
| 105 | klass_(other.klass_), |
| 106 | dex_file_(std::move(other.dex_file_)), |
Alex Light | a7e38d8 | 2017-01-19 14:57:28 -0800 | [diff] [blame] | 107 | class_sig_(std::move(other.class_sig_)), |
| 108 | original_dex_file_(other.original_dex_file_) { |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 109 | other.driver_ = nullptr; |
| 110 | } |
| 111 | |
| 112 | art::mirror::Class* GetMirrorClass() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 113 | art::mirror::ClassLoader* GetClassLoader() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 114 | |
Alex Light | 7916f20 | 2017-01-27 09:00:15 -0800 | [diff] [blame] | 115 | const art::DexFile& GetDexFile() { |
| 116 | return *dex_file_; |
| 117 | } |
| 118 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 119 | art::mirror::DexCache* CreateNewDexCache(art::Handle<art::mirror::ClassLoader> loader) |
| 120 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 121 | |
Alex Light | a7e38d8 | 2017-01-19 14:57:28 -0800 | [diff] [blame] | 122 | // This may return nullptr with a OOME pending if allocation fails. |
Alex Light | 2f814aa | 2017-03-24 15:21:34 +0000 | [diff] [blame] | 123 | art::mirror::Object* AllocateOrGetOriginalDexFile() |
Alex Light | a7e38d8 | 2017-01-19 14:57:28 -0800 | [diff] [blame] | 124 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 125 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 126 | void RecordFailure(jvmtiError e, const std::string& err) { |
| 127 | driver_->RecordFailure(e, class_sig_, err); |
| 128 | } |
| 129 | |
Alex Light | c5f5a6e | 2017-03-01 16:57:08 -0800 | [diff] [blame] | 130 | bool FinishRemainingAllocations(/*out*/RedefinitionDataIter* cur_data) |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 131 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 132 | |
Alex Light | 1babae0 | 2017-02-01 15:35:34 -0800 | [diff] [blame] | 133 | bool AllocateAndRememberNewDexFileCookie( |
Alex Light | 1babae0 | 2017-02-01 15:35:34 -0800 | [diff] [blame] | 134 | art::Handle<art::mirror::ClassLoader> source_class_loader, |
| 135 | art::Handle<art::mirror::Object> dex_file_obj, |
Alex Light | c5f5a6e | 2017-03-01 16:57:08 -0800 | [diff] [blame] | 136 | /*out*/RedefinitionDataIter* cur_data) |
Alex Light | 1babae0 | 2017-02-01 15:35:34 -0800 | [diff] [blame] | 137 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 138 | |
Vladimir Marko | d93e374 | 2018-07-18 10:58:13 +0100 | [diff] [blame] | 139 | void FindAndAllocateObsoleteMethods(art::ObjPtr<art::mirror::Class> art_klass) |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 140 | REQUIRES(art::Locks::mutator_lock_); |
| 141 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 142 | // Checks that the dex file contains only the single expected class and that the top-level class |
| 143 | // data has not been modified in an incompatible manner. |
| 144 | bool CheckClass() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 145 | |
Alex Light | 8c889d2 | 2017-02-06 13:58:27 -0800 | [diff] [blame] | 146 | // Checks that the contained class can be successfully verified. |
Alex Light | c5f5a6e | 2017-03-01 16:57:08 -0800 | [diff] [blame] | 147 | bool CheckVerification(const RedefinitionDataIter& holder) |
Alex Light | 8c889d2 | 2017-02-06 13:58:27 -0800 | [diff] [blame] | 148 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 149 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 150 | // Preallocates all needed allocations in klass so that we can pause execution safely. |
Alex Light | 1e3926a | 2017-04-07 10:38:06 -0700 | [diff] [blame] | 151 | bool EnsureClassAllocationsFinished(/*out*/RedefinitionDataIter* data) |
| 152 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 153 | |
| 154 | // This will check that no constraints are violated (more than 1 class in dex file, any changes |
| 155 | // in number/declaration of methods & fields, changes in access flags, etc.) |
| 156 | bool CheckRedefinitionIsValid() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 157 | |
| 158 | // Checks that the class can even be redefined. |
| 159 | bool CheckRedefinable() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 160 | |
Alex Light | 6161f13 | 2017-01-25 10:30:20 -0800 | [diff] [blame] | 161 | // Checks that the dex file does not add/remove methods, or change their modifiers or types. |
| 162 | bool CheckSameMethods() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 163 | |
Alex Light | 6161f13 | 2017-01-25 10:30:20 -0800 | [diff] [blame] | 164 | // Checks that the dex file does not modify fields types or modifiers. |
| 165 | bool CheckSameFields() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 166 | |
| 167 | void UpdateJavaDexFile(art::ObjPtr<art::mirror::Object> java_dex_file, |
| 168 | art::ObjPtr<art::mirror::LongArray> new_cookie) |
| 169 | REQUIRES(art::Locks::mutator_lock_); |
| 170 | |
| 171 | void UpdateFields(art::ObjPtr<art::mirror::Class> mclass) |
| 172 | REQUIRES(art::Locks::mutator_lock_); |
| 173 | |
| 174 | void UpdateMethods(art::ObjPtr<art::mirror::Class> mclass, |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 175 | const art::DexFile::ClassDef& class_def) |
| 176 | REQUIRES(art::Locks::mutator_lock_); |
| 177 | |
| 178 | void UpdateClass(art::ObjPtr<art::mirror::Class> mclass, |
Alex Light | a7e38d8 | 2017-01-19 14:57:28 -0800 | [diff] [blame] | 179 | art::ObjPtr<art::mirror::DexCache> new_dex_cache, |
Alex Light | 2f814aa | 2017-03-24 15:21:34 +0000 | [diff] [blame] | 180 | art::ObjPtr<art::mirror::Object> original_dex_file) |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 181 | REQUIRES(art::Locks::mutator_lock_); |
| 182 | |
Alex Light | 1e3926a | 2017-04-07 10:38:06 -0700 | [diff] [blame] | 183 | void RestoreObsoleteMethodMapsIfUnneeded(const RedefinitionDataIter* cur_data) |
| 184 | REQUIRES(art::Locks::mutator_lock_); |
| 185 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 186 | void ReleaseDexFile() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 187 | |
Alex Light | 5643caf | 2017-02-08 11:39:07 -0800 | [diff] [blame] | 188 | void UnregisterBreakpoints() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | a26e349 | 2017-06-27 17:55:37 -0700 | [diff] [blame] | 189 | // This should be done with all threads suspended. |
Alex Light | e34fe44 | 2018-02-21 17:35:55 -0800 | [diff] [blame] | 190 | void UnregisterJvmtiBreakpoints() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 5643caf | 2017-02-08 11:39:07 -0800 | [diff] [blame] | 191 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 192 | private: |
| 193 | Redefiner* driver_; |
| 194 | jclass klass_; |
| 195 | std::unique_ptr<const art::DexFile> dex_file_; |
| 196 | std::string class_sig_; |
Vladimir Marko | e1993c7 | 2017-06-14 17:01:38 +0100 | [diff] [blame] | 197 | art::ArrayRef<const unsigned char> original_dex_file_; |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 198 | }; |
| 199 | |
Alex Light | a26e349 | 2017-06-27 17:55:37 -0700 | [diff] [blame] | 200 | ArtJvmTiEnv* env_; |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 201 | jvmtiError result_; |
| 202 | art::Runtime* runtime_; |
| 203 | art::Thread* self_; |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 204 | std::vector<ClassRedefinition> redefinitions_; |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 205 | // Kept as a jclass since we have weird run-state changes that make keeping it around as a |
| 206 | // mirror::Class difficult and confusing. |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 207 | std::string* error_msg_; |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 208 | |
Alex Light | a26e349 | 2017-06-27 17:55:37 -0700 | [diff] [blame] | 209 | Redefiner(ArtJvmTiEnv* env, |
| 210 | art::Runtime* runtime, |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 211 | art::Thread* self, |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 212 | std::string* error_msg) |
Alex Light | a26e349 | 2017-06-27 17:55:37 -0700 | [diff] [blame] | 213 | : env_(env), |
| 214 | result_(ERR(INTERNAL)), |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 215 | runtime_(runtime), |
| 216 | self_(self), |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 217 | redefinitions_(), |
| 218 | error_msg_(error_msg) { } |
| 219 | |
Alex Light | 6ac5750 | 2017-01-19 15:05:06 -0800 | [diff] [blame] | 220 | jvmtiError AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 221 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 222 | |
Alex Light | e4a8863 | 2017-01-10 07:41:24 -0800 | [diff] [blame] | 223 | static jvmtiError GetClassRedefinitionError(art::Handle<art::mirror::Class> klass, |
| 224 | /*out*/std::string* error_msg) |
| 225 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 226 | |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 227 | jvmtiError Run() REQUIRES_SHARED(art::Locks::mutator_lock_); |
| 228 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 229 | bool CheckAllRedefinitionAreValid() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | c5f5a6e | 2017-03-01 16:57:08 -0800 | [diff] [blame] | 230 | bool CheckAllClassesAreVerified(RedefinitionDataHolder& holder) |
Alex Light | 8c889d2 | 2017-02-06 13:58:27 -0800 | [diff] [blame] | 231 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 1e3926a | 2017-04-07 10:38:06 -0700 | [diff] [blame] | 232 | bool EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) |
| 233 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 234 | bool FinishAllRemainingAllocations(RedefinitionDataHolder& holder) |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 235 | REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 236 | void ReleaseAllDexFiles() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 5643caf | 2017-02-08 11:39:07 -0800 | [diff] [blame] | 237 | void UnregisterAllBreakpoints() REQUIRES_SHARED(art::Locks::mutator_lock_); |
Alex Light | 1e3926a | 2017-04-07 10:38:06 -0700 | [diff] [blame] | 238 | // Restores the old obsolete methods maps if it turns out they weren't needed (ie there were no |
| 239 | // new obsolete methods). |
| 240 | void RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder) |
| 241 | REQUIRES(art::Locks::mutator_lock_); |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 242 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 243 | void RecordFailure(jvmtiError result, const std::string& class_sig, const std::string& error_msg); |
| 244 | void RecordFailure(jvmtiError result, const std::string& error_msg) { |
| 245 | RecordFailure(result, "NO CLASS", error_msg); |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 246 | } |
| 247 | |
Alex Light | 0e69273 | 2017-01-10 15:00:05 -0800 | [diff] [blame] | 248 | friend struct CallbackCtx; |
Alex Light | c5f5a6e | 2017-03-01 16:57:08 -0800 | [diff] [blame] | 249 | friend class RedefinitionDataHolder; |
| 250 | friend class RedefinitionDataIter; |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | } // namespace openjdkjvmti |
| 254 | |
Andreas Gampe | 06c42a5 | 2017-07-26 14:17:14 -0700 | [diff] [blame] | 255 | #endif // ART_OPENJDKJVMTI_TI_REDEFINE_H_ |