Lines Matching refs:data

206       memcpy(frame_buffer, frames.data(), collected_frames * sizeof(jvmtiFrameInfo));  in TranslateFrameVector()
219 &frames.data()[collected_frames + start_depth], in TranslateFrameVector()
327 : barrier(0), stop_input(stop), data(data_) {} in GetAllStackTracesVectorClosure()
331 REQUIRES(!data->mutex) { in Run()
339 REQUIRES(!data->mutex) { in Work()
345 std::vector<jvmtiFrameInfo>* thread_frames = data->GetFrameStorageFor(self, thread); in Work()
360 Data* data; member
364 static void RunCheckpointAndWait(Data* data, size_t max_frame_count) in RunCheckpointAndWait() argument
367 GetAllStackTracesVectorClosure<Data> closure(max_frame_count, data); in RunCheckpointAndWait()
423 AllStackTracesData data; in GetAllStackTraces() local
427 RunCheckpointAndWait(&data, static_cast<size_t>(max_frame_count)); in GetAllStackTraces()
435 std::unique_ptr<jvmtiStackInfo[]> stack_info_array(new jvmtiStackInfo[data.frames.size()]); in GetAllStackTraces()
437 frame_infos.reserve(data.frames.size()); in GetAllStackTraces()
441 for (size_t index = 0; index < data.frames.size(); ++index) { in GetAllStackTraces()
445 const std::vector<jvmtiFrameInfo>& thread_frames = *data.frames[index].get(); in GetAllStackTraces()
476 size_t rounded_stack_info_size = art::RoundUp(sizeof(jvmtiStackInfo) * data.frames.size(), in GetAllStackTraces()
487 memcpy(stack_info, stack_info_array.get(), sizeof(jvmtiStackInfo) * data.frames.size()); in GetAllStackTraces()
492 for (size_t i = 0; i < data.frames.size(); ++i) { in GetAllStackTraces()
498 static_cast<JNIEnv*>(current->GetJniEnv())->NewLocalRef(data.thread_peers[i]); in GetAllStackTraces()
510 *thread_count_ptr = static_cast<jint>(data.frames.size()); in GetAllStackTraces()
573 SelectStackTracesData data; in GetThreadListStackTraces() local
584 data.handles.push_back(hs.NewHandle(soa.Decode<art::mirror::Object>(thread_list[i]))); in GetThreadListStackTraces()
587 RunCheckpointAndWait(&data, static_cast<size_t>(max_frame_count)); in GetThreadListStackTraces()
594 std::unique_ptr<jvmtiStackInfo[]> stack_info_array(new jvmtiStackInfo[data.frames.size()]); in GetThreadListStackTraces()
596 frame_infos.reserve(data.frames.size()); in GetThreadListStackTraces()
600 for (size_t index = 0; index < data.frames.size(); ++index) { in GetThreadListStackTraces()
604 art::Thread* self = data.threads[index]; in GetThreadListStackTraces()
605 const std::vector<jvmtiFrameInfo>& thread_frames = *data.frames[index].get(); in GetThreadListStackTraces()
656 auto it = std::find(data.thread_list_indices.begin(), data.thread_list_indices.end(), i); in GetThreadListStackTraces()
657 if (it == data.thread_list_indices.end()) { in GetThreadListStackTraces()
674 size_t f_index = it - data.thread_list_indices.begin(); in GetThreadListStackTraces()