From 1de0f5c219d31a0aa5a5ee0c1cae989253b19a8a Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 19 Feb 2015 10:54:31 -0800 Subject: ART: Make error messages for StackOverflow WARNINGs Log error messages as LOG(WARNING). We'll throw either a (partial) StackOverflow or OutOfMemoryError anyways. Bug: 18713034 Change-Id: If51c0d6745b02f5ecb98b1387f8bde1e2e57e0c0 --- runtime/entrypoints/entrypoint_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/entrypoints/entrypoint_utils.cc') diff --git a/runtime/entrypoints/entrypoint_utils.cc b/runtime/entrypoints/entrypoint_utils.cc index db51264861..5ea9f708a2 100644 --- a/runtime/entrypoints/entrypoint_utils.cc +++ b/runtime/entrypoints/entrypoint_utils.cc @@ -198,7 +198,7 @@ void ThrowStackOverflowError(Thread* self) { } if (!error_msg.empty()) { - LOG(ERROR) << error_msg; + LOG(WARNING) << error_msg; CHECK(self->IsExceptionPending()); } -- cgit v1.2.3-59-g8ed1b