Home
last modified time | relevance | path

Searched refs:Deallocate (Results 1 – 25 of 53) sorted by relevance

123

/art/test/918-fields/
Dfields.cc44 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_getFieldName()
61 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(name)); in Java_art_Test918_getFieldName()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test918_getFieldName()
67 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(gen)); in Java_art_Test918_getFieldName()
76 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_getFieldName()
93 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_getFieldDeclaringClass()
110 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_getFieldModifiers()
127 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_isFieldSynthetic()
/art/test/ti-agent/
Dstack_trace_helper.cc64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
69 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
75 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
85 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
90 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
94 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
Djvmti_helper.h59 jvmtiError ret = env_->Deallocate(ptr); in operator()
75 static inline jvmtiError Deallocate(jvmtiEnv* env, T* mem) { in Deallocate() function
76 return env->Deallocate(reinterpret_cast<unsigned char*>(mem)); in Deallocate()
Dlocals_helper.cc31 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars[i].name)); in DeallocateContents()
32 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars[i].signature)); in DeallocateContents()
33 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars[i].generic_signature)); in DeallocateContents()
170 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars)); in Java_art_Locals_GetLocalVariableTable()
193 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars)); in Java_art_Locals_GetLocalVariableTable()
199 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars)); in Java_art_Locals_GetLocalVariableTable()
205 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(vars)); in Java_art_Locals_GetLocalVariableTable()
Dbreakpoint_helper.cc77 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Java_art_Breakpoint_getLineNumberTableNative()
82 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Java_art_Breakpoint_getLineNumberTableNative()
87 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Java_art_Breakpoint_getLineNumberTableNative()
92 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Java_art_Breakpoint_getLineNumberTableNative()
105 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Java_art_Breakpoint_getLineNumberTableNative()
Dcommon_helper.cc112 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fsig)); in GetJavaValue()
113 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fname)); in GetJavaValue()
114 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fgen)); in GetJavaValue()
Djni_binder.cc99 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, name_cstr)); in BindMethod()
100 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, sig_cstr)); in BindMethod()
101 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, klass_name)); in BindMethod()
208 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, info.name)); in GetClass()
249 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, methods)); in BindFunctionsOnClass()
Dmonitors_helper.cc57 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.waiters)); in Java_art_Monitors_getObjectMonitorUsage()
58 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.notify_waiters)); in Java_art_Monitors_getObjectMonitorUsage()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.waiters)); in Java_art_Monitors_getObjectMonitorUsage()
65 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.notify_waiters)); in Java_art_Monitors_getObjectMonitorUsage()
/art/test/922-properties/
Dproperties.cc47 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(data)); in Java_art_Test922_getSystemProperties()
52 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(properties)); in Java_art_Test922_getSystemProperties()
72 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(value)); in Java_art_Test922_getSystemProperty()
/art/test/992-source-data/
Dsource_file.cc48 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(file)); in Java_art_Test992_getSourceFileName()
61 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(ext)); in Java_art_Test992_getSourceDebugExtension()
/art/test/920-objects/
Dobjects.cc39 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test920_getObjectSize()
55 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test920_getObjectHashCode()
/art/test/911-get-stack-trace/
Dstack_trace.cc111 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(name)); in TranslateJvmtiFrameInfoArray()
114 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in TranslateJvmtiFrameInfoArray()
117 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(gen)); in TranslateJvmtiFrameInfoArray()
120 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(line_number_table)); in TranslateJvmtiFrameInfoArray()
167 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(stack_infos)); in Java_art_AllTraces_getAllStackTraces()
203 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(stack_infos)); in Java_art_ThreadListTraces_getThreadListStackTraces()
/art/test/925-threadgroups/
Dthreadgroups.cc52 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(groups)); in Java_art_Test925_getTopThreadGroups()
122 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(threads)); in Java_art_Test925_getThreadGroupChildren()
123 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(groups)); in Java_art_Test925_getThreadGroupChildren()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc87 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(info_.name)); in ~ScopedThreadInfo()
116 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(name_)); in ~ScopedClassInfo()
117 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(generic_)); in ~ScopedClassInfo()
118 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
119 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(debug_ext_)); in ~ScopedClassInfo()
188 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(name_)); in ~ScopedMethodInfo()
189 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(signature_)); in ~ScopedMethodInfo()
190 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(generic_)); in ~ScopedMethodInfo()
205 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Init()
/art/test/907-get-loaded-classes/
Dget_loaded_classes.cc52 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test907_getLoadedClasses()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes)); in Java_art_Test907_getLoadedClasses()
/art/test/ti-stress/
Dstress.cc104 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(ptr)); in DoExtractClassFromData()
137 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(info_.name)); in ~ScopedThreadInfo()
165 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(name_)); in ~ScopedClassInfo()
166 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
167 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(debug_ext_)); in ~ScopedClassInfo()
229 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(name_)); in ~ScopedMethodInfo()
230 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(signature_)); in ~ScopedMethodInfo()
245 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(lines)); in Init()
298 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(name_)); in ~ScopedFieldInfo()
299 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(type_)); in ~ScopedFieldInfo()
[all …]
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc137 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_name))); in DataDumpRequestCb()
138 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_sig))); in DataDumpRequestCb()
139 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(class_name))); in DataDumpRequestCb()
166 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(args))); in VMInitCb()
/art/test/910-methods/
Dmethods.cc58 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(name)); in Java_art_Test910_getMethodName()
61 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test910_getMethodName()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(gen)); in Java_art_Test910_getMethodName()
/art/test/924-threads/
Dthreads.cc75 JvmtiErrorToException(env, jvmti_env, jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(s))); in Java_art_Test924_nativeLoop()
128 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(info.name)); in Java_art_Test924_getThreadInfo()
164 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(threads)); in Java_art_Test924_getAllThreads()
208 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(info.name)); in ThreadEvent()
/art/openjdkjvmti/
Dti_allocator.h49 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem);
Dti_allocator.cc83 jvmtiError AllocUtil::Deallocate(jvmtiEnv* env ATTRIBUTE_UNUSED, unsigned char* mem) { in Deallocate() function in openjdkjvmti::AllocUtil
/art/test/912-classes/
Dclasses_art.cc120 CheckJvmtiError(jvmti_env, jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig))); in Java_art_Test912Art_isLoadedClass()
123 CheckJvmtiError(jvmti_env, jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes))); in Java_art_Test912Art_isLoadedClass()
Dclasses.cc67 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test912_getClassSignature()
70 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(gen)); in Java_art_Test912_getClassSignature()
120 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(fields)); in Java_art_Test912_getClassFields()
145 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(methods)); in Java_art_Test912_getClassMethods()
164 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes)); in Java_art_Test912_getImplementedInterfaces()
199 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes)); in Java_art_Test912_getClassLoaderClasses()
235 jenv->Deallocate(reinterpret_cast<unsigned char*>(name)); in GetClassName()
356 jenv->Deallocate(reinterpret_cast<unsigned char*>(info.name)); in GetThreadName()
/art/test/931-agent-thread/
Dagent_thread.cc61 CheckJvmtiError(jenv, jenv->Deallocate(reinterpret_cast<unsigned char*>(info.name))); in AgentMain()
117 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(cur_thread_info.name))); in Java_art_Test931_testAgentThread()
/art/test/1900-track-alloc/
Dalloc.cc35 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(t)); in Dealloc()
50 reinterpret_cast<jvmtiEnv*>(jvmti_env_ptr)->Deallocate( in Java_art_Test1900_doDeallocate()

123