|
V8 Project
|
#include <frames.h>
Collaboration diagram for v8::internal::InnerPointerToCodeCache:Classes | |
| struct | InnerPointerToCodeCacheEntry |
Public Member Functions | |
| InnerPointerToCodeCache (Isolate *isolate) | |
| Code * | GcSafeFindCodeForInnerPointer (Address inner_pointer) |
| Code * | GcSafeCastToCode (HeapObject *object, Address inner_pointer) |
| void | Flush () |
| InnerPointerToCodeCacheEntry * | GetCacheEntry (Address inner_pointer) |
Private Member Functions | |
| InnerPointerToCodeCacheEntry * | cache (int index) |
| DISALLOW_COPY_AND_ASSIGN (InnerPointerToCodeCache) | |
Private Attributes | |
| Isolate * | isolate_ |
| InnerPointerToCodeCacheEntry | cache_ [kInnerPointerToCodeCacheSize] |
Static Private Attributes | |
| static const int | kInnerPointerToCodeCacheSize = 1024 |
|
inlineexplicit |
|
inlineprivate |
Definition at line 58 of file frames.h.
References cache_.
Referenced by GetCacheEntry().
Here is the caller graph for this function:
|
private |
|
inline |
Definition at line 51 of file frames.h.
References cache_.
Referenced by v8::internal::MarkCompactCollector::EvacuateNewSpaceAndCandidates(), and InnerPointerToCodeCache().
Here is the caller graph for this function:| Code * v8::internal::InnerPointerToCodeCache::GcSafeCastToCode | ( | HeapObject * | object, |
| Address | inner_pointer | ||
| ) |
Definition at line 1460 of file frames.cc.
Referenced by GcSafeFindCodeForInnerPointer().
Here is the caller graph for this function:| Code * v8::internal::InnerPointerToCodeCache::GcSafeFindCodeForInnerPointer | ( | Address | inner_pointer | ) |
Definition at line 1468 of file frames.cc.
References v8::internal::Heap::code_space(), v8::internal::LargeObjectSpace::FindPage(), v8::internal::MemoryChunk::FromAddress(), v8::internal::HeapObject::FromAddress(), GcSafeCastToCode(), v8::internal::GcSafeSizeOfCodeSpaceObject(), v8::internal::LargePage::GetObject(), v8::internal::Isolate::heap(), isolate_, v8::internal::PagedSpace::limit(), v8::internal::Heap::lo_space(), NULL, v8::internal::MemoryChunk::skip_list(), v8::internal::SkipList::StartFor(), and v8::internal::PagedSpace::top().
Referenced by v8::internal::Isolate::FindCodeObject(), GetCacheEntry(), v8::internal::MarkCompactCollector::RecordCodeTargetPatch(), and v8::internal::IncrementalMarking::RecordCodeTargetPatch().
Here is the call graph for this function:
Here is the caller graph for this function:| InnerPointerToCodeCache::InnerPointerToCodeCacheEntry * v8::internal::InnerPointerToCodeCache::GetCacheEntry | ( | Address | inner_pointer | ) |
Definition at line 1502 of file frames.cc.
References cache(), v8::internal::ComputeIntegerHash(), v8::internal::Isolate::counters(), DCHECK, GcSafeFindCodeForInnerPointer(), isolate_, v8::base::bits::IsPowerOfTwo32(), kInnerPointerToCodeCacheSize, and v8::internal::kZeroHashSeed.
Referenced by v8::internal::IC::OnTypeFeedbackChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
Definition at line 60 of file frames.h.
Referenced by GcSafeFindCodeForInnerPointer(), and GetCacheEntry().
|
staticprivate |
Definition at line 62 of file frames.h.
Referenced by GetCacheEntry().