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.h134 class JvmtiDeleter {
136 JvmtiDeleter() : env_(nullptr) {} in JvmtiDeleter() function
137 explicit JvmtiDeleter(jvmtiEnv* env) : env_(env) {} in JvmtiDeleter() function
139 JvmtiDeleter(JvmtiDeleter&) = default;
140 JvmtiDeleter(JvmtiDeleter&&) = default;
141 JvmtiDeleter& operator=(const JvmtiDeleter&) = default;
154 class JvmtiDeleter<T[]> {
156 JvmtiDeleter() : env_(nullptr) {} in JvmtiDeleter() function
157 explicit JvmtiDeleter(jvmtiEnv* env) : env_(env) {} in JvmtiDeleter() function
159 JvmtiDeleter(JvmtiDeleter&) = default;
[all …]