Skip to content

Commit bfa1063

Browse files
captain5050Android (Google) Code Review
authored andcommitted
Merge "Fix target utilization property_get." into jb-mr1-dev
2 parents 2b77c10 + e983008 commit bfa1063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/AndroidRuntime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
574574

575575
strcpy(heaptargetutilizationOptsBuf, "-XX:HeapTargetUtilization=");
576576
property_get("dalvik.vm.heaptargetutilization", heaptargetutilizationOptsBuf+26, "");
577-
if (heapmaxfreeOptsBuf[26] != '\0') {
577+
if (heaptargetutilizationOptsBuf[26] != '\0') {
578578
opt.optionString = heaptargetutilizationOptsBuf;
579579
mOptions.add(opt);
580580
}

0 commit comments

Comments
 (0)