harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "gc comparison/gc gen harmony vs parrot" by senakafdo
Date Sat, 12 Apr 2008 13:50:56 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by senakafdo:
http://wiki.apache.org/harmony/gc_comparison/gc_gen_harmony_vs_parrot

------------------------------------------------------------------------------
- This discussion is an attempt to compare the interface between Harmony's GC_Gen and Parrot's
GC
+ This discussion is an attempt to compare the interface between Harmony's GC_Gen and Parrot's
GC. The comparison is further divided into two sections, external and internal, based on Parrot's
perception of GC API.
  
  || '''Title''' || '''Harmony (GC_Gen)''' || '''Parrot''' ||
  || Object Layout || Objects are laid out as chunks || Objects are laid out as, PMCs or Buffers
||
@@ -14, +14 @@

  || Weak-refs || Yes || No (Perhaps in the Future) ||
  
  
+ = External Interface Methods =
- = Comparison of Methods =
- 
  
  == Acquiring/Releasing locks ==
  
@@ -34, +33 @@

  TBD
  
  
- == Marking Objects as Live ==
- 
- Harmony: vm_notify_obj_alive
- 
- Parrot: pobject_lives
- 
- Note: This changes object from White to Grey/Black in Parrot
- 
- 
- == Reclaiming Objects ==
- 
- Harmony: vm_reclaim_native_objs
- 
- Parrot: Parrot_dod_clear_live_bits
- 
- 
  == Freeing Objects ==
  
  Harmony: Explicit Freeing is not supported
@@ -57, +40 @@

  Parrot: Parrot_dod_free_pmc, Parrot_free_pmc_ext, Parrot_dod_free_sysmem, Parrot_dod_free_buffer,
Parrot_dod_free_buffer_malloc
  
  Note: We might not need to address buffers at all.
- 
- 
- == Sweeping Objects ==
- 
- Harmony: Called internally within the GC
- 
- Parrot: Parrot_dod_sweep
- 
- Note: I'm not sure whether Parrot will demand better control over separate Mark/Sweep processes.
  
  
  == Invoking the GC ==
@@ -154, +128 @@

  
  Note: Parrot doesn't have any other explicit way to do this.
  
+ 
+ 
+ = Internal Interface Methods =
+ 
+ 
+ == Marking Objects as Live ==
+ 
+ Harmony: vm_notify_obj_alive
+ 
+ Parrot: pobject_lives
+ 
+ Note: This changes object from White to Grey/Black in Parrot
+ 
+ 
+ == Reclaiming Objects ==
+ 
+ Harmony: vm_reclaim_native_objs
+ 
+ Parrot: Parrot_dod_clear_live_bits
+ 
+ 
+ == Sweeping Objects ==
+ 
+ Harmony: Called internally within the GC
+ 
+ Parrot: Parrot_dod_sweep
+ 
+ Note: I'm not sure whether Parrot will demand better control over separate Mark/Sweep processes.
+ 

Mime
View raw message