OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63574f
)
Explicitly initialize a condition variable in the VM globals.
author
Carl Shapiro
<cshapiro@google.com>
Tue, 10 May 2011 23:42:41 +0000
(16:42 -0700)
committer
Carl Shapiro
<cshapiro@google.com>
Tue, 10 May 2011 23:42:41 +0000
(16:42 -0700)
Change-Id: I3192d957ebace59a3b8f8330591f05d403280d1f
vm/alloc/Alloc.cpp
patch
|
blob
|
history
diff --git
a/vm/alloc/Alloc.cpp
b/vm/alloc/Alloc.cpp
index
0fe22ea
..
45ed53f
100644
(file)
--- a/
vm/alloc/Alloc.cpp
+++ b/
vm/alloc/Alloc.cpp
@@
-30,7
+30,7
@@
bool dvmGcStartup()
{
dvmInitMutex(&gDvm.gcHeapLock);
-
+ pthread_cond_init(&gDvm.gcHeapCond, NULL);
return dvmHeapStartup();
}