You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ar...@apache.org on 2005/11/23 18:56:13 UTC

svn commit: r348504 - /incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/support.c

Author: archie
Date: Wed Nov 23 09:56:09 2005
New Revision: 348504

URL: http://svn.apache.org/viewcvs?rev=348504&view=rev
Log:
Fix bug with tools: the phoney VM structure mutex wasn't being initialized.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/support.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/support.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/support.c?rev=348504&r1=348503&r2=348504&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/support.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/tools/cfdump/support.c Wed Nov 23 09:56:09 2005
@@ -15,7 +15,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  *
- * $Id: support.c,v 1.4 2005/03/12 04:24:54 archiecobbs Exp $
+ * $Id$
  */
 
 #include "cfdump.h"
@@ -158,6 +158,7 @@
 _jc_support_init()
 {
 	_jc_mutex_init(&phoney_env, &phoney_loader.mutex);
+	_jc_mutex_init(&phoney_env, &phoney_jvm.mutex);
 	_jc_uni_alloc_init(&phoney_loader.uni, 0, NULL);
 	phoney_jvm.boot.loader = &phoney_loader;
 	phoney_env.vm = &phoney_jvm;