Author: Whiteknight Date: Thu Jun 12 12:34:51 2008 New Revision: 28280 Modified: trunk/docs/pdds/pdd09_gc.pod
Changes in other areas also in this revision: Modified: trunk/compilers/imcc/main.c trunk/compilers/imcc/parser_util.c trunk/docs/book/ch02_getting_started.pod trunk/include/parrot/dod.h trunk/include/parrot/oo.h trunk/include/parrot/resources.h trunk/languages/dotnet/pmc/dotnetassembly.pmc trunk/languages/lua/src/pmc/lua.pmc trunk/languages/lua/src/pmc/luatable.pmc trunk/src/dynext.c trunk/src/exit.c trunk/src/gc/dod.c trunk/src/gc/gc_gms.c trunk/src/gc/gc_ims.c trunk/src/gc/resources.c trunk/src/gc/smallobject.c trunk/src/global.c trunk/src/hash.c trunk/src/inter_create.c trunk/src/io/io.c trunk/src/list.c trunk/src/ops/core.ops trunk/src/packfile.c trunk/src/pbc_merge.c trunk/src/pdb.c trunk/src/pmc.c trunk/src/pmc/continuation.pmc trunk/src/pmc/default.pmc trunk/src/pmc/eval.pmc trunk/src/pmc/fixedpmcarray.pmc trunk/src/pmc/fixedstringarray.pmc trunk/src/pmc/parrotinterpreter.pmc trunk/src/pmc/parrotthread.pmc trunk/src/pmc/ref.pmc trunk/src/pmc/resizablepmcarray.pmc trunk/src/pmc/resizablestringarray.pmc trunk/src/pmc/sarray.pmc trunk/src/pmc/tqueue.pmc trunk/src/pmc_freeze.c trunk/src/stm/backend.c trunk/src/string.c trunk/src/sub.c trunk/src/thread.c trunk/t/src/extend.t Log: [pdd09] updating function and macro names to satisfy pdd09 deprecation notes. rt#55364 Modified: trunk/docs/pdds/pdd09_gc.pod ============================================================================== --- trunk/docs/pdds/pdd09_gc.pod (original) +++ trunk/docs/pdds/pdd09_gc.pod Thu Jun 12 12:34:51 2008 @@ -194,8 +194,6 @@ =item PMC register stack -=item General/User stack - =back =head2 Incremental Marking @@ -230,8 +228,6 @@ =item String register set stack -=item General/User stack - =item Control stack =back @@ -367,8 +363,6 @@ start/continue a partial mark phase, rather than marking the entire tree of live objects. -{{DEPRECATION NOTE: do_gc_mark used to be do_dod_run.}}. - Flags is one of: =over 4 @@ -385,9 +379,6 @@ if no objects are currently marked live, the implementation should run the mark phase, so that copying of dead objects is avoided. -{{DEPRECATION NOTE: GC_trace_normal used to be DOD_trace_normal. -GC_trace_stack_FLAG used to be DOD_trace_stack_FLAG.}} - =item GC_lazy_FLAG Do a timely destruction run. The goal is either to detect all objects that @@ -395,32 +386,22 @@ collection can be interrupted or postponed. This is called from the Parrot run-loop. No system areas have to be traced. -{{DEPRECATION NOTE: GC_lazy_FLAG used to be DOD_lazy_FLAG.}} - =item GC_finish_FLAG Called during interpreter destruction. The GC subsystem must clear the live state of all objects and perform a sweep in the PMC header pool, so that destructors and finalizers get called. -{{DEPRECATION NOTE: GC_finish_FLAG used to be DOD_finish_FLAG.}} - =item GC_no_trace_volatile_roots Trace root set except volatile roots. That is skip e.g. registers. -{{DEPRECATION NOTE: GC_no_trace_volatile_roots used to be -DOD_no_trace_volatile_roots.}} - =back =item C<void (*finalize_gc_system) (Interp *)> Called during interpreter destruction. Free used resources and memory pools. -{{DEPRECATION NOTE: finalize_gc_system used to be -de_init_gc_system.}} - =item C<void (*init_pool) (Interp *, Small_Object_Pool *)> A function to initialize the given pool. This function should set the @@ -470,16 +451,12 @@ This macro is invoked when in aggregate C<agg> the element C<old> is getting overritten by C<new>. Both C<old> and C<new> may be NULL. -{{DEPRECATION NOTE: used to be DOD_WRITE_BARRIER.}} - =item C<GC_WRITE_BARRIER_KEY(Interp *, PMC *agg, PMC *old, PObj *old_key, PMC *new, PObj *new_key)> Like above. Invoked when a hash key is inserted, possibly replacing an old key. -{{DEPRECATION NOTE: used to be DOD_WRITE_BARRIER_KEY.}} - =back =head2 Blocking GC @@ -494,27 +471,27 @@ Block the GC mark phase for the passed interpreter. (But not the sweep phase) -{{DEPRECATION NOTE: used to be Parrot_block_DOD.}} - =item Parrot_block_GC_sweep(Interp *interpreter) Block the GC sweep phase for the passed interpreter. (But not the mark phase) -{{DEPRECATION NOTE: used to be Parrot_block_GC.}} - =item Parrot_unblock_GC_mark(Interp *interpreter) Unblock the GC mark phase for the passed interpreter. (But not the sweep phase) -{{DEPRECATION NOTE: used to be Parrot_unblock_DOD.}} - =item Parrot_unblock_GC_sweep(Interp *interpreter) Unblock the GC sweep phase for the passed interpreter. (But not the mark phase) -{{DEPRECATION NOTE: used to be Parrot_unblock_GC.}} +=item Parrot_is_blocked_GC_mark(Interp *interpreter) + +Test whether the mark phase has been blocked. + +=item Parrot_is_blocked_GC_sweep(Interp *interpreter) + +Test whether the sweep phase has been blocked. =back