summaryrefslogtreecommitdiffstats
path: root/vm/Init.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/Init.c')
-rw-r--r--vm/Init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/Init.c b/vm/Init.c
index f1afa85ec..a8cf258b3 100644
--- a/vm/Init.c
+++ b/vm/Init.c
@@ -1314,6 +1314,9 @@ int dvmStartup(int argc, const char* const argv[], bool ignoreUnrecognized,
if (!dvmDebuggerStartup())
goto fail;
+ if (!dvmGcStartupClasses())
+ goto fail;
+
/*
* Init for either zygote mode or non-zygote mode. The key difference
* is that we don't start any additional threads in Zygote mode.