资源描述:
《p143-printezis》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、AGenerationalIViosUy-concurrentGarbageCollectorTonyPnntezisDavidDetlefsDepartmentofComputingScienceSunMicrosystemsLaboratoriesUniversityofGlasgow1NetworkDrive17LilybankGardens,Burlington,MA01803-0902GlasgowG128RZ,ScotlandUSAtony@dcs.gla.ac.ukdavid.detlefs@sun
2、.comABSTRACTnatedtheseconcerns,sincetheyaxetypicallyoffsetbycor-Thispaperreportsourexperienceswithamostly-concurrentrespondingincreasesinmemoryrequirements.incrementalgarbagecollector,implementedinthecontextGenerationalgarbagecollectiontechniques[21,26]canofa
3、highperformancevirtualmachinefortheJavaTMpro-addressbothperformanceconcerns.Theysplittheheapintogramminglanguage.Thegarbagecollectorisbasedonthegenerationsaccordingtoobjectage.Concentratingcollec-"mostlyparallel"collectionalgorithmofBoehmetal.andtionactivityo
4、nthe"young"generationincreasesthrough-canbeusedastheoldgenerationofagenerationalmem-put,because(inmostprograms)youngobjectsaremore....orysystem.Itoverloadsefficientwrite-barriercodealreadylikelytobegarbage,somorefreespaceisrecoveredperunitofcollectionwork.Sin
5、cetheyounggenerationistypicallygeneratedtosupportgenerationalgarbagecollectiontoalsosmallrelativetothetotalheapsize,young-generationcol-identifyobjectsthatweremodifiedduringconcurrentmark-lectionsareusuallybrief,addressingthelatencyconcern.ing.Theseobjectsmus
6、tberescannedtoensurethattheHowever,objectsthatsurviveasufficientlylargenumberofconcurrentmarkingphasemarksallliveobjects.Thisalgo-young-generationcollectionsareconsideredlong-lived,andrithmminimisesmaximumgarbagecollectionpausetimes,axe"promoted"intoanolderge
7、neration.Eventhoughthewhilehavingonlyasmallimpactontheaveragegarbagecol-oldergenerationistypicallylarger,itwilleventuallybefilledlectionpausetimeandoverallexecutiontime.Wesupportandrequirecollection.Old-generationcollectionhaslatencyourclaimswithexperimentalr
8、esults,forbothasyntheticandthroughputsimilartofull-heapcollection;thus,gembenchmarkandrealprograms.erationaltechniquesonlypostpone,butdonotsolve,theproblem.1.INTRODUCTIONInthispaperwepres