harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r499190 - in /harmony/enhanced/drlvm/trunk/vm: MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ gc_cc/src/ gc_gen/src/finalizer_weakref/ gc_gen/src/gen/ gc_gen/src/thread/ gc_gen/src/trace_forward/ vmcore/src/init/
Date Wed, 24 Jan 2007 00:18:31 GMT
Author: gshimansky
Date: Tue Jan 23 16:18:30 2007
New Revision: 499190

URL: http://svn.apache.org/viewvc?view=rev&rev=499190
Log:
Applied spell checking patches HARMONY-2923, HARMONY-2925, HARMONY-2927 and HARMONY-2928


Modified:
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Barriers.java
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Memory.java
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ReferenceGlue.java
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Statistics.java
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Strings.java
    harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/TraceInterface.java
    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_copy.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_slide_compact.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/init.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/selector.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.h
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/mutator_alloc.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace.h
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_alloc.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalize.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Barriers.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Barriers.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Barriers.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Barriers.java
Tue Jan 23 16:18:30 2007
@@ -30,7 +30,7 @@
    * @param target The value that the slot will be updated to
    * @param offset The offset from the ref (metaDataA)
    * @param locationMetadata An index of the FieldReference (metaDataB)
-   * @param mode The context in which the write is occuring
+   * @param mode The context in which the write is occurring
    */
   public final void performWriteInBarrier(ObjectReference ref, Address slot, 
                                            ObjectReference target, Offset offset, 
@@ -59,7 +59,7 @@
    * @param target The value that the slot will be updated to
    * @param offset The offset from the ref (metaDataA)
    * @param locationMetadata An index of the FieldReference (metaDataB)
-   * @param mode The context in which the write is occuring
+   * @param mode The context in which the write is occurring
    * @return The value that was replaced by the write.
    */
   public final ObjectReference performWriteInBarrierAtomic(

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Memory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Memory.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Memory.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Memory.java
Tue Jan 23 16:18:30 2007
@@ -104,7 +104,7 @@
     }
     public final void globalReleaseVMSpace() 
     {
-        //System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Memory.gobalReleaseVMSpace()
needs fixing");
+        //System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Memory.globalReleaseVMSpace()
needs fixing");
     }
     public final void setHeapRange(int id, Address start, Address end) 
     {

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
Tue Jan 23 16:18:30 2007
@@ -131,7 +131,7 @@
   }
 
   /**
-   * Return the reference that an object will be refered to after it is copied
+   * Return the reference that an object will be referred to after it is copied
    * to the specified region. Used in delayed-copy collectors such as compacting
    * collectors.
    *
@@ -148,7 +148,7 @@
   /**
    * Gets a pointer to the address just past the end of the object.
    * 
-   * @param object The objecty.
+   * @param object The object.
    */
   public Address getObjectEndAddress(ObjectReference object) {
     //System.out.println("wjw org.apache.HarmonyDRLVM.mm.mmtk.ObjectModel.getObjectEndAddress()
was called");
@@ -389,7 +389,7 @@
   }
 
   /**
-   * Returns an address guaranteed to be inside the storage assocatied
+   * Returns an address guaranteed to be inside the storage associated
    * with and object.
    *
    * @param object the reference address of the object

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ReferenceGlue.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ReferenceGlue.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ReferenceGlue.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ReferenceGlue.java
Tue Jan 23 16:18:30 2007
@@ -73,7 +73,7 @@
 
     /***********************************************************************
      * 
-     * Reference object field accesors
+     * Reference object field accessors
      */
 
     /**

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Statistics.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Statistics.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Statistics.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Statistics.java
Tue Jan 23 16:18:30 2007
@@ -24,9 +24,9 @@
 
 public final class Statistics extends org.mmtk.vm.Statistics implements Constants, Uninterruptible
{
   /**
-   * Returns the number of collections that have occured.
+   * Returns the number of collections that have occurred.
    *
-   * @return The number of collections that have occured.
+   * @return The number of collections that have occurred.
    */
   public final int getCollectionCount()
     throws UninterruptiblePragma {

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Strings.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Strings.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Strings.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Strings.java
Tue Jan 23 16:18:30 2007
@@ -64,7 +64,7 @@
    *
    * @param src the source string
    * @param dst the destination array
-   * @param dstBegin the start offset in the desination array
+   * @param dstBegin the start offset in the destination array
    * @param dstEnd the index after the last character in the
    * destination to copy to
    * @return the number of characters copied.

Modified: harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/TraceInterface.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/TraceInterface.java?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/TraceInterface.java
(original)
+++ harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/TraceInterface.java
Tue Jan 23 16:18:30 2007
@@ -83,7 +83,7 @@
 
   /**
    * This skips over the frames added by the tracing algorithm, outputs 
-   * information identifying the method the containts the "new" call triggering
+   * information identifying the method the contains the "new" call triggering
    * the allocation, and returns the address of the first non-trace, non-alloc
    * stack frame.
    *

Modified: harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect.cpp Tue Jan 23 16:18:30 2007
@@ -252,7 +252,7 @@
 
         // object not marked
         referent.write(heap_null);
-        TRACE2("gc.ref", "process_special_references: reference enquequed");
+        TRACE2("gc.ref", "process_special_references: reference enqueued");
         vm_enqueue_reference((Managed_Object_Handle)ref);
     }
     array.clear();

Modified: harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_copy.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_copy.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_copy.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_copy.cpp Tue Jan 23 16:18:30 2007
@@ -152,7 +152,7 @@
     unsigned vt = obj->vt();
 
     if (info & phase) {
-        // object already marked, need to check if it is forwared still
+        // object already marked, need to check if it is forwarded still
         
         if (vt & FORWARDING_BIT) {
             Partial_Reveal_Object *newpos = fw_to_pointer(vt & ~FORWARDING_BIT);
@@ -208,7 +208,7 @@
                         + ((obj->obj_info() & HASHCODE_IS_ALLOCATED_BIT) ? GC_OBJECT_ALIGNMENT
: 0));
                 TRACE2("gc.pin", "add failed pinned area = " << pos << " " <<
pinned_areas_unsorted.back());
                 TRACE2("gc.pin", "failed object = " << pos);
-                // arange transition to slide compaction
+                // arrange transition to slide compaction
                 obj->obj_info() &= ~MARK_BITS;
                 slots.push_back(slot);
                 transition_copy_to_sliding_compaction(slots);
@@ -269,7 +269,7 @@
 }
 
 void gc_copy_add_root_set_entry(Slot root) {
-    // FIXME: check for zero here, how it reflect perfomance, should be better!
+    // FIXME: check for zero here, how it reflects performance, should be better!
     // and possibly remove check in gc_copy_process_reference
     // while added check in array handling
 

Modified: harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_slide_compact.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_slide_compact.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_slide_compact.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_cc/src/collect_slide_compact.cpp Tue Jan 23 16:18:30
2007
@@ -168,9 +168,9 @@
     }
 }
 
-// after moving some objects should be rescaned
+// after moving some objects should be rescanned
 // storing references to this object to the linked list
-// of reverers to the right of this one.
+// of reversers to the right of this one.
 // oldobj = original position of object:
 // if this object is pinned and referenced object is moved only original
 // position of this object contains valid (unchanged) information of left/right direction

Modified: harmony/enhanced/drlvm/trunk/vm/gc_cc/src/init.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_cc/src/init.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_cc/src/init.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_cc/src/init.cpp Tue Jan 23 16:18:30 2007
@@ -187,7 +187,7 @@
 #else
 static inline void *reserve_mem(size_t size) {
 #ifdef POINTER64
-    /* We have planty of address space, let's protect unaccessible part of heap
+    /* We have plenty of address space, let's protect unaccessible part of heap
      * to find some of bad pointers. */
     size_t four_gig = 4 * 1024 * (size_t) 1024 * 1024;
     size_t padding = 4 * 1024 * (size_t) 1024 * 1024;
@@ -406,5 +406,5 @@
         heap.pos_limit = heap.ceiling;
     }
     chunk_size = round_down(heap.size / (10 * num_threads),128);
-    INFO("heap shrinked to  " << mb(heap.size) << " mb");
+    INFO("heap shrank to  " << mb(heap.size) << " mb");
 }

Modified: harmony/enhanced/drlvm/trunk/vm/gc_cc/src/selector.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_cc/src/selector.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_cc/src/selector.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_cc/src/selector.cpp Tue Jan 23 16:18:30 2007
@@ -165,7 +165,7 @@
 
 bool need_compaction_next_gc() {
     if (heap.working_set_size == 0 || !gc_adaptive) {
-        TRACE2("gc.adaptive", "static Smin analisis");
+        TRACE2("gc.adaptive", "static Smin analysis");
         return heap.allocation_region_end() - heap.pos < heap.size * 0.7f;
     } else {
         float smin = Smin(heap.roots_start - heap.base - RESERVED_FOR_HEAP_NULL - heap.working_set_size,

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp Tue
Jan 23 16:18:30 2007
@@ -418,7 +418,7 @@
       *p_referent_field = NULL;
       /* Phantom status: for future use
        * if((unsigned int)p_referent & PHANTOM_REF_ENQUEUE_STATUS_MASK){
-       *   // enqueued but not explicitly cleared OR pending for enqueueing
+       *   // enqueued but not explicitly cleared OR pending for enqueuing
        *   *iter = NULL;
        * }
        * resurrect_obj_tree(collector, p_referent_field);

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.h?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.h Tue Jan 23 16:18:30 2007
@@ -50,7 +50,7 @@
 extern unsigned int max_nos_size_bytes;
 
 typedef struct GC_Gen {
-  /* <-- First couple of fields overloadded as GC */
+  /* <-- First couple of fields overloaded as GC */
   void* heap_start;
   void* heap_end;
   unsigned int reserved_heap_size;

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/mutator_alloc.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/mutator_alloc.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/mutator_alloc.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/mutator_alloc.cpp Tue Jan 23 16:18:30
2007
@@ -60,7 +60,7 @@
   if(type_has_finalizer((Partial_Reveal_VTable *)ah))
     return NULL;
   
-  /* object shoud be handled specially */
+  /* object should be handled specially */
   if ( size > GC_OBJ_SIZE_THRESHOLD ) return NULL;
  
   Allocator* allocator = (Allocator*)gc_get_tls();

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace.h?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace.h Tue Jan 23 16:18:30
2007
@@ -30,11 +30,11 @@
  */
 
 extern Boolean forward_first_half;
-/* boundary spliting fspace into forwarding part and remaining part */
+/* boundary splitting fspace into forwarding part and remaining part */
 extern void* object_forwarding_boundary; 
 
 typedef struct Fspace {
-  /* <-- first couple of fields are overloadded as Space */
+  /* <-- first couple of fields are overloaded as Space */
   void* heap_start;
   void* heap_end;
   unsigned int reserved_heap_size;

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_alloc.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_alloc.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_alloc.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_alloc.cpp Tue Jan 23 16:18:30
2007
@@ -66,7 +66,7 @@
   
 }
 
-/* FIXME:: the collection should be seperated from the alloation */
+/* FIXME:: the collection should be separated from the allocation */
 void* fspace_alloc(unsigned size, Allocator *allocator) 
 {
   void*  p_return = NULL;

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalize.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalize.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalize.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalize.cpp Tue Jan 23 16:18:30 2007
@@ -166,7 +166,7 @@
     assert(new_table);
     assert(num_objects <= capacity);
     
-    // if queue already contains objects, copyes it to new array and free memory for previous
one.
+    // if queue already contains objects, copies it to new array and frees memory for previous
one.
     if(objects) {
         memcpy(new_table, objects, num_objects * sizeof(ManagedObject *));
         STD_FREE(objects);
@@ -222,12 +222,12 @@
 int Object_Queue::getLength() {
    unsigned result;
    
-   // synchronization used there to avoid of retur very old value
+   // synchronization used there to avoid of return very old value
    objects_lock._lock();
    result = this->num_objects;
    objects_lock._unlock();
    
-   // there unfresh value can be returned, but this value was correct after fgunction start

+   // there unfresh value can be returned, but this value was correct after function start

    return result;
 }
 
@@ -236,7 +236,7 @@
  */
 void Object_Queue::enumerate_for_gc()
 {
-    // locks here because some native code can work during gc untill tmn_suspend_disable()
call
+    // locks here because some native code can work during gc until tmn_suspend_disable()
call
     objects_lock._lock();
 
     // print trace info about queue enlarge

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp Tue Jan 23 16:18:30
2007
@@ -249,7 +249,7 @@
         "    vm.other_natives_dlls:\n"
         "            A \'" PORT_PATH_SEPARATOR_STR "\'-delimited list of dlls contained native
methods implementations to load at startup.\n"
         "    vm.components.<component>.classpath:\n" 
-        "            Part of a <component>'s classpath to append to the JDK booclasspath\n"
+        "            Part of a <component>'s classpath to append to the JDK bootclasspath\n"
         "    vm.components.<component>.startupclass:\n"
         "            A <component> class to be initialized during startup\n");
 

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp Tue Jan 23 16:18:30 2007
@@ -489,10 +489,10 @@
  * Creates new j.l.Thread object
  *
  * @param[out] thread_object pointer to created thread object
- * @param[in] jni_env JNI environment assocciated with the current thread
+ * @param[in] jni_env JNI environment associated with the current thread
  * @param[in] group thread group where new thread should be placed in
  * @param[in] name thread's name
- * @param[in] daemon JNI_TRUE if new thread is a daemon, JNI_FALSE overwise
+ * @param[in] daemon JNI_TRUE if new thread is a daemon, JNI_FALSE otherwise
  */
 static jint vm_create_jthread(jthread * thread_object, JNIEnv * jni_env, jobject group, char
* name, jboolean daemon) {
     static Method * constructor = NULL;
@@ -562,7 +562,7 @@
  * @param[in] java_vm VM to attach thread to
  * @param[in] group thread group for attaching thread
  * @param[in] name thread name
- * @param[in] daemon JNI_TRUE if thread is daemon, JNI_FALSE overwise
+ * @param[in] daemon JNI_TRUE if thread is daemon, JNI_FALSE otherwise
  * @return JNI_OK on success.
  */
 jint vm_attach_internal(JNIEnv ** p_jni_env, jthread * java_thread, JavaVM * java_vm, jobject
group, char * name, jboolean daemon) {
@@ -627,7 +627,7 @@
 
     status = CmAcquire(&vm_env->cm);
     if (status != JNI_OK) {
-        WARN("Faild to initialize a \"Component Manager\".");
+        WARN("Failed to initialize a \"Component Manager\".");
         return status; 
     }
 
@@ -845,7 +845,7 @@
         WARN("Failed to initialize system class loader.");
         if(exn_raised()) {
             print_uncaught_exception_message(stderr,
-                "system class loader initialisation", exn_get());
+                "system class loader initialization", exn_get());
         }
         return status;
     }

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp Tue Jan 23 16:18:30
2007
@@ -272,7 +272,7 @@
 
 /*
  * 2. Check whether there is a command line option, say, 
- *    -Properties-file "d:\xyz\eee\vm.Properties" or -Droperties key=value, 
+ *    -Properties-file "d:\xyz\eee\vm.properties" or -Dproperties key=value, 
  *    read the Properties, if key is duplicated, override the value. 
  */
     char *src, *tok;

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp?view=diff&rev=499190&r1=499189&r2=499190
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp Tue Jan 23 16:18:30 2007
@@ -220,7 +220,7 @@
     uncaught_exception = jni_env->ExceptionOccurred();
     jni_env->ExceptionClear();
 
-    // Execute pinding shutdown hooks & finalizers
+    // Execute pending shutdown hooks & finalizers
     status = exec_shutdown_sequence(jni_env);
     if (status != JNI_OK) return status;
 
@@ -243,9 +243,9 @@
     java_vm->vm_env->TI->Shutdown(java_vm);
 
     // Block thread creation.
-    // TODO: investigate how to achive that with ThreadManager
+    // TODO: investigate how to achieve that with ThreadManager
 
-    // Starting this moment any exception occured in java thread will cause
+    // Starting this moment any exception occurred in java thread will cause
     // entire java stack unwinding to the most recent native frame.
     // JNI is not available as well.
     assert(java_vm->vm_env->vm_state == Global_Env::VM_RUNNING);
@@ -326,7 +326,7 @@
 }
 
 /**
- * Current process recieved an interruption signal (Ctrl+C pressed).
+ * Current process received an interruption signal (Ctrl+C pressed).
  * Shutdown all running VMs and terminate the process.
  */
 void vm_interrupt_handler(int UNREF x) {
@@ -357,7 +357,7 @@
         hythread_create((threadBuf + i), 0, HYTHREAD_PRIORITY_NORMAL, 0, vm_interrupt_entry_point,
(void *)vmBuf[i]);
     }
 
-    // spawn a new thread which will terminate the proccess.
+    // spawn a new thread which will terminate the process.
     hythread_create(NULL, 0, HYTHREAD_PRIORITY_NORMAL, 0, vm_interrupt_process, (void *)threadBuf);
 
 cleanup:
@@ -365,8 +365,8 @@
 }
 
 /**
- * Current process recieved an ??? signal (Ctrl+Break pressed).
- * Prints java stack traces for each VM running in the current procces.
+ * Current process received an ??? signal (Ctrl+Break pressed).
+ * Prints java stack traces for each VM running in the current process.
  */
 void vm_dump_handler(int UNREF x) {
     JavaVM ** vmBuf;



Mime
View raw message