Home | History | Annotate | Download | only in src

Lines Matching defs:Candidate

514   class Candidate {
516 Candidate() : fragmentation_(0), page_(NULL) { }
517 Candidate(int f, Page* p) : fragmentation_(f), page_(p) { }
555 Candidate candidates[kMaxMaxEvacuationCandidates];
559 Candidate* least = NULL;
611 candidates[count++] = Candidate(fragmentation, p);
622 *least = Candidate(fragmentation, p);
791 JSFunction* candidate = jsfunction_candidates_head_;
793 while (candidate != NULL) {
794 next_candidate = GetNextCandidate(candidate);
796 SharedFunctionInfo* shared = candidate->shared();
802 candidate->set_code(lazy_compile);
804 candidate->set_code(shared->code());
809 Address slot = candidate->address() + JSFunction::kCodeEntryOffset;
816 candidate = next_candidate;
826 SharedFunctionInfo* candidate = shared_function_info_candidates_head_;
828 while (candidate != NULL) {
829 next_candidate = GetNextCandidate(candidate);
830 SetNextCandidate(candidate, NULL);
832 Code* code = candidate->code();
835 candidate->set_code(lazy_compile);
838 RecordSharedFunctionInfoCodeSlot(candidate);
840 candidate = next_candidate;
853 static JSFunction** GetNextCandidateField(JSFunction* candidate) {
855 candidate->address() + JSFunction::kCodeEntryOffset);
858 static JSFunction* GetNextCandidate(JSFunction* candidate) {
859 return *GetNextCandidateField(candidate);
862 static void SetNextCandidate(JSFunction* candidate,
864 *GetNextCandidateField(candidate) = next_candidate;
868 SharedFunctionInfo* candidate) {
869 Code* code = candidate->code();
874 static SharedFunctionInfo* GetNextCandidate(SharedFunctionInfo* candidate) {
876 candidate->code()->gc_metadata());
879 static void SetNextCandidate(SharedFunctionInfo* candidate,
881 candidate->code()->set_gc_metadata(next_candidate);
1336 // Saving a copy might create a pointer into compaction candidate
3352 // code objects from non-updated pc pointing into evacuation candidate.