資源描述:
《Garbage-First Garbage Collection》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、Garbage-FirstGarbageCollectionDavidDetlefs,ChristineFlood,SteveHeller,TonyPrintezisSunMicrosystems,Inc.1NetworkDrive,Burlington,MA01803,USAfdavid.detlefs,christine.?ood,steve.heller,tony.printezisg@sun.comABSTRACTanyymstimeslice.Bymakingthisgoalexplicit,thecollec-torcantrytokeepcollect
2、ionpausesassmallandinfrequentGarbage-Firstisaserver-stylegarbagecollector,targetedasnecessaryfortheapplication,butnotsolowastodecreaseformulti-processorswithlargememories,thatmeetsasoftthroughputorincreasefootprintunnecessarily.Thispaperreal-timegoalwithhighprobability,whileachievinghi
3、ghdescribestheGarbage-Firstcollectionalgorithm,whichat-throughput.Whole-heapoperations,suchasglobalmark-temptstosatisfysuchasoftreal-timegoalwhilemaintain-ing,areperformedconcurrentlywithmutation,topreventinghighthroughputforprogramswithlargeheapsandhighinterruptionsproportionaltoheapo
4、rlive-datasize.Concur-allocationrates,runningonlargemulti-processormachines.rentmarkingbothprovidescollection"completeness"andTheGarbage-Firstcollectorachievesthesegoalsviasev-identiesregionsripeforreclamationviacompactingevac-eraltechniques.Theheapispartitionedintoasetofequal-uation.
5、Thisevacuationisperformedinparallelonmulti-sizedheapregions,muchlikethetraincarsoftheMature-processors,toincreasethroughput.ObjectSpacecollectorofHudsonandMoss[22].However,CategoriesandSubjectDescriptors:whereastherememberedsetsoftheMature-ObjectSpaceD.3.4[ProgrammingLanguages]:Process
6、ors
7、Memorycollectorareunidirectional,recordingpointersfromoldermanagement(garbagecollection)regionstoyoungerbutnotviceversa,Garbage-Firstremem-GeneralTerms:Languages,Management,Measurement,beredsetsrecordpointersfromallregions(withsomeexcep-Performancetions,describedinsections2.4and4.6
8、).Recordingallref-Keywords:concurrentgarbragecollection,garbagecollec-erencesallowsanarbitrarysetofheapregionstobechosention,garbage-rstgarbagecollection,parallelgarbagecol-forcollection.Aconcurrentthreadprocesseslogrecordscre-lection,softreal-timegarbagecollectionatedbyspecialmutat