Home
last modified time | relevance | path

Searched refs:JvmtiDeleter (Results 1 – 2 of 2) sorted by relevance

/art/test/ti-agent/
Djvmti_helper.h48 class JvmtiDeleter {
50 JvmtiDeleter() : env_(nullptr) {} in JvmtiDeleter() function
51 explicit JvmtiDeleter(jvmtiEnv* env) : env_(env) {} in JvmtiDeleter() function
53 JvmtiDeleter(JvmtiDeleter&) = default;
54 JvmtiDeleter(JvmtiDeleter&&) = default;
55 JvmtiDeleter& operator=(const JvmtiDeleter&) = default;
67 using JvmtiUniquePtr = std::unique_ptr<unsigned char, JvmtiDeleter>;
71 return JvmtiUniquePtr(reinterpret_cast<unsigned char*>(mem), JvmtiDeleter(env)); in MakeJvmtiUniquePtr()
/art/openjdkjvmti/
Dart_jvmti.h138 class JvmtiDeleter {
140 JvmtiDeleter() : env_(nullptr) {} in JvmtiDeleter() function
141 explicit JvmtiDeleter(jvmtiEnv* env) : env_(env) {} in JvmtiDeleter() function
143 JvmtiDeleter(JvmtiDeleter&) = default;
144 JvmtiDeleter(JvmtiDeleter&&) = default;
145 JvmtiDeleter& operator=(const JvmtiDeleter&) = default;
158 class JvmtiDeleter<T[]> {
160 JvmtiDeleter() : env_(nullptr) {} in JvmtiDeleter() function
161 explicit JvmtiDeleter(jvmtiEnv* env) : env_(env) {} in JvmtiDeleter() function
163 JvmtiDeleter(JvmtiDeleter&) = default;
[all …]