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 Sun, 06 Apr 2008 15:06:39 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

------------------------------------------------------------------------------
  || Copying/Compacting || Yes || Only for Buffers ||
  
  = Comparison of Methods =
+ 
  
  == Acquiring/Releasing locks ==
  
@@ -20, +21 @@

   1. Parrot_is_blocked_GC is defined in dod.h but never used anywhere.
   1. Parrot_xx_DOD methods are deprecated
  
+ 
  == Handling Write Barriers ==
  
  TBD
+ 
  
  == Marking Objects as Live ==
  
@@ -32, +35 @@

  
  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 ==
  
@@ -46, +51 @@

  
  Note: We might not need to address buffers at all.
  
+ 
  == Sweeping Objects ==
  
  Harmony: Called internally within the GC
@@ -53, +59 @@

  Parrot: Parrot_dod_sweep
  
  Note: I'm not sure whether Parrot will demand better control over separate Mark/Sweep processes.
+ 
  
  == Invoking the GC ==
  
@@ -62, +69 @@

  
  Note: GC invocation in Harmony is internal
  
+ 
  == Initializing the GC ==
  
  Harmony: gc_init, gc_vm_initialized
@@ -70, +78 @@

  
  Note: Each GC type has an own init
  
+ 
+ == Copy-on-Write (COW) ==
+ 
+ Harmony: unsupported
+ 
+ Parrot: clear_cow, used_cow
+ 
+ Note: Parrot might require a layer above Harmony GC to handle these.
+ 
+ 
+ == Allocations ==
+ 
+ Harmony: gc_alloc, gc_alloc_fast, gc_alloc_pinned
+ 
+ Parrot: handled by Arenas.
+ 
+ Note: This requires some wrapping I believe.
+ 

Mime
View raw message