Searched refs:gcHeap (Results 1 – 8 of 8) sorted by relevance
83 GcHeap *gcHeap; in dvmHeapStartup() local89 gcHeap = dvmHeapSourceStartup(gDvm.heapStartingSize, in dvmHeapStartup()92 if (gcHeap == NULL) { in dvmHeapStartup()95 gcHeap->ddmHpifWhen = 0; in dvmHeapStartup()96 gcHeap->ddmHpsgWhen = 0; in dvmHeapStartup()97 gcHeap->ddmHpsgWhat = 0; in dvmHeapStartup()98 gcHeap->ddmNhsgWhen = 0; in dvmHeapStartup()99 gcHeap->ddmNhsgWhat = 0; in dvmHeapStartup()100 gDvm.gcHeap = gcHeap; in dvmHeapStartup()104 gcHeap->clearedReferences = NULL; in dvmHeapStartup()[all …]
56 GcHeap *gcHeap = gDvm.gcHeap; in dvmCardTableStartup() local59 assert(gcHeap != NULL); in dvmCardTableStartup()72 gcHeap->cardTableBase = (u1*)allocBase; in dvmCardTableStartup()73 gcHeap->cardTableLength = growthLimit / GC_CARD_SIZE; in dvmCardTableStartup()74 gcHeap->cardTableMaxLength = length; in dvmCardTableStartup()78 gcHeap->cardTableOffset = offset + (offset < 0 ? 0x100 : 0); in dvmCardTableStartup()79 biasedBase += gcHeap->cardTableOffset; in dvmCardTableStartup()92 munmap(gDvm.gcHeap->cardTableBase, gDvm.gcHeap->cardTableLength); in dvmCardTableShutdown()134 assert(gDvm.gcHeap->cardTableBase != NULL); in dvmClearCardTable()138 madvise(gDvm.gcHeap->cardTableBase, gDvm.gcHeap->cardTableLength, MADV_DONTNEED); in dvmClearCardTable()[all …]
71 if (reason == gDvm.gcHeap->ddmHpifWhen) { in dvmDdmSendHeapInfo()76 if (reason == gDvm.gcHeap->ddmHpifWhen) { in dvmDdmSendHeapInfo()77 if (gDvm.gcHeap->ddmHpifWhen == HPIF_WHEN_NEXT_GC) { in dvmDdmSendHeapInfo()78 gDvm.gcHeap->ddmHpifWhen = HPIF_WHEN_NEVER; in dvmDdmSendHeapInfo()136 gDvm.gcHeap->ddmHpifWhen = when; in dvmDdmHandleHpifChunk()433 GcHeap *gcHeap = gDvm.gcHeap; in dvmDdmSendHeapSegments() local440 when = gcHeap->ddmHpsgWhen; in dvmDdmSendHeapSegments()441 what = gcHeap->ddmHpsgWhat; in dvmDdmSendHeapSegments()446 when = gcHeap->ddmNhsgWhen; in dvmDdmSendHeapSegments()447 what = gcHeap->ddmNhsgWhat; in dvmDdmSendHeapSegments()[all …]
442 GcHeap* gcHeap; in dvmHeapSourceStartup() local490 gcHeap = calloc(1, sizeof(*gcHeap)); in dvmHeapSourceStartup()491 assert(gcHeap != NULL); in dvmHeapSourceStartup()492 gcHeap->heapSource = heapSource; in dvmHeapSourceStartup()494 return gcHeap; in dvmHeapSourceStartup()513 void dvmHeapSourceShutdown(GcHeap **gcHeap) in dvmHeapSourceShutdown() argument515 if (*gcHeap == NULL || (*gcHeap)->heapSource == NULL) in dvmHeapSourceShutdown()517 free((*gcHeap)->heapSource->blockQueue); in dvmHeapSourceShutdown()518 free((*gcHeap)->heapSource->blockSpace); in dvmHeapSourceShutdown()519 virtualFree((*gcHeap)->heapSource->blockBase, in dvmHeapSourceShutdown()[all …]
91 GcMarkContext *ctx = &gDvm.gcHeap->markContext; in dvmHeapBeginMarkStep()183 GcHeap *gcHeap = gDvm.gcHeap; in dvmHeapMarkRootSet() local184 dvmMarkImmuneObjects(gcHeap->markContext.immuneLimit); in dvmHeapMarkRootSet()185 dvmVisitRoots(rootMarkObjectVisitor, &gcHeap->markContext); in dvmHeapMarkRootSet()209 GcMarkContext *ctx = &gDvm.gcHeap->markContext; in dvmHeapReMarkRootSet()414 GcHeap *gcHeap = gDvm.gcHeap; in delayReferenceReferent() local422 list = &gcHeap->softReferences; in delayReferenceReferent()424 list = &gcHeap->weakReferences; in delayReferenceReferent()426 list = &gcHeap->finalizerReferences; in delayReferenceReferent()428 list = &gcHeap->phantomReferences; in delayReferenceReferent()[all …]
57 assert(gDvm.gcHeap != NULL); \58 assert(gDvm.gcHeap->heapSource != NULL); \59 assert(gHs == gDvm.gcHeap->heapSource); \285 HeapSource* hs = gDvm.gcHeap->heapSource; in countAllocation()300 HeapSource* hs = gDvm.gcHeap->heapSource; in countFree()517 if (!gDvm.gcHeap->gcRunning) { in gcDaemonThread()595 GcHeap *gcHeap; in dvmHeapSourceStartup() local627 gcHeap = (GcHeap *)calloc(1, sizeof(*gcHeap)); in dvmHeapSourceStartup()628 if (gcHeap == NULL) { in dvmHeapSourceStartup()636 free(gcHeap); in dvmHeapSourceStartup()[all …]
70 void dvmHeapSourceShutdown(GcHeap **gcHeap);
557 GcHeap* gcHeap; member