Home
last modified time | relevance | path

Searched refs:GetCommittedSize (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dgc_stats.cpp115 << STATS_DATA_FORMAT(sizeToKB(heap_->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
119 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetNewSpace()->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
123 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetOldSpace()->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
127 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetHugeObjectSpace()->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
131 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetNonMovableSpace()->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
135 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetMachineCodeSpace()->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
139 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetSnapshotSpace()->GetCommittedSize())) << "KB\n" in PrintGCMemoryStatistic()
143 … << STATS_DATA_FORMAT(sizeToKB(heap_->GetAppSpawnSpace()->GetCommittedSize())) << "KB"; in PrintGCMemoryStatistic()
377 SetRecordData(RecordData::START_COMMIT_SIZE, heap_->GetCommittedSize()); in RecordStatisticBeforeGC()
385 size_t semiCommitSize = heap_->GetNewSpace()->GetCommittedSize(); in RecordStatisticBeforeGC()
[all …]
Dheap-inl.h367 size_t Heap::GetCommittedSize() const in GetCommittedSize() function
369 size_t result = activeSemiSpace_->GetCommittedSize() + in GetCommittedSize()
370 oldSpace_->GetCommittedSize() + in GetCommittedSize()
371 hugeObjectSpace_->GetCommittedSize() + in GetCommittedSize()
372 nonMovableSpace_->GetCommittedSize() + in GetCommittedSize()
373 machineCodeSpace_->GetCommittedSize() + in GetCommittedSize()
374 snapshotSpace_->GetCommittedSize(); in GetCommittedSize()
384 machineCodeSpace_->GetCommittedSize() + in GetHeapObjectSize()
Dfull_gc.cpp72 youngSpaceCommitSize_ = heap_->GetNewSpace()->GetCommittedSize(); in Initialize()
79 oldSpaceCommitSize_ = heap_->GetOldSpace()->GetCommittedSize(); in Initialize()
80 nonMoveSpaceCommitSize_ = heap_->GetNonMovableSpace()->GetCommittedSize(); in Initialize()
Dheap.cpp334 if (!OldSpaceExceedLimit() && !OldSpaceExceedCapacity(activeSemiSpace_->GetCommittedSize()) && in SelectGCType()
434 << " global committed size " << GetCommittedSize() in CollectGarbage()
625 auto committedSize = appSpawnSpace_->GetCommittedSize(); in AdjustSpaceSizeForAppSpawn()
684 …Space_->GetHeapObjectSize() * 1.0 / SHRINK_OBJECT_SURVIVAL_RATE) < oldSpace_->GetCommittedSize() && in RecomputeLimits()
685 (oldSpace_->GetCommittedSize() / 2) > newOldSpaceLimit) { // 2: means half in RecomputeLimits()
688 << " Committed Size: " << oldSpace_->GetCommittedSize(); in RecomputeLimits()
741 …(activeSemiSpace_->GetInitialCapacity() - activeSemiSpace_->GetCommittedSize()) / newSpaceAllocSpe… in TryTriggerIdleCollection()
885 if (activeSemiSpace_->GetCommittedSize() >= config.GetSemiSpaceTriggerConcurrentMark()) { in TryTriggerConcurrentMarking()
892 …ToLimitDuration = (activeSemiSpace_->GetInitialCapacity() - activeSemiSpace_->GetCommittedSize()) / in TryTriggerConcurrentMarking()
1228 … << nonMovableSpace_->GetHeapObjectSize() << "/" << nonMovableSpace_->GetCommittedSize() in PrintHeapInfo()
[all …]
Dpartial_gc.cpp80 oldSpaceCommitSize_ = heap_->GetOldSpace()->GetCommittedSize(); in Initialize()
81 nonMoveSpaceCommitSize_ = heap_->GetNonMovableSpace()->GetCommittedSize(); in Initialize()
Dheap.h359 inline size_t GetCommittedSize() const;
448 … size_t totalSize = oldSpace_->GetCommittedSize() + hugeObjectSpace_->GetCommittedSize() + size; in OldSpaceExceedCapacity()
Dspace.h106 size_t GetCommittedSize() const in GetCommittedSize() function
Dstw_young_gc.cpp59 commitSize_ = heap_->GetNewSpace()->GetCommittedSize(); in Initialize()
Dsparse_space.cpp409 size_t hugeSpaceCommitSize = heap_->GetHugeObjectSpace()->GetCommittedSize(); in Merge()
457 …int64_t expectFreeSize = static_cast<int64_t>(heap_->GetCommittedSize() - heap_->GetHeapAliveSizeA… in SelectCSet()
/arkcompiler/ets_runtime/ecmascript/tests/
Dgc_test.cpp329 size_t originalHeapSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize(); in HWTEST_F_L0()
337 newSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize(); in HWTEST_F_L0()
345 ASSERT_TRUE(thread->GetEcmaVM()->GetHeap()->GetCommittedSize() < newSize); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Ddfx_jsnapi_tests.cpp282 size_t expectHeapTotalSize = heap->GetCommittedSize(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp245 return vm->GetHeap()->GetCommittedSize(); in GetHeapTotalSize()