Index: vm_properties.cpp =================================================================== --- vm_properties.cpp (revision 490511) +++ vm_properties.cpp (working copy) @@ -245,7 +245,7 @@ * vm.boot.library.path initialization, the value is the location of VM executable * * 2006-09-06 gmj : there's no reason to ever believe this is true given how the VM can be - * launched in a mariad of ways, so just set to empty string. + * launched in a married of ways, so just set to empty string. */ properties.set("vm.boot.library.path", ""); @@ -275,7 +275,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 -Properties key=value, * read the Properties, if key is duplicated, override the value. */ char *src, *tok; Index: parse_arguments.cpp =================================================================== --- parse_arguments.cpp (revision 490511) +++ parse_arguments.cpp (working copy) @@ -247,7 +247,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..classpath:\n" - " Part of a 's classpath to append to the JDK booclasspath\n" + " Part of a 's classpath to append to the JDK bootclasspath\n" " vm.components..startupclass:\n" " A class to be initialized during startup\n"); Index: finalize.cpp =================================================================== --- finalize.cpp (revision 490511) +++ finalize.cpp (working copy) @@ -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 free 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 Index: vm_init.cpp =================================================================== --- vm_init.cpp (revision 490511) +++ vm_init.cpp (working copy) @@ -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; } Index: vm_shutdown.cpp =================================================================== --- vm_shutdown.cpp (revision 490511) +++ vm_shutdown.cpp (working copy) @@ -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;