Lines Matching refs:frames
153 frames.push_back(info); in Run()
165 std::vector<jvmtiFrameInfo> frames; member
170 static jvmtiError TranslateFrameVector(const std::vector<jvmtiFrameInfo>& frames, in TranslateFrameVector() argument
176 size_t collected_frames = frames.size(); in TranslateFrameVector()
188 if (frames.size() > 0) { in TranslateFrameVector()
189 memcpy(frame_buffer, frames.data(), collected_frames * sizeof(jvmtiFrameInfo)); in TranslateFrameVector()
191 *count_ptr = static_cast<jint>(frames.size()); in TranslateFrameVector()
202 &frames.data()[collected_frames + start_depth], in TranslateFrameVector()
298 return TranslateFrameVector(closure.frames, in GetStackTrace()
391 frames.emplace_back(new std::vector<jvmtiFrameInfo>()); in GetAllStackTraces()
392 return frames.back().get(); in GetAllStackTraces()
403 std::vector<std::unique_ptr<std::vector<jvmtiFrameInfo>>> frames; in GetAllStackTraces() member
418 std::unique_ptr<jvmtiStackInfo[]> stack_info_array(new jvmtiStackInfo[data.frames.size()]); in GetAllStackTraces()
420 frame_infos.reserve(data.frames.size()); in GetAllStackTraces()
424 for (size_t index = 0; index < data.frames.size(); ++index) { in GetAllStackTraces()
428 const std::vector<jvmtiFrameInfo>& thread_frames = *data.frames[index].get(); in GetAllStackTraces()
459 size_t rounded_stack_info_size = art::RoundUp(sizeof(jvmtiStackInfo) * data.frames.size(), in GetAllStackTraces()
470 memcpy(stack_info, stack_info_array.get(), sizeof(jvmtiStackInfo) * data.frames.size()); in GetAllStackTraces()
475 for (size_t i = 0; i < data.frames.size(); ++i) { in GetAllStackTraces()
493 *thread_count_ptr = static_cast<jint>(data.frames.size()); in GetAllStackTraces()
535 frames.emplace_back(new std::vector<jvmtiFrameInfo>()); in GetThreadListStackTraces()
536 return frames.back().get(); in GetThreadListStackTraces()
553 std::vector<std::unique_ptr<std::vector<jvmtiFrameInfo>>> frames; in GetThreadListStackTraces() member
577 std::unique_ptr<jvmtiStackInfo[]> stack_info_array(new jvmtiStackInfo[data.frames.size()]); in GetThreadListStackTraces()
579 frame_infos.reserve(data.frames.size()); in GetThreadListStackTraces()
583 for (size_t index = 0; index < data.frames.size(); ++index) { in GetThreadListStackTraces()
588 const std::vector<jvmtiFrameInfo>& thread_frames = *data.frames[index].get(); in GetThreadListStackTraces()