V8 Project
v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitSharedFunctionInfo > Class Reference
+ Collaboration diagram for v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitSharedFunctionInfo >:

Static Public Member Functions

static void Visit (Map *map, HeapObject *obj)
 

Detailed Description

Definition at line 1627 of file mark-compact.cc.

Member Function Documentation

◆ Visit()

static void v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitSharedFunctionInfo >::Visit ( Map map,
HeapObject obj 
)
inlinestatic

Definition at line 1630 of file mark-compact.cc.

1630  {
1631  Heap* heap = map->GetHeap();
1632  SharedFunctionInfo* sfi = SharedFunctionInfo::cast(obj);
1633  if (sfi->scope_info() != heap->empty_fixed_array()) {
1634  heap->RecordFixedArraySubTypeStats(
1635  SCOPE_INFO_SUB_TYPE, FixedArray::cast(sfi->scope_info())->Size());
1636  }
1637  ObjectStatsVisitBase(kVisitSharedFunctionInfo, map, obj);
1638  }
static void ObjectStatsVisitBase(StaticVisitorBase::VisitorId id, Map *map, HeapObject *obj)
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf map

References map, v8::internal::MarkCompactMarkingVisitor::ObjectStatsVisitBase(), and v8::internal::Heap::RecordFixedArraySubTypeStats().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: